#391B8E#391B8E
#391B8E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.173 H 285.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #391B8E |
|---|---|
| RGB | rgb(57, 27, 142) |
| HSL | hsl(256, 68%, 33%) |
| HSV | hsv(256, 81%, 56%) |
| CMYK | cmyk(59.9%, 81%, 0%, 44.3%) |
| CIE-LAB | lab(22.32, 43.99, -57.87) |
| CIE-LCH | lch(22.32, 72.69, 307.24°) |
| OKLab | oklab(35.03% 0.0452 -0.1667) |
| OKLCH | oklch(35.03% 0.173 285.2) |
| XYZ | xyz(6.9603, 3.6063, 25.9153) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.94
Royal
#0C1793
ΔE00 4.15
Indigo Blue
#3A18B1
ΔE00 4.86
Indigo
#4B0082
ΔE00 5.06
Cobalt Blue
#030AA7
ΔE00 5.31
Royal Blue (survey)
#0504AA
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391B8E #708E1B
analogous
#1B378E #391B8E #721B8E
triadic
#391B8E #8E391B #1B8E39
tetradic
#391B8E #8E1B37 #708E1B #1B8E72
square
#391B8E #8E1B37 #708E1B #1B8E72
split-complementary
#391B8E #8E721B #378E1B
monochromatic
#100727 #24115B #391B8E #4E25C1 #6E47DC
Accessibility & contrast
On white
12.20
#391B8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#391B8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391B8E
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391B8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391B8E | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003891
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#073D55
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #391b8e; /* rgb */ color: rgb(57, 27, 142); /* oklch */ color: oklch(35.0% 0.173 285.2);
Tailwind
colors: {
custom: {
50: '#7b5cb0',
500: '#391b8e',
950: '#000000',
},
}SCSS
$custom: #391b8e; $custom-light: #7b5cb0; $custom-dark: #000000;
JSON
{
"hex": "#391b8e",
"rgb": {
"r": 57,
"g": 27,
"b": 142
},
"hsl": {
"h": 255.652,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.35029,
"c": 0.17274,
"h": 285.2
},
"luminance": 0.03607
}Semantic roles & 50–950 ramp
primary
#391B8E
secondary
#9FBE47
accent
#EB3DBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980