#391C7D#391C7D
#391C7D is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.151 H 289.1°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).
Color values
| HEX | #391C7D |
|---|---|
| RGB | rgb(57, 28, 125) |
| HSL | hsl(258, 63%, 30%) |
| HSV | hsv(258, 78%, 49%) |
| CMYK | cmyk(54.4%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(20.75, 38.46, -49.76) |
| CIE-LCH | lch(20.75, 62.89, 307.70°) |
| OKLab | oklab(33.41% 0.0496 -0.143) |
| OKLCH | oklch(33.41% 0.151 289.1) |
| XYZ | xyz(5.8032, 3.1808, 19.7062) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.99
Midnight Blue
#191970
ΔE00 4.81
Indigo
#4B0082
ΔE00 4.88
Royal
#0C1793
ΔE00 5.64
Royal Purple (survey)
#4B006E
ΔE00 6.28
Darkblue
#00008B
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C7D #607D1C
analogous
#1C307D #391C7D #691C7D
triadic
#391C7D #7D391C #1C7D39
tetradic
#391C7D #7D1C30 #607D1C #1C7D69
square
#391C7D #7D1C30 #607D1C #1C7D69
split-complementary
#391C7D #7D691C #307D1C
monochromatic
#0B0619 #22114B #391C7D #5027AF #6C3FD4
Accessibility & contrast
On white
12.83
#391C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#391C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C7D
12.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C7D | 1.00 | 12.83 | 1.64 | 12.83 |
| #FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003480
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#1F374B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #391c7d; /* rgb */ color: rgb(57, 28, 125); /* oklch */ color: oklch(33.4% 0.151 289.1);
Tailwind
colors: {
custom: {
50: '#775ca4',
500: '#391c7d',
950: '#000000',
},
}SCSS
$custom: #391c7d; $custom-light: #775ca4; $custom-dark: #000000;
JSON
{
"hex": "#391c7d",
"rgb": {
"r": 57,
"g": 28,
"b": 125
},
"hsl": {
"h": 257.938,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.33405,
"c": 0.15138,
"h": 289.1
},
"luminance": 0.03181
}Semantic roles & 50–950 ramp
primary
#391C7D
secondary
#90B144
accent
#E641B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F