#391B85#391B85
#391B85 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.162 H 287.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).
Color values
| HEX | #391B85 |
|---|---|
| RGB | rgb(57, 27, 133) |
| HSL | hsl(257, 66%, 31%) |
| HSV | hsv(257, 80%, 52%) |
| CMYK | cmyk(57.1%, 79.7%, 0%, 47.8%) |
| CIE-LAB | lab(21.38, 41.34, -53.79) |
| CIE-LCH | lch(21.38, 67.84, 307.55°) |
| OKLab | oklab(34.09% 0.048 -0.1548) |
| OKLCH | oklch(34.09% 0.162 287.2) |
| XYZ | xyz(6.3117, 3.3468, 22.4992) |
| Luminance | 0.0335 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.59
Indigo
#4B0082
ΔE00 4.70
Royal
#0C1793
ΔE00 4.74
Midnight Blue
#191970
ΔE00 5.31
Darkblue
#00008B
ΔE00 6.17
Indigo Blue
#3A18B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391B85 #67851B
analogous
#1B3285 #391B85 #6E1B85
triadic
#391B85 #85391B #1B8539
tetradic
#391B85 #851B32 #67851B #1B856E
square
#391B85 #851B32 #67851B #1B856E
split-complementary
#391B85 #856E1B #32851B
monochromatic
#0D061F #231152 #391B85 #4F25B8 #6C42D9
Accessibility & contrast
On white
12.58
#391B85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#391B85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391B85
12.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391B85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391B85 | 1.00 | 12.58 | 1.67 | 12.58 |
| #FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#173A4F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #391b85; /* rgb */ color: rgb(57, 27, 133); /* oklch */ color: oklch(34.1% 0.162 287.2);
Tailwind
colors: {
custom: {
50: '#795caa',
500: '#391b85',
950: '#000000',
},
}SCSS
$custom: #391b85; $custom-light: #795caa; $custom-dark: #000000;
JSON
{
"hex": "#391b85",
"rgb": {
"r": 57,
"g": 27,
"b": 133
},
"hsl": {
"h": 256.981,
"s": 66.25,
"l": 31.373
},
"oklch": {
"l": 0.3409,
"c": 0.16209,
"h": 287.2
},
"luminance": 0.03347
}Semantic roles & 50–950 ramp
primary
#391B85
secondary
#97B844
accent
#E93FB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F