#37176E#37176E
#37176E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.139 H 293.3°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).
Color values
| HEX | #37176E |
|---|---|
| RGB | rgb(55, 23, 110) |
| HSL | hsl(262, 65%, 26%) |
| HSV | hsv(262, 79%, 43%) |
| CMYK | cmyk(50%, 79.1%, 0%, 56.9%) |
| CIE-LAB | lab(18.15, 36.28, -44.41) |
| CIE-LCH | lch(18.15, 57.34, 309.25°) |
| OKLab | oklab(31.07% 0.0549 -0.1274) |
| OKLCH | oklch(31.07% 0.139 293.3) |
| XYZ | xyz(4.6956, 2.5507, 14.9937) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.60
Midnight Blue
#191970
ΔE00 4.83
Royal Purple (survey)
#4B006E
ΔE00 5.10
Indigo
#4B0082
ΔE00 5.26
Dark Indigo
#1F0954
ΔE00 5.58
Dark Royal Blue
#02066F
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37176E #4E6E17
analogous
#17226E #37176E #62176E
triadic
#37176E #6E3717 #176E37
tetradic
#37176E #6E1722 #4E6E17 #176E62
square
#37176E #6E1722 #4E6E17 #176E62
split-complementary
#37176E #6E6217 #226E17
monochromatic
#0D0519 #1E0C3B #37176E #5022A1 #6A2CD3
Accessibility & contrast
On white
13.91
#37176E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#37176E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37176E
13.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37176E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37176E | 1.00 | 13.91 | 1.51 | 13.91 |
| #FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002B6C
Tritanopia (blue-blind)
#262F41
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #37176e; /* rgb */ color: rgb(55, 23, 110); /* oklch */ color: oklch(31.1% 0.139 293.3);
Tailwind
colors: {
custom: {
50: '#745898',
500: '#37176e',
950: '#000000',
},
}SCSS
$custom: #37176e; $custom-light: #745898; $custom-dark: #000000;
JSON
{
"hex": "#37176e",
"rgb": {
"r": 55,
"g": 23,
"b": 110
},
"hsl": {
"h": 262.069,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.3107,
"c": 0.13872,
"h": 293.3
},
"luminance": 0.02551
}Semantic roles & 50–950 ramp
primary
#37176E
secondary
#7EA43D
accent
#E83FAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E