#37137E#37137E
#37137E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.161 H 289.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).
Color values
| HEX | #37137E |
|---|---|
| RGB | rgb(55, 19, 126) |
| HSL | hsl(260, 74%, 28%) |
| HSV | hsv(260, 85%, 49%) |
| CMYK | cmyk(56.3%, 84.9%, 0%, 50.6%) |
| CIE-LAB | lab(19.16, 42.71, -53.03) |
| CIE-LCH | lch(19.16, 68.09, 308.85°) |
| OKLab | oklab(32.27% 0.0526 -0.1526) |
| OKLCH | oklch(32.27% 0.161 289) |
| XYZ | xyz(5.5732, 2.7841, 19.9783) |
| Luminance | 0.0278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.24
Indigo
#4B0082
ΔE00 3.87
Midnight Blue
#191970
ΔE00 5.06
Royal
#0C1793
ΔE00 5.25
Darkblue
#00008B
ΔE00 5.51
Navy
#000080
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37137E #5A7E13
analogous
#13247E #37137E #6C137E
triadic
#37137E #7E3713 #137E37
tetradic
#37137E #7E1324 #5A7E13 #137E6C
square
#37137E #7E1324 #5A7E13 #137E6C
split-complementary
#37137E #7E6C13 #247E13
monochromatic
#0C041B #200B49 #37137E #4E1BB3 #682CDF
Accessibility & contrast
On white
13.49
#37137E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#37137E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37137E
13.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37137E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37137E | 1.00 | 13.49 | 1.56 | 13.49 |
| #FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003181
Deuteranopia (green-blind)
#002C7C
Tritanopia (blue-blind)
#1A344A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #37137e; /* rgb */ color: rgb(55, 19, 126); /* oklch */ color: oklch(32.3% 0.161 289.0);
Tailwind
colors: {
custom: {
50: '#7757a4',
500: '#37137e',
950: '#000000',
},
}SCSS
$custom: #37137e; $custom-light: #7757a4; $custom-dark: #000000;
JSON
{
"hex": "#37137e",
"rgb": {
"r": 55,
"g": 19,
"b": 126
},
"hsl": {
"h": 260.187,
"s": 73.793,
"l": 28.431
},
"oklch": {
"l": 0.32272,
"c": 0.1614,
"h": 289
},
"luminance": 0.02784
}Semantic roles & 50–950 ramp
primary
#37137E
secondary
#8AB439
accent
#F037B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F