#391C7F#391C7F
#391C7F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.154 H 288.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).
Color values
| HEX | #391C7F |
|---|---|
| RGB | rgb(57, 28, 127) |
| HSL | hsl(258, 64%, 30%) |
| HSV | hsv(258, 78%, 50%) |
| CMYK | cmyk(55.1%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(20.95, 39.06, -50.71) |
| CIE-LCH | lch(20.95, 64.01, 307.61°) |
| OKLab | oklab(33.61% 0.049 -0.1458) |
| OKLCH | oklch(33.61% 0.154 288.6) |
| XYZ | xyz(5.9322, 3.2324, 20.3859) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.90
Indigo
#4B0082
ΔE00 4.84
Midnight Blue
#191970
ΔE00 4.90
Royal
#0C1793
ΔE00 5.39
Royal Purple (survey)
#4B006E
ΔE00 6.43
Darkblue
#00008B
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C7F #627F1C
analogous
#1C307F #391C7F #6A1C7F
triadic
#391C7F #7F391C #1C7F39
tetradic
#391C7F #7F1C30 #627F1C #1C7F6A
square
#391C7F #7F1C30 #627F1C #1C7F6A
split-complementary
#391C7F #7F6A1C #307F1C
monochromatic
#0C061B #22114D #391C7F #5027B1 #6C40D5
Accessibility & contrast
On white
12.75
#391C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#391C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C7F
12.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C7F | 1.00 | 12.75 | 1.65 | 12.75 |
| #FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#1D384C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #391c7f; /* rgb */ color: rgb(57, 28, 127); /* oklch */ color: oklch(33.6% 0.154 288.6);
Tailwind
colors: {
custom: {
50: '#785ca5',
500: '#391c7f',
950: '#000000',
},
}SCSS
$custom: #391c7f; $custom-light: #785ca5; $custom-dark: #000000;
JSON
{
"hex": "#391c7f",
"rgb": {
"r": 57,
"g": 28,
"b": 127
},
"hsl": {
"h": 257.576,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.33605,
"c": 0.15382,
"h": 288.6
},
"luminance": 0.03233
}Semantic roles & 50–950 ramp
primary
#391C7F
secondary
#92B344
accent
#E741B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F