#37167E#37167E
#37167E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.159 H 288.6°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #37167E |
|---|---|
| RGB | rgb(55, 22, 126) |
| HSL | hsl(259, 70%, 29%) |
| HSV | hsv(259, 83%, 49%) |
| CMYK | cmyk(56.3%, 82.5%, 0%, 50.6%) |
| CIE-LAB | lab(19.61, 41.40, -52.29) |
| CIE-LCH | lch(19.61, 66.70, 308.37°) |
| OKLab | oklab(32.58% 0.0506 -0.1505) |
| OKLCH | oklch(32.58% 0.159 288.6) |
| XYZ | xyz(5.6272, 2.8921, 19.9963) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.76
Indigo
#4B0082
ΔE00 4.20
Midnight Blue
#191970
ΔE00 4.84
Royal
#0C1793
ΔE00 5.19
Darkblue
#00008B
ΔE00 5.78
Navy
#000080
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37167E #5D7E16
analogous
#16297E #37167E #6B167E
triadic
#37167E #7E3716 #167E37
tetradic
#37167E #7E1629 #5D7E16 #167E6B
square
#37167E #7E1629 #5D7E16 #167E6B
split-complementary
#37167E #7E6B16 #297E16
monochromatic
#0B051A #200D4A #37167E #4E1FB2 #6833DB
Accessibility & contrast
On white
13.30
#37167E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#37167E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37167E
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37167E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37167E | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#1A354A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #37167e; /* rgb */ color: rgb(55, 22, 126); /* oklch */ color: oklch(32.6% 0.159 288.6);
Tailwind
colors: {
custom: {
50: '#7758a4',
500: '#37167e',
950: '#000000',
},
}SCSS
$custom: #37167e; $custom-light: #7758a4; $custom-dark: #000000;
JSON
{
"hex": "#37167e",
"rgb": {
"r": 55,
"g": 22,
"b": 126
},
"hsl": {
"h": 259.038,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.32582,
"c": 0.15875,
"h": 288.6
},
"luminance": 0.02892
}Semantic roles & 50–950 ramp
primary
#37167E
secondary
#8DB33D
accent
#ED3BB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F