#391E8A#391E8A
#391E8A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.165 H 285.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #391E8A |
|---|---|
| RGB | rgb(57, 30, 138) |
| HSL | hsl(255, 64%, 33%) |
| HSV | hsv(255, 78%, 54%) |
| CMYK | cmyk(58.7%, 78.3%, 0%, 45.9%) |
| CIE-LAB | lab(22.42, 41.33, -55.22) |
| CIE-LCH | lch(22.42, 68.97, 306.82°) |
| OKLab | oklab(34.97% 0.0443 -0.159) |
| OKLCH | oklch(34.97% 0.165 285.6) |
| XYZ | xyz(6.7377, 3.6330, 24.3860) |
| Luminance | 0.0363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.32
Royal
#0C1793
ΔE00 4.47
Indigo
#4B0082
ΔE00 5.33
Indigo Blue
#3A18B1
ΔE00 5.53
Midnight Blue
#191970
ΔE00 5.69
Cobalt Blue
#030AA7
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391E8A #6F8A1E
analogous
#1E398A #391E8A #6F1E8A
triadic
#391E8A #8A391E #1E8A39
tetradic
#391E8A #8A1E39 #6F8A1E #1E8A6F
square
#391E8A #8A1E39 #6F8A1E #1E8A6F
split-complementary
#391E8A #8A6F1E #398A1E
monochromatic
#0F0825 #241358 #391E8A #4E29BC #6E4BD8
Accessibility & contrast
On white
12.16
#391E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#391E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391E8A
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391E8A | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#0F3D53
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #391e8a; /* rgb */ color: rgb(57, 30, 138); /* oklch */ color: oklch(35.0% 0.165 285.6);
Tailwind
colors: {
custom: {
50: '#7a5dad',
500: '#391e8a',
950: '#000000',
},
}SCSS
$custom: #391e8a; $custom-light: #7a5dad; $custom-dark: #000000;
JSON
{
"hex": "#391e8a",
"rgb": {
"r": 57,
"g": 30,
"b": 138
},
"hsl": {
"h": 255,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.34969,
"c": 0.16509,
"h": 285.6
},
"luminance": 0.03633
}Semantic roles & 50–950 ramp
primary
#391E8A
secondary
#9EBA4A
accent
#E741BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F