#391D7F#391D7F
#391D7F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.153 H 288.4°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #391D7F |
|---|---|
| RGB | rgb(57, 29, 127) |
| HSL | hsl(257, 63%, 31%) |
| HSV | hsv(257, 77%, 50%) |
| CMYK | cmyk(55.1%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(21.13, 38.54, -50.41) |
| CIE-LCH | lch(21.13, 63.45, 307.40°) |
| OKLab | oklab(33.73% 0.0482 -0.1449) |
| OKLCH | oklch(33.73% 0.153 288.4) |
| XYZ | xyz(5.9563, 3.2806, 20.3939) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.12
Midnight Blue
#191970
ΔE00 4.88
Indigo
#4B0082
ΔE00 5.02
Royal
#0C1793
ΔE00 5.43
Royal Purple (survey)
#4B006E
ΔE00 6.58
Darkblue
#00008B
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391D7F #637F1D
analogous
#1D327F #391D7F #6A1D7F
triadic
#391D7F #7F391D #1D7F39
tetradic
#391D7F #7F1D32 #637F1D #1D7F6A
square
#391D7F #7F1D32 #637F1D #1D7F6A
split-complementary
#391D7F #7F6A1D #327F1D
monochromatic
#0C061B #23124D #391D7F #4F28B1 #6C42D4
Accessibility & contrast
On white
12.68
#391D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#391D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391D7F
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391D7F | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#1D384C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #391d7f; /* rgb */ color: rgb(57, 29, 127); /* oklch */ color: oklch(33.7% 0.153 288.4);
Tailwind
colors: {
custom: {
50: '#785ca5',
500: '#391d7f',
950: '#000000',
},
}SCSS
$custom: #391d7f; $custom-light: #785ca5; $custom-dark: #000000;
JSON
{
"hex": "#391d7f",
"rgb": {
"r": 57,
"g": 29,
"b": 127
},
"hsl": {
"h": 257.143,
"s": 62.821,
"l": 30.588
},
"oklch": {
"l": 0.33733,
"c": 0.15273,
"h": 288.4
},
"luminance": 0.03281
}Semantic roles & 50–950 ramp
primary
#391D7F
secondary
#93B245
accent
#E642B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F