#37117E#37117E
#37117E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.1% C 0.163 H 289.3°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #37117E |
|---|---|
| RGB | rgb(55, 17, 126) |
| HSL | hsl(261, 76%, 28%) |
| HSV | hsv(261, 87%, 49%) |
| CMYK | cmyk(56.3%, 86.5%, 0%, 50.6%) |
| CIE-LAB | lab(18.88, 43.52, -53.49) |
| CIE-LCH | lch(18.88, 68.95, 309.13°) |
| OKLab | oklab(32.08% 0.0538 -0.1539) |
| OKLCH | oklch(32.08% 0.163 289.3) |
| XYZ | xyz(5.5408, 2.7192, 19.9675) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 1.92
Indigo
#4B0082
ΔE00 3.70
Midnight Blue
#191970
ΔE00 5.21
Royal
#0C1793
ΔE00 5.31
Darkblue
#00008B
ΔE00 5.36
Navy
#000080
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37117E #587E11
analogous
#11227E #37117E #6D117E
triadic
#37117E #7E3711 #117E37
tetradic
#37117E #7E1122 #587E11 #117E6D
square
#37117E #7E1122 #587E11 #117E6D
split-complementary
#37117E #7E6D11 #227E11
monochromatic
#0C041B #1F0A48 #37117E #4F18B4 #6827E2
Accessibility & contrast
On white
13.60
#37117E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#37117E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37117E
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37117E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37117E | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#1A3349
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #37117e; /* rgb */ color: rgb(55, 17, 126); /* oklch */ color: oklch(32.1% 0.163 289.3);
Tailwind
colors: {
custom: {
50: '#7756a4',
500: '#37117e',
950: '#000000',
},
}SCSS
$custom: #37117e; $custom-light: #7756a4; $custom-dark: #000000;
JSON
{
"hex": "#37117e",
"rgb": {
"r": 55,
"g": 17,
"b": 126
},
"hsl": {
"h": 260.917,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.32082,
"c": 0.16302,
"h": 289.3
},
"luminance": 0.02719
}Semantic roles & 50–950 ramp
primary
#37117E
secondary
#88B437
accent
#F335B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F