#37187C#37187C
#37187C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.154 H 288.8°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #37187C |
|---|---|
| RGB | rgb(55, 24, 124) |
| HSL | hsl(259, 68%, 29%) |
| HSV | hsv(259, 81%, 49%) |
| CMYK | cmyk(55.6%, 80.6%, 0%, 51.4%) |
| CIE-LAB | lab(19.72, 39.88, -50.83) |
| CIE-LCH | lch(19.72, 64.60, 308.12°) |
| OKLab | oklab(32.6% 0.0498 -0.1462) |
| OKLCH | oklch(32.6% 0.154 288.8) |
| XYZ | xyz(5.5392, 2.9205, 19.3367) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.24
Indigo
#4B0082
ΔE00 4.50
Midnight Blue
#191970
ΔE00 4.63
Royal
#0C1793
ΔE00 5.42
Royal Purple (survey)
#4B006E
ΔE00 5.94
Navy
#000080
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37187C #5D7C18
analogous
#182B7C #37187C #69187C
triadic
#37187C #7C3718 #187C37
tetradic
#37187C #7C182B #5D7C18 #187C69
square
#37187C #7C182B #5D7C18 #187C69
split-complementary
#37187C #7C6918 #2B7C18
monochromatic
#0B051A #200E49 #37187C #4E22AF #6836D8
Accessibility & contrast
On white
13.26
#37187C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#37187C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37187C
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37187C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37187C | 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)
#00327F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#1B354A
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #37187c; /* rgb */ color: rgb(55, 24, 124); /* oklch */ color: oklch(32.6% 0.154 288.8);
Tailwind
colors: {
custom: {
50: '#7759a3',
500: '#37187c',
950: '#000000',
},
}SCSS
$custom: #37187c; $custom-light: #7759a3; $custom-dark: #000000;
JSON
{
"hex": "#37187c",
"rgb": {
"r": 55,
"g": 24,
"b": 124
},
"hsl": {
"h": 258.6,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.32599,
"c": 0.15446,
"h": 288.8
},
"luminance": 0.02921
}Semantic roles & 50–950 ramp
primary
#37187C
secondary
#8DB13F
accent
#EA3DB5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F