#37166B#37166B
#37166B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.136 H 294.6°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #37166B |
|---|---|
| RGB | rgb(55, 22, 107) |
| HSL | hsl(263, 66%, 25%) |
| HSV | hsv(263, 79%, 42%) |
| CMYK | cmyk(48.6%, 79.4%, 0%, 58%) |
| CIE-LAB | lab(17.68, 35.92, -43.22) |
| CIE-LCH | lch(17.68, 56.20, 309.73°) |
| OKLab | oklab(30.65% 0.0567 -0.1239) |
| OKLCH | oklch(30.65% 0.136 294.6) |
| XYZ | xyz(4.5156, 2.4475, 14.1416) |
| Luminance | 0.0245 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.91
Royal Purple (survey)
#4B006E
ΔE00 4.92
Midnight Blue
#191970
ΔE00 5.10
Dark Indigo
#1F0954
ΔE00 5.23
Indigo
#4B0082
ΔE00 5.45
Dark Royal Blue
#02066F
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37166B #4A6B16
analogous
#16206B #37166B #61166B
triadic
#37166B #6B3716 #166B37
tetradic
#37166B #6B1620 #4A6B16 #166B61
square
#37166B #6B1620 #4A6B16 #166B61
split-complementary
#37166B #6B6116 #206B16
monochromatic
#0D0519 #1D0C38 #37166B #51209E #6B2BD1
Accessibility & contrast
On white
14.10
#37166B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#37166B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37166B
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37166B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37166B | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#282D3F
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #37166b; /* rgb */ color: rgb(55, 22, 107); /* oklch */ color: oklch(30.7% 0.136 294.6);
Tailwind
colors: {
custom: {
50: '#745796',
500: '#37166b',
950: '#000000',
},
}SCSS
$custom: #37166b; $custom-light: #745796; $custom-dark: #000000;
JSON
{
"hex": "#37166b",
"rgb": {
"r": 55,
"g": 22,
"b": 107
},
"hsl": {
"h": 263.294,
"s": 65.891,
"l": 25.294
},
"oklch": {
"l": 0.30653,
"c": 0.13624,
"h": 294.6
},
"luminance": 0.02448
}Semantic roles & 50–950 ramp
primary
#37166B
secondary
#7AA13B
accent
#E93FA7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E