#37187F#37187F
#37187F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.158 H 288.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #37187F |
|---|---|
| RGB | rgb(55, 24, 127) |
| HSL | hsl(258, 68%, 30%) |
| HSV | hsv(258, 81%, 50%) |
| CMYK | cmyk(56.7%, 81.1%, 0%, 50.2%) |
| CIE-LAB | lab(20.03, 40.76, -52.22) |
| CIE-LCH | lch(20.03, 66.24, 307.97°) |
| OKLab | oklab(32.91% 0.0489 -0.1503) |
| OKLCH | oklch(32.91% 0.158 288) |
| XYZ | xyz(5.7318, 2.9975, 20.3511) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.10
Indigo
#4B0082
ΔE00 4.45
Midnight Blue
#191970
ΔE00 4.77
Royal
#0C1793
ΔE00 5.06
Darkblue
#00008B
ΔE00 5.92
Navy
#000080
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37187F #607F18
analogous
#182D7F #37187F #6B187F
triadic
#37187F #7F3718 #187F37
tetradic
#37187F #7F182D #607F18 #187F6B
square
#37187F #7F182D #607F18 #187F6B
split-complementary
#37187F #7F6B18 #2D7F18
monochromatic
#0B051A #210E4C #37187F #4D22B2 #6938D9
Accessibility & contrast
On white
13.13
#37187F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#37187F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37187F
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37187F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37187F | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#18364B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #37187f; /* rgb */ color: rgb(55, 24, 127); /* oklch */ color: oklch(32.9% 0.158 288.0);
Tailwind
colors: {
custom: {
50: '#7759a5',
500: '#37187f',
950: '#000000',
},
}SCSS
$custom: #37187f; $custom-light: #7759a5; $custom-dark: #000000;
JSON
{
"hex": "#37187f",
"rgb": {
"r": 55,
"g": 24,
"b": 127
},
"hsl": {
"h": 258.058,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.3291,
"c": 0.15802,
"h": 288
},
"luminance": 0.02998
}Semantic roles & 50–950 ramp
primary
#37187F
secondary
#90B33F
accent
#EB3DB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F