#391C7E#391C7E
#391C7E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.153 H 288.8°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).
Color values
| HEX | #391C7E |
|---|---|
| RGB | rgb(57, 28, 126) |
| HSL | hsl(258, 64%, 30%) |
| HSV | hsv(258, 78%, 49%) |
| CMYK | cmyk(54.8%, 77.8%, 0%, 50.6%) |
| CIE-LAB | lab(20.85, 38.76, -50.24) |
| CIE-LCH | lch(20.85, 63.45, 307.65°) |
| OKLab | oklab(33.51% 0.0493 -0.1444) |
| OKLCH | oklch(33.51% 0.153 288.8) |
| XYZ | xyz(5.8674, 3.2064, 20.0444) |
| Luminance | 0.0321 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.94
Midnight Blue
#191970
ΔE00 4.85
Indigo
#4B0082
ΔE00 4.86
Royal
#0C1793
ΔE00 5.51
Royal Purple (survey)
#4B006E
ΔE00 6.36
Darkblue
#00008B
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C7E #617E1C
analogous
#1C307E #391C7E #6A1C7E
triadic
#391C7E #7E391C #1C7E39
tetradic
#391C7E #7E1C30 #617E1C #1C7E6A
square
#391C7E #7E1C30 #617E1C #1C7E6A
split-complementary
#391C7E #7E6A1C #307E1C
monochromatic
#0C061A #22114C #391C7E #5027B0 #6C40D5
Accessibility & contrast
On white
12.79
#391C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#391C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C7E
12.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C7E | 1.00 | 12.79 | 1.64 | 12.79 |
| #FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#1E374C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #391c7e; /* rgb */ color: rgb(57, 28, 126); /* oklch */ color: oklch(33.5% 0.153 288.8);
Tailwind
colors: {
custom: {
50: '#785ca4',
500: '#391c7e',
950: '#000000',
},
}SCSS
$custom: #391c7e; $custom-light: #785ca4; $custom-dark: #000000;
JSON
{
"hex": "#391c7e",
"rgb": {
"r": 57,
"g": 28,
"b": 126
},
"hsl": {
"h": 257.755,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.33505,
"c": 0.15261,
"h": 288.8
},
"luminance": 0.03207
}Semantic roles & 50–950 ramp
primary
#391C7E
secondary
#91B244
accent
#E741B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F