# #331F6E

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

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 | `#331F6E` |
| RGB | `rgb(51, 31, 110)` |
| HSL | `hsl(255, 56%, 28%)` |
| OKLCH | `oklch(31.8% 0.129 288.4)` |
| CMYK | `cmyk(54%, 72%, 0%, 57%)` |
| HWB | `hwb(255 12% 57%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #331f6e, #5a6e1f
- **Analogous:** #1f336e, #331f6e, #5a1f6e
- **Triadic:** #331f6e, #6e331f, #1f6e33
- **Split Complementary:** #331f6e, #6e5a1f, #336e1f

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ece8f1`
- `200`: `#d9d2e4`
- `300`: `#c6bcd6`
- `400`: `#b4a7c9`
- `500`: `#a192bc`
- `600`: `#8f7eaf`
- `700`: `#7d6aa2`
- `800`: `#6b5695`
- `900`: `#594388`
- `950`: `#46317b`

