#391E84#391E84
#391E84 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.4% C 0.158 H 286.9°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #391E84 |
|---|---|
| RGB | rgb(57, 30, 132) |
| HSL | hsl(256, 63%, 32%) |
| HSV | hsv(256, 77%, 52%) |
| CMYK | cmyk(56.8%, 77.3%, 0%, 48.2%) |
| CIE-LAB | lab(21.81, 39.52, -52.45) |
| CIE-LCH | lch(21.81, 65.67, 307.00°) |
| OKLab | oklab(34.36% 0.046 -0.1509) |
| OKLCH | oklch(34.36% 0.158 286.9) |
| XYZ | xyz(6.3152, 3.4640, 22.1612) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.23
Royal
#0C1793
ΔE00 4.94
Midnight Blue
#191970
ΔE00 5.18
Indigo
#4B0082
ΔE00 5.19
Indigo Blue
#3A18B1
ΔE00 6.46
Darkblue
#00008B
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391E84 #69841E
analogous
#1E3684 #391E84 #6C1E84
triadic
#391E84 #84391E #1E8439
tetradic
#391E84 #841E36 #69841E #1E846C
square
#391E84 #841E36 #69841E #1E846C
split-complementary
#391E84 #846C1E #36841E
monochromatic
#0E0720 #231352 #391E84 #4F29B6 #6D47D5
Accessibility & contrast
On white
12.41
#391E84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#391E84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391E84
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391E84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391E84 | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003787
Deuteranopia (green-blind)
#003182
Tritanopia (blue-blind)
#183A50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #391e84; /* rgb */ color: rgb(57, 30, 132); /* oklch */ color: oklch(34.4% 0.158 286.9);
Tailwind
colors: {
custom: {
50: '#795da9',
500: '#391e84',
950: '#000000',
},
}SCSS
$custom: #391e84; $custom-light: #795da9; $custom-dark: #000000;
JSON
{
"hex": "#391e84",
"rgb": {
"r": 57,
"g": 30,
"b": 132
},
"hsl": {
"h": 255.882,
"s": 62.963,
"l": 31.765
},
"oklch": {
"l": 0.34361,
"c": 0.15778,
"h": 286.9
},
"luminance": 0.03464
}Semantic roles & 50–950 ramp
primary
#391E84
secondary
#99B747
accent
#E642BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F