# #331F6D

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

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 | `#331F6D` |
| RGB | `rgb(51, 31, 109)` |
| HSL | `hsl(255, 56%, 27%)` |
| OKLCH | `oklch(31.7% 0.128 288.7)` |
| CMYK | `cmyk(53%, 72%, 0%, 57%)` |
| HWB | `hwb(255 12% 57%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #331f6d, #5a6d1f
- **Analogous:** #1f336d, #331f6d, #5a1f6d
- **Triadic:** #331f6d, #6d331f, #1f6d33
- **Split Complementary:** #331f6d, #6d5a1f, #336d1f

## 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`: `#8f7eae`
- `700`: `#7d6aa1`
- `800`: `#6b5694`
- `900`: `#584387`
- `950`: `#46317a`

