#391EA2#391EA2
#391EA2 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.5% C 0.193 H 281.0°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).
Color values
| HEX | #391EA2 |
|---|---|
| RGB | rgb(57, 30, 162) |
| HSL | hsl(252, 69%, 38%) |
| HSV | hsv(252, 81%, 64%) |
| CMYK | cmyk(64.8%, 81.5%, 0%, 36.5%) |
| CIE-LAB | lab(24.97, 48.48, -65.80) |
| CIE-LCH | lch(24.97, 81.73, 306.38°) |
| OKLab | oklab(37.51% 0.037 -0.1899) |
| OKLCH | oklch(37.51% 0.193 281) |
| XYZ | xyz(8.6711, 4.4064, 34.5690) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.13
Ultramarine
#2000B1
ΔE00 4.22
Cobalt Blue
#030AA7
ΔE00 4.45
Royal
#0C1793
ΔE00 4.62
Royal Blue (survey)
#0504AA
ΔE00 4.70
True Blue
#010FCC
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391EA2 #87A21E
analogous
#1E45A2 #391EA2 #7B1EA2
triadic
#391EA2 #A2391E #1EA239
tetradic
#391EA2 #A21E45 #87A21E #1EA27B
square
#391EA2 #A21E45 #87A21E #1EA27B
split-complementary
#391EA2 #A27B1E #45A21E
monochromatic
#150B3B #27146E #391EA2 #4B28D6 #755AE0
Accessibility & contrast
On white
11.16
#391EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#391EA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391EA2
11.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391EA2 | 1.00 | 11.16 | 1.88 | 11.16 |
| #FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004761
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #391ea2; /* rgb */ color: rgb(57, 30, 162); /* oklch */ color: oklch(37.5% 0.193 281.0);
Tailwind
colors: {
custom: {
50: '#7e5fbf',
500: '#391ea2',
950: '#000000',
},
}SCSS
$custom: #391ea2; $custom-light: #7e5fbf; $custom-dark: #000000;
JSON
{
"hex": "#391ea2",
"rgb": {
"r": 57,
"g": 30,
"b": 162
},
"hsl": {
"h": 252.273,
"s": 68.75,
"l": 37.647
},
"oklch": {
"l": 0.37507,
"c": 0.19346,
"h": 281
},
"luminance": 0.04407
}Semantic roles & 50–950 ramp
primary
#391EA2
secondary
#AEC457
accent
#EC3CC8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981