#37157E#37157E
#37157E is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.160 H 288.7°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).
Color values
| HEX | #37157E |
|---|---|
| RGB | rgb(55, 21, 126) |
| HSL | hsl(259, 71%, 29%) |
| HSV | hsv(259, 83%, 49%) |
| CMYK | cmyk(56.3%, 83.3%, 0%, 50.6%) |
| CIE-LAB | lab(19.45, 41.85, -52.55) |
| CIE-LCH | lch(19.45, 67.17, 308.53°) |
| OKLab | oklab(32.48% 0.0513 -0.1512) |
| OKLCH | oklch(32.48% 0.16 288.7) |
| XYZ | xyz(5.6085, 2.8546, 19.9901) |
| Luminance | 0.0285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.58
Indigo
#4B0082
ΔE00 4.08
Midnight Blue
#191970
ΔE00 4.91
Royal
#0C1793
ΔE00 5.20
Darkblue
#00008B
ΔE00 5.68
Navy
#000080
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37157E #5C7E15
analogous
#15277E #37157E #6C157E
triadic
#37157E #7E3715 #157E37
tetradic
#37157E #7E1527 #5C7E15 #157E6C
square
#37157E #7E1527 #5C7E15 #157E6C
split-complementary
#37157E #7E6C15 #277E15
monochromatic
#0B041A #200C4A #37157E #4E1EB2 #6831DD
Accessibility & contrast
On white
13.37
#37157E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#37157E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37157E
13.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37157E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37157E | 1.00 | 13.37 | 1.57 | 13.37 |
| #FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#1A344A
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #37157e; /* rgb */ color: rgb(55, 21, 126); /* oklch */ color: oklch(32.5% 0.160 288.7);
Tailwind
colors: {
custom: {
50: '#7758a4',
500: '#37157e',
950: '#000000',
},
}SCSS
$custom: #37157e; $custom-light: #7758a4; $custom-dark: #000000;
JSON
{
"hex": "#37157e",
"rgb": {
"r": 55,
"g": 21,
"b": 126
},
"hsl": {
"h": 259.429,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.32475,
"c": 0.15966,
"h": 288.7
},
"luminance": 0.02855
}Semantic roles & 50–950 ramp
primary
#37157E
secondary
#8CB33C
accent
#EE3AB4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F