#391B86#391B86
#391B86 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.163 H 287.0°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).
Color values
| HEX | #391B86 |
|---|---|
| RGB | rgb(57, 27, 134) |
| HSL | hsl(257, 66%, 32%) |
| HSV | hsv(257, 80%, 53%) |
| CMYK | cmyk(57.5%, 79.9%, 0%, 47.5%) |
| CIE-LAB | lab(21.49, 41.64, -54.25) |
| CIE-LCH | lch(21.49, 68.39, 307.51°) |
| OKLab | oklab(34.19% 0.0477 -0.1562) |
| OKLCH | oklch(34.19% 0.163 287) |
| XYZ | xyz(6.3811, 3.3746, 22.8648) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.60
Royal
#0C1793
ΔE00 4.66
Indigo
#4B0082
ΔE00 4.72
Midnight Blue
#191970
ΔE00 5.39
Indigo Blue
#3A18B1
ΔE00 6.08
Darkblue
#00008B
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391B86 #68861B
analogous
#1B3386 #391B86 #6F1B86
triadic
#391B86 #86391B #1B8639
tetradic
#391B86 #861B33 #68861B #1B866F
square
#391B86 #861B33 #68861B #1B866F
split-complementary
#391B86 #866F1B #33861B
monochromatic
#0E0620 #231153 #391B86 #4F25B9 #6D42D9
Accessibility & contrast
On white
12.54
#391B86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#391B86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391B86
12.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391B86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391B86 | 1.00 | 12.54 | 1.68 | 12.54 |
| #FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003689
Deuteranopia (green-blind)
#003184
Tritanopia (blue-blind)
#163A50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #391b86; /* rgb */ color: rgb(57, 27, 134); /* oklch */ color: oklch(34.2% 0.163 287.0);
Tailwind
colors: {
custom: {
50: '#795caa',
500: '#391b86',
950: '#000000',
},
}SCSS
$custom: #391b86; $custom-light: #795caa; $custom-dark: #000000;
JSON
{
"hex": "#391b86",
"rgb": {
"r": 57,
"g": 27,
"b": 134
},
"hsl": {
"h": 256.822,
"s": 66.46,
"l": 31.569
},
"oklch": {
"l": 0.34193,
"c": 0.16328,
"h": 287
},
"luminance": 0.03375
}Semantic roles & 50–950 ramp
primary
#391B86
secondary
#98B944
accent
#E93EB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F