#37147F#37147F
#37147F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.162 H 288.6°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #37147F |
|---|---|
| RGB | rgb(55, 20, 127) |
| HSL | hsl(260, 73%, 29%) |
| HSV | hsv(260, 84%, 50%) |
| CMYK | cmyk(56.7%, 84.3%, 0%, 50.2%) |
| CIE-LAB | lab(19.41, 42.57, -53.25) |
| CIE-LCH | lch(19.41, 68.17, 308.64°) |
| OKLab | oklab(32.48% 0.0516 -0.1532) |
| OKLCH | oklch(32.48% 0.162 288.6) |
| XYZ | xyz(5.6553, 2.8446, 20.3256) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.36
Indigo
#4B0082
ΔE00 3.97
Midnight Blue
#191970
ΔE00 5.03
Royal
#0C1793
ΔE00 5.11
Darkblue
#00008B
ΔE00 5.52
Navy
#000080
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37147F #5C7F14
analogous
#14277F #37147F #6D147F
triadic
#37147F #7F3714 #147F37
tetradic
#37147F #7F1427 #5C7F14 #147F6D
square
#37147F #7F1427 #5C7F14 #147F6D
split-complementary
#37147F #7F6D14 #277F14
monochromatic
#0B041A #200C4A #37147F #4E1CB4 #682FDE
Accessibility & contrast
On white
13.38
#37147F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#37147F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37147F
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37147F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37147F | 1.00 | 13.38 | 1.57 | 13.38 |
| #FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#19344B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #37147f; /* rgb */ color: rgb(55, 20, 127); /* oklch */ color: oklch(32.5% 0.162 288.6);
Tailwind
colors: {
custom: {
50: '#7757a5',
500: '#37147f',
950: '#000000',
},
}SCSS
$custom: #37147f; $custom-light: #7757a5; $custom-dark: #000000;
JSON
{
"hex": "#37147f",
"rgb": {
"r": 55,
"g": 20,
"b": 127
},
"hsl": {
"h": 259.626,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.32478,
"c": 0.16169,
"h": 288.6
},
"luminance": 0.02845
}Semantic roles & 50–950 ramp
primary
#37147F
secondary
#8CB43B
accent
#EF38B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F