#391B89#391B89
#391B89 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.167 H 286.3°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #391B89 |
|---|---|
| RGB | rgb(57, 27, 137) |
| HSL | hsl(256, 67%, 32%) |
| HSV | hsv(256, 80%, 54%) |
| CMYK | cmyk(58.4%, 80.3%, 0%, 46.3%) |
| CIE-LAB | lab(21.80, 42.52, -55.62) |
| CIE-LCH | lch(21.80, 70.01, 307.40°) |
| OKLab | oklab(34.5% 0.0468 -0.1602) |
| OKLCH | oklch(34.5% 0.167 286.3) |
| XYZ | xyz(6.5933, 3.4595, 23.9824) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.68
Royal
#0C1793
ΔE00 4.43
Indigo
#4B0082
ΔE00 4.82
Indigo Blue
#3A18B1
ΔE00 5.62
Midnight Blue
#191970
ΔE00 5.65
Cobalt Blue
#030AA7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391B89 #6B891B
analogous
#1B3489 #391B89 #701B89
triadic
#391B89 #89391B #1B8939
tetradic
#391B89 #891B34 #6B891B #1B8970
square
#391B89 #891B34 #6B891B #1B8970
split-complementary
#391B89 #89701B #34891B
monochromatic
#0E0723 #241156 #391B89 #4E25BC #6D44DA
Accessibility & contrast
On white
12.41
#391B89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#391B89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391B89
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391B89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391B89 | 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)
#00378C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#113B52
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #391b89; /* rgb */ color: rgb(57, 27, 137); /* oklch */ color: oklch(34.5% 0.167 286.3);
Tailwind
colors: {
custom: {
50: '#7a5cad',
500: '#391b89',
950: '#000000',
},
}SCSS
$custom: #391b89; $custom-light: #7a5cad; $custom-dark: #000000;
JSON
{
"hex": "#391b89",
"rgb": {
"r": 57,
"g": 27,
"b": 137
},
"hsl": {
"h": 256.364,
"s": 67.073,
"l": 32.157
},
"oklch": {
"l": 0.34504,
"c": 0.16685,
"h": 286.3
},
"luminance": 0.0346
}Semantic roles & 50–950 ramp
primary
#391B89
secondary
#9BBC44
accent
#EA3EBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F