#37176F#37176F
#37176F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.140 H 293.0°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).
Color values
| HEX | #37176F |
|---|---|
| RGB | rgb(55, 23, 111) |
| HSL | hsl(262, 66%, 26%) |
| HSV | hsv(262, 79%, 44%) |
| CMYK | cmyk(50.5%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(18.24, 36.57, -44.90) |
| CIE-LCH | lch(18.24, 57.91, 309.17°) |
| OKLab | oklab(31.17% 0.0546 -0.1288) |
| OKLCH | oklch(31.17% 0.14 293) |
| XYZ | xyz(4.7504, 2.5726, 15.2821) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.45
Midnight Blue
#191970
ΔE00 4.77
Royal Purple (survey)
#4B006E
ΔE00 5.12
Indigo
#4B0082
ΔE00 5.16
Dark Indigo
#1F0954
ΔE00 5.68
Dark Royal Blue
#02066F
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37176F #4F6F17
analogous
#17236F #37176F #63176F
triadic
#37176F #6F3717 #176F37
tetradic
#37176F #6F1723 #4F6F17 #176F63
square
#37176F #6F1723 #4F6F17 #176F63
split-complementary
#37176F #6F6317 #236F17
monochromatic
#0D0519 #1E0C3C #37176F #5022A2 #692DD3
Accessibility & contrast
On white
13.87
#37176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#37176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37176F
13.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37176F | 1.00 | 13.87 | 1.51 | 13.87 |
| #FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002B6D
Tritanopia (blue-blind)
#252F42
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #37176f; /* rgb */ color: rgb(55, 23, 111); /* oklch */ color: oklch(31.2% 0.140 293.0);
Tailwind
colors: {
custom: {
50: '#745899',
500: '#37176f',
950: '#000000',
},
}SCSS
$custom: #37176f; $custom-light: #745899; $custom-dark: #000000;
JSON
{
"hex": "#37176f",
"rgb": {
"r": 55,
"g": 23,
"b": 111
},
"hsl": {
"h": 261.818,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.31168,
"c": 0.13993,
"h": 293
},
"luminance": 0.02573
}Semantic roles & 50–950 ramp
primary
#37176F
secondary
#7FA53D
accent
#E93FAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E