#37127E#37127E
#37127E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.162 H 289.2°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).
Color values
| HEX | #37127E |
|---|---|
| RGB | rgb(55, 18, 126) |
| HSL | hsl(261, 75%, 28%) |
| HSV | hsv(261, 86%, 49%) |
| CMYK | cmyk(56.3%, 85.7%, 0%, 50.6%) |
| CIE-LAB | lab(19.02, 43.12, -53.26) |
| CIE-LCH | lch(19.02, 68.53, 308.99°) |
| OKLab | oklab(32.17% 0.0532 -0.1532) |
| OKLCH | oklch(32.17% 0.162 289.2) |
| XYZ | xyz(5.5566, 2.7509, 19.9728) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.07
Indigo
#4B0082
ΔE00 3.78
Midnight Blue
#191970
ΔE00 5.13
Royal
#0C1793
ΔE00 5.28
Darkblue
#00008B
ΔE00 5.43
Navy
#000080
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37127E #597E12
analogous
#12237E #37127E #6D127E
triadic
#37127E #7E3712 #127E37
tetradic
#37127E #7E1223 #597E12 #127E6D
square
#37127E #7E1223 #597E12 #127E6D
split-complementary
#37127E #7E6D12 #237E12
monochromatic
#0C041B #200A48 #37127E #4E1AB4 #682AE1
Accessibility & contrast
On white
13.55
#37127E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#37127E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37127E
13.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37127E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37127E | 1.00 | 13.55 | 1.55 | 13.55 |
| #FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#1A334A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #37127e; /* rgb */ color: rgb(55, 18, 126); /* oklch */ color: oklch(32.2% 0.162 289.2);
Tailwind
colors: {
custom: {
50: '#7756a4',
500: '#37127e',
950: '#000000',
},
}SCSS
$custom: #37127e; $custom-light: #7756a4; $custom-dark: #000000;
JSON
{
"hex": "#37127e",
"rgb": {
"r": 55,
"g": 18,
"b": 126
},
"hsl": {
"h": 260.556,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.32175,
"c": 0.16223,
"h": 289.2
},
"luminance": 0.02751
}Semantic roles & 50–950 ramp
primary
#37127E
secondary
#89B438
accent
#F236B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F