# #331F76

> Source: [https://colors.to/331f76](https://colors.to/331f76)

A medium-dark, rich shade of indigo. This cool color works well for professional interfaces and tech products.

Also known as: **Midnight**

## Color Values

| Format | Value |
|---|---|
| HEX | `#331F76` |
| RGB | `rgb(51, 31, 118)` |
| HSL | `hsl(254, 58%, 29%)` |
| OKLCH | `oklch(32.5% 0.139 286.3)` |
| CMYK | `cmyk(57%, 74%, 0%, 54%)` |
| HWB | `hwb(254 12% 54%)` |

## WCAG 2.1 Accessibility

- **Recommended text color:** White (`#ffffff`)
- **White text contrast:** 13.13:1 (AA Normal: Pass, AAA: Pass)
- **Black text contrast:** 1.59:1 (AA Normal: Fail, AAA: Fail)

## Harmonies

- **Complementary:** #331f76, #62761f
- **Analogous:** #1f3676, #331f76, #5f1f76
- **Triadic:** #331f76, #76331f, #1f7633
- **Split Complementary:** #331f76, #765f1f, #36761f

## Nearest Pantone Matches

- **Violet C** (#440099, 89% match)
- **Reflex Blue C** (#001489, 87% match)
- **Blue 072 C** (#10069F, 87% match)

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ece8f2`
- `200`: `#dad2e6`
- `300`: `#c7bdd9`
- `400`: `#b5a7cc`
- `500`: `#a292c0`
- `600`: `#907eb4`
- `700`: `#7e6aa7`
- `800`: `#6c569b`
- `900`: `#5a448e`
- `950`: `#473182`

