# #331B81

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

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 | `#331B81` |
| RGB | `rgb(51, 27, 129)` |
| HSL | `hsl(254, 65%, 31%)` |
| OKLCH | `oklch(33.1% 0.158 284.5)` |
| CMYK | `cmyk(60%, 79%, 0%, 49%)` |
| HWB | `hwb(254 11% 49%)` |

## WCAG 2.1 Accessibility

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

## Harmonies

- **Complementary:** #331b81, #69811b
- **Analogous:** #1b3681, #331b81, #661b81
- **Triadic:** #331b81, #81331b, #1b8133
- **Split Complementary:** #331b81, #81661b, #36811b

## Nearest Pantone Matches

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

## Tailwind CSS Scale (50–950)

- `50`: `#ffffff`
- `100`: `#ede8f4`
- `200`: `#dbd2e8`
- `300`: `#c8bcdd`
- `400`: `#b6a6d1`
- `500`: `#a491c6`
- `600`: `#927cba`
- `700`: `#8068af`
- `800`: `#6e54a3`
- `900`: `#5c4198`
- `950`: `#482e8c`

