#37168E#37168E
#37168E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.177 H 284.7°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #37168E |
|---|---|
| RGB | rgb(55, 22, 142) |
| HSL | hsl(257, 73%, 32%) |
| HSV | hsv(257, 85%, 56%) |
| CMYK | cmyk(61.3%, 84.5%, 0%, 44.3%) |
| CIE-LAB | lab(21.35, 45.99, -59.48) |
| CIE-LCH | lch(21.35, 75.19, 307.71°) |
| OKLab | oklab(34.31% 0.0449 -0.1714) |
| OKLCH | oklch(34.31% 0.177 284.7) |
| XYZ | xyz(6.7434, 3.3386, 25.8750) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.19
Royal
#0C1793
ΔE00 3.88
Indigo
#4B0082
ΔE00 4.69
Cobalt Blue
#030AA7
ΔE00 4.82
Indigo Blue
#3A18B1
ΔE00 4.91
Royal Blue (survey)
#0504AA
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37168E #6D8E16
analogous
#16318E #37168E #73168E
triadic
#37168E #8E3716 #168E37
tetradic
#37168E #8E1631 #6D8E16 #168E73
square
#37168E #8E1631 #6D8E16 #168E73
split-complementary
#37168E #8E7316 #318E16
monochromatic
#0E0624 #220E59 #37168E #4C1EC3 #6A3DE1
Accessibility & contrast
On white
12.59
#37168E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#37168E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37168E
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37168E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37168E | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003691
Deuteranopia (green-blind)
#002F8C
Tritanopia (blue-blind)
#003B54
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #37168e; /* rgb */ color: rgb(55, 22, 142); /* oklch */ color: oklch(34.3% 0.177 284.7);
Tailwind
colors: {
custom: {
50: '#7a59b0',
500: '#37168e',
950: '#000000',
},
}SCSS
$custom: #37168e; $custom-light: #7a59b0; $custom-dark: #000000;
JSON
{
"hex": "#37168e",
"rgb": {
"r": 55,
"g": 22,
"b": 142
},
"hsl": {
"h": 256.5,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.34306,
"c": 0.17722,
"h": 284.7
},
"luminance": 0.03339
}Semantic roles & 50–950 ramp
primary
#37168E
secondary
#9DC13F
accent
#F038BD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980