#371689#371689
#371689 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.171 H 285.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #371689 |
|---|---|
| RGB | rgb(55, 22, 137) |
| HSL | hsl(257, 72%, 31%) |
| HSV | hsv(257, 84%, 54%) |
| CMYK | cmyk(59.9%, 83.9%, 0%, 46.3%) |
| CIE-LAB | lab(20.80, 44.56, -57.27) |
| CIE-LCH | lch(20.80, 72.57, 307.88°) |
| OKLab | oklab(33.76% 0.0467 -0.165) |
| OKLCH | oklch(33.76% 0.171 285.8) |
| XYZ | xyz(6.3764, 3.1918, 23.9421) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 2.84
Royal
#0C1793
ΔE00 4.15
Indigo
#4B0082
ΔE00 4.41
Darkblue
#00008B
ΔE00 5.24
Cobalt Blue
#030AA7
ΔE00 5.38
Midnight Blue
#191970
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#371689 #688916
analogous
#162F89 #371689 #701689
triadic
#371689 #893716 #168937
tetradic
#371689 #89162F #688916 #168970
square
#371689 #89162F #688916 #168970
split-complementary
#371689 #897016 #2F8916
monochromatic
#0D0520 #220E54 #371689 #4C1EBE #693ADF
Accessibility & contrast
On white
12.82
#371689 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#371689 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #371689
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##371689 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##371689 | 1.00 | 12.82 | 1.64 | 12.82 |
| #FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#093951
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #371689; /* rgb */ color: rgb(55, 22, 137); /* oklch */ color: oklch(33.8% 0.171 285.8);
Tailwind
colors: {
custom: {
50: '#7959ad',
500: '#371689',
950: '#000000',
},
}SCSS
$custom: #371689; $custom-light: #7959ad; $custom-dark: #000000;
JSON
{
"hex": "#371689",
"rgb": {
"r": 55,
"g": 22,
"b": 137
},
"hsl": {
"h": 257.217,
"s": 72.327,
"l": 31.176
},
"oklch": {
"l": 0.33759,
"c": 0.17148,
"h": 285.8
},
"luminance": 0.03192
}Semantic roles & 50–950 ramp
primary
#371689
secondary
#98BD3E
accent
#EF39BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F