#371E6B#371E6B
#371E6B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.126 H 292.6°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).
Color values
| HEX | #371E6B |
|---|---|
| RGB | rgb(55, 30, 107) |
| HSL | hsl(259, 56%, 27%) |
| HSV | hsv(259, 72%, 42%) |
| CMYK | cmyk(48.6%, 72%, 0%, 58%) |
| CIE-LAB | lab(19.23, 31.56, -40.68) |
| CIE-LCH | lch(19.23, 51.49, 307.81°) |
| OKLab | oklab(31.76% 0.0486 -0.1165) |
| OKLCH | oklch(31.76% 0.126 292.6) |
| XYZ | xyz(4.6929, 2.8022, 14.2007) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 4.97
Dark Indigo
#1F0954
ΔE00 6.05
Indigo (survey)
#380282
ΔE00 6.36
Royal Purple (survey)
#4B006E
ΔE00 6.41
Indigo
#4B0082
ΔE00 6.79
Darkblue (survey)
#030764
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371E6B #526B1E
analogous
#1E2B6B #371E6B #5E1E6B
triadic
#371E6B #6B371E #1E6B37
tetradic
#371E6B #6B1E2B #526B1E #1E6B5E
square
#371E6B #6B1E2B #526B1E #1E6B5E
split-complementary
#371E6B #6B5E1E #2B6B1E
monochromatic
#0C0718 #1E113B #371E6B #502B9B #693BC8
Accessibility & contrast
On white
13.46
#371E6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#371E6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371E6B
13.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371E6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371E6B | 1.00 | 13.46 | 1.56 | 13.46 |
| #FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#273142
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #371e6b; /* rgb */ color: rgb(55, 30, 107); /* oklch */ color: oklch(31.8% 0.126 292.6);
Tailwind
colors: {
custom: {
50: '#735c96',
500: '#371e6b',
950: '#000000',
},
}SCSS
$custom: #371e6b; $custom-light: #735c96; $custom-dark: #000000;
JSON
{
"hex": "#371e6b",
"rgb": {
"r": 55,
"g": 30,
"b": 107
},
"hsl": {
"h": 259.481,
"s": 56.204,
"l": 26.863
},
"oklch": {
"l": 0.31755,
"c": 0.12621,
"h": 292.6
},
"luminance": 0.02802
}Semantic roles & 50–950 ramp
primary
#371E6B
secondary
#829F45
accent
#DF48AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E