#37176C#37176C
#37176C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.136 H 294.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #37176C |
|---|---|
| RGB | rgb(55, 23, 108) |
| HSL | hsl(263, 65%, 26%) |
| HSV | hsv(263, 79%, 42%) |
| CMYK | cmyk(49.1%, 78.7%, 0%, 57.6%) |
| CIE-LAB | lab(17.95, 35.70, -43.42) |
| CIE-LCH | lch(17.95, 56.22, 309.43°) |
| OKLab | oklab(30.88% 0.0555 -0.1245) |
| OKLCH | oklch(30.88% 0.136 294) |
| XYZ | xyz(4.5880, 2.5076, 14.4267) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.90
Midnight Blue
#191970
ΔE00 4.97
Royal Purple (survey)
#4B006E
ΔE00 5.08
Dark Indigo
#1F0954
ΔE00 5.38
Indigo
#4B0082
ΔE00 5.47
Dark Royal Blue
#02066F
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37176C #4C6C17
analogous
#17226C #37176C #61176C
triadic
#37176C #6C3717 #176C37
tetradic
#37176C #6C1722 #4C6C17 #176C61
square
#37176C #6C1722 #4C6C17 #176C61
split-complementary
#37176C #6C6117 #226C17
monochromatic
#0D0519 #1D0C3A #37176C #51229E #6A2CD1
Accessibility & contrast
On white
13.99
#37176C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#37176C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37176C
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37176C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37176C | 1.00 | 13.99 | 1.50 | 13.99 |
| #FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#272E40
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #37176c; /* rgb */ color: rgb(55, 23, 108); /* oklch */ color: oklch(30.9% 0.136 294.0);
Tailwind
colors: {
custom: {
50: '#745897',
500: '#37176c',
950: '#000000',
},
}SCSS
$custom: #37176c; $custom-light: #745897; $custom-dark: #000000;
JSON
{
"hex": "#37176c",
"rgb": {
"r": 55,
"g": 23,
"b": 108
},
"hsl": {
"h": 262.588,
"s": 64.885,
"l": 25.686
},
"oklch": {
"l": 0.30875,
"c": 0.1363,
"h": 294
},
"luminance": 0.02508
}Semantic roles & 50–950 ramp
primary
#37176C
secondary
#7CA23D
accent
#E840A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E