# #331E6D

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

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 | `#331E6D` |
| RGB | `rgb(51, 30, 109)` |
| HSL | `hsl(256, 57%, 27%)` |
| OKLCH | `oklch(31.5% 0.129 289.0)` |
| CMYK | `cmyk(53%, 72%, 0%, 57%)` |
| HWB | `hwb(256 12% 57%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #331e6d, #586d1e
- **Analogous:** #1e306d, #331e6d, #5b1e6d
- **Triadic:** #331e6d, #6d331e, #1e6d33
- **Split Complementary:** #331e6d, #6d5b1e, #306d1e

## 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`: `#a192bb`
- `600`: `#8f7dae`
- `700`: `#7d69a1`
- `800`: `#6b5594`
- `900`: `#594287`
- `950`: `#46307a`

