#37167F#37167F
#37167F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.160 H 288.3°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #37167F |
|---|---|
| RGB | rgb(55, 22, 127) |
| HSL | hsl(259, 70%, 29%) |
| HSV | hsv(259, 83%, 50%) |
| CMYK | cmyk(56.7%, 82.7%, 0%, 50.2%) |
| CIE-LAB | lab(19.71, 41.69, -52.75) |
| CIE-LCH | lch(19.71, 67.23, 308.32°) |
| OKLab | oklab(32.69% 0.0503 -0.1518) |
| OKLCH | oklch(32.69% 0.16 288.3) |
| XYZ | xyz(5.6921, 2.9181, 20.3379) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.72
Indigo
#4B0082
ΔE00 4.19
Midnight Blue
#191970
ΔE00 4.89
Royal
#0C1793
ΔE00 5.07
Darkblue
#00008B
ΔE00 5.70
Navy
#000080
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37167F #5E7F16
analogous
#162A7F #37167F #6C167F
triadic
#37167F #7F3716 #167F37
tetradic
#37167F #7F162A #5E7F16 #167F6C
square
#37167F #7F162A #5E7F16 #167F6C
split-complementary
#37167F #7F6C16 #2A7F16
monochromatic
#0B051A #200D4B #37167F #4E1FB3 #6834DC
Accessibility & contrast
On white
13.26
#37167F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#37167F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37167F
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37167F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37167F | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#18354B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #37167f; /* rgb */ color: rgb(55, 22, 127); /* oklch */ color: oklch(32.7% 0.160 288.3);
Tailwind
colors: {
custom: {
50: '#7758a5',
500: '#37167f',
950: '#000000',
},
}SCSS
$custom: #37167f; $custom-light: #7758a5; $custom-dark: #000000;
JSON
{
"hex": "#37167f",
"rgb": {
"r": 55,
"g": 22,
"b": 127
},
"hsl": {
"h": 258.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.32687,
"c": 0.15991,
"h": 288.3
},
"luminance": 0.02918
}Semantic roles & 50–950 ramp
primary
#37167F
secondary
#8EB43D
accent
#ED3BB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F