#37188E#37188E
#37188E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.176 H 284.4°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #37188E |
|---|---|
| RGB | rgb(55, 24, 142) |
| HSL | hsl(256, 71%, 33%) |
| HSV | hsv(256, 83%, 56%) |
| CMYK | cmyk(61.3%, 83.1%, 0%, 44.3%) |
| CIE-LAB | lab(21.65, 45.13, -59.00) |
| CIE-LCH | lch(21.65, 74.28, 307.42°) |
| OKLab | oklab(34.51% 0.0438 -0.17) |
| OKLCH | oklch(34.51% 0.176 284.4) |
| XYZ | xyz(6.7832, 3.4180, 25.8883) |
| Luminance | 0.0342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.49
Royal
#0C1793
ΔE00 3.86
Indigo Blue
#3A18B1
ΔE00 4.87
Indigo
#4B0082
ΔE00 4.89
Cobalt Blue
#030AA7
ΔE00 4.92
Royal Blue (survey)
#0504AA
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37188E #6F8E18
analogous
#18348E #37188E #72188E
triadic
#37188E #8E3718 #188E37
tetradic
#37188E #8E1834 #6F8E18 #188E72
square
#37188E #8E1834 #6F8E18 #188E72
split-complementary
#37188E #8E7218 #348E18
monochromatic
#0E0625 #230F5A #37188E #4B21C2 #6B41DF
Accessibility & contrast
On white
12.47
#37188E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#37188E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37188E
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37188E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37188E | 1.00 | 12.47 | 1.68 | 12.47 |
| #FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003791
Deuteranopia (green-blind)
#00308C
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #37188e; /* rgb */ color: rgb(55, 24, 142); /* oklch */ color: oklch(34.5% 0.176 284.4);
Tailwind
colors: {
custom: {
50: '#7a5ab0',
500: '#37188e',
950: '#000000',
},
}SCSS
$custom: #37188e; $custom-light: #7a5ab0; $custom-dark: #000000;
JSON
{
"hex": "#37188e",
"rgb": {
"r": 55,
"g": 24,
"b": 142
},
"hsl": {
"h": 255.763,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.34509,
"c": 0.1756,
"h": 284.4
},
"luminance": 0.03418
}Semantic roles & 50–950 ramp
primary
#37188E
secondary
#9FC042
accent
#EE3ABF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980