# #331D7D

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

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 | `#331D7D` |
| RGB | `rgb(51, 29, 125)` |
| HSL | `hsl(254, 62%, 30%)` |
| OKLCH | `oklch(32.9% 0.151 285.1)` |
| CMYK | `cmyk(59%, 77%, 0%, 51%)` |
| HWB | `hwb(254 11% 51%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #331d7d, #677d1d
- **Analogous:** #1d377d, #331d7d, #631d7d
- **Triadic:** #331d7d, #7d331d, #1d7d33
- **Split Complementary:** #331d7d, #7d631d, #377d1d

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ece8f3`
- `200`: `#dad2e7`
- `300`: `#c8bcdb`
- `400`: `#b6a7cf`
- `500`: `#a492c4`
- `600`: `#927db8`
- `700`: `#7f69ac`
- `800`: `#6d55a0`
- `900`: `#5b4294`
- `950`: `#483089`

