#37169E#37169E
#37169E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.195 H 281.5°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).
Color values
| HEX | #37169E |
|---|---|
| RGB | rgb(55, 22, 158) |
| HSL | hsl(255, 76%, 35%) |
| HSV | hsv(255, 86%, 62%) |
| CMYK | cmyk(65.2%, 86.1%, 0%, 38%) |
| CIE-LAB | lab(23.18, 50.52, -66.33) |
| CIE-LCH | lch(23.18, 83.38, 307.30°) |
| OKLab | oklab(36.1% 0.039 -0.1914) |
| OKLCH | oklch(36.1% 0.195 281.5) |
| XYZ | xyz(8.0321, 3.8541, 32.6618) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.66
Ultramarine
#2000B1
ΔE00 3.48
Cobalt Blue
#030AA7
ΔE00 3.65
Royal Blue (survey)
#0504AA
ΔE00 3.84
Royal
#0C1793
ΔE00 4.03
Indigo (survey)
#380282
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37169E #7D9E16
analogous
#16399E #37169E #7B169E
triadic
#37169E #9E3716 #169E37
tetradic
#37169E #9E1639 #7D9E16 #169E7B
square
#37169E #9E1639 #7D9E16 #169E7B
split-complementary
#37169E #9E7B16 #399E16
monochromatic
#120733 #240F68 #37169E #4A1DD4 #6F49E6
Accessibility & contrast
On white
11.86
#37169E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#37169E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37169E
11.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37169E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37169E | 1.00 | 11.86 | 1.77 | 11.86 |
| #FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00329C
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #37169e; /* rgb */ color: rgb(55, 22, 158); /* oklch */ color: oklch(36.1% 0.195 281.5);
Tailwind
colors: {
custom: {
50: '#7d5bbc',
500: '#37169e',
950: '#000000',
},
}SCSS
$custom: #37169e; $custom-light: #7d5bbc; $custom-dark: #000000;
JSON
{
"hex": "#37169e",
"rgb": {
"r": 55,
"g": 22,
"b": 158
},
"hsl": {
"h": 254.559,
"s": 75.556,
"l": 35.294
},
"oklch": {
"l": 0.36098,
"c": 0.19529,
"h": 281.5
},
"luminance": 0.03855
}Semantic roles & 50–950 ramp
primary
#37169E
secondary
#A8C749
accent
#F236C4
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981