#391E9A#391E9A
#391E9A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.184 H 282.4°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #391E9A |
|---|---|
| RGB | rgb(57, 30, 154) |
| HSL | hsl(253, 67%, 36%) |
| HSV | hsv(253, 81%, 60%) |
| CMYK | cmyk(63%, 80.5%, 0%, 39.6%) |
| CIE-LAB | lab(24.10, 46.12, -62.35) |
| CIE-LCH | lch(24.10, 77.56, 306.49°) |
| OKLab | oklab(36.64% 0.0395 -0.1798) |
| OKLCH | oklch(36.64% 0.184 282.4) |
| XYZ | xyz(7.9825, 4.1309, 30.9423) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.19
Royal
#0C1793
ΔE00 4.22
Cobalt Blue
#030AA7
ΔE00 4.68
Ultramarine
#2000B1
ΔE00 4.76
Royal Blue (survey)
#0504AA
ΔE00 4.99
Indigo (survey)
#380282
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391E9A #7F9A1E
analogous
#1E419A #391E9A #771E9A
triadic
#391E9A #9A391E #1E9A39
tetradic
#391E9A #9A1E41 #7F9A1E #1E9A77
square
#391E9A #9A1E41 #7F9A1E #1E9A77
split-complementary
#391E9A #9A771E #419A1E
monochromatic
#130A34 #261467 #391E9A #4C28CD #7255DE
Accessibility & contrast
On white
11.50
#391E9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#391E9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391E9A
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391E9A | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#00435C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #391e9a; /* rgb */ color: rgb(57, 30, 154); /* oklch */ color: oklch(36.6% 0.184 282.4);
Tailwind
colors: {
custom: {
50: '#7d5eb9',
500: '#391e9a',
950: '#000000',
},
}SCSS
$custom: #391e9a; $custom-light: #7d5eb9; $custom-dark: #000000;
JSON
{
"hex": "#391e9a",
"rgb": {
"r": 57,
"g": 30,
"b": 154
},
"hsl": {
"h": 253.065,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.36644,
"c": 0.18414,
"h": 282.4
},
"luminance": 0.04131
}Semantic roles & 50–950 ramp
primary
#391E9A
secondary
#A9C153
accent
#EA3EC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981