#37167C#37167C
#37167C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.156 H 289.2°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #37167C |
|---|---|
| RGB | rgb(55, 22, 124) |
| HSL | hsl(259, 70%, 29%) |
| HSV | hsv(259, 82%, 49%) |
| CMYK | cmyk(55.6%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(19.40, 40.82, -51.37) |
| CIE-LCH | lch(19.40, 65.61, 308.48°) |
| OKLab | oklab(32.37% 0.0513 -0.1477) |
| OKLCH | oklch(32.37% 0.156 289.2) |
| XYZ | xyz(5.4995, 2.8410, 19.3235) |
| Luminance | 0.0284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.87
Indigo
#4B0082
ΔE00 4.23
Midnight Blue
#191970
ΔE00 4.76
Royal
#0C1793
ΔE00 5.43
Royal Purple (survey)
#4B006E
ΔE00 5.72
Navy
#000080
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37167C #5B7C16
analogous
#16287C #37167C #6A167C
triadic
#37167C #7C3716 #167C37
tetradic
#37167C #7C1628 #5B7C16 #167C6A
square
#37167C #7C1628 #5B7C16 #167C6A
split-complementary
#37167C #7C6A16 #287C16
monochromatic
#0C051A #200D48 #37167C #4E1FB0 #6832DB
Accessibility & contrast
On white
13.39
#37167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#37167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37167C
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37167C | 1.00 | 13.39 | 1.57 | 13.39 |
| #FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#1C3449
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #37167c; /* rgb */ color: rgb(55, 22, 124); /* oklch */ color: oklch(32.4% 0.156 289.2);
Tailwind
colors: {
custom: {
50: '#7758a3',
500: '#37167c',
950: '#000000',
},
}SCSS
$custom: #37167c; $custom-light: #7758a3; $custom-dark: #000000;
JSON
{
"hex": "#37167c",
"rgb": {
"r": 55,
"g": 22,
"b": 124
},
"hsl": {
"h": 259.412,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.32372,
"c": 0.15641,
"h": 289.2
},
"luminance": 0.02841
}Semantic roles & 50–950 ramp
primary
#37167C
secondary
#8BB13D
accent
#ED3BB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F