#37177F#37177F
#37177F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.159 H 288.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).
Color values
| HEX | #37177F |
|---|---|
| RGB | rgb(55, 23, 127) |
| HSL | hsl(258, 69%, 29%) |
| HSV | hsv(258, 82%, 50%) |
| CMYK | cmyk(56.7%, 81.9%, 0%, 50.2%) |
| CIE-LAB | lab(19.87, 41.23, -52.49) |
| CIE-LCH | lch(19.87, 66.75, 308.15°) |
| OKLab | oklab(32.8% 0.0496 -0.151) |
| OKLCH | oklch(32.8% 0.159 288.2) |
| XYZ | xyz(5.7116, 2.9570, 20.3444) |
| Luminance | 0.0296 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.90
Indigo
#4B0082
ΔE00 4.32
Midnight Blue
#191970
ΔE00 4.83
Royal
#0C1793
ΔE00 5.06
Darkblue
#00008B
ΔE00 5.81
Navy
#000080
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#37177F #5F7F17
analogous
#172B7F #37177F #6B177F
triadic
#37177F #7F3717 #177F37
tetradic
#37177F #7F172B #5F7F17 #177F6B
square
#37177F #7F172B #5F7F17 #177F6B
split-complementary
#37177F #7F6B17 #2B7F17
monochromatic
#0B051A #210E4B #37177F #4D20B3 #6936DB
Accessibility & contrast
On white
13.20
#37177F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#37177F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #37177F
13.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##37177F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##37177F | 1.00 | 13.20 | 1.59 | 13.20 |
| #FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#18364B
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #37177f; /* rgb */ color: rgb(55, 23, 127); /* oklch */ color: oklch(32.8% 0.159 288.2);
Tailwind
colors: {
custom: {
50: '#7759a5',
500: '#37177f',
950: '#000000',
},
}SCSS
$custom: #37177f; $custom-light: #7759a5; $custom-dark: #000000;
JSON
{
"hex": "#37177f",
"rgb": {
"r": 55,
"g": 23,
"b": 127
},
"hsl": {
"h": 258.462,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.32797,
"c": 0.15898,
"h": 288.2
},
"luminance": 0.02957
}Semantic roles & 50–950 ramp
primary
#37177F
secondary
#8FB43E
accent
#EC3CB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F