#391C85#391C85
#391C85 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.161 H 287.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).
Color values
| HEX | #391C85 |
|---|---|
| RGB | rgb(57, 28, 133) |
| HSL | hsl(257, 65%, 32%) |
| HSV | hsv(257, 79%, 52%) |
| CMYK | cmyk(57.1%, 78.9%, 0%, 47.8%) |
| CIE-LAB | lab(21.56, 40.85, -53.50) |
| CIE-LCH | lch(21.56, 67.31, 307.36°) |
| OKLab | oklab(34.21% 0.0473 -0.154) |
| OKLCH | oklch(34.21% 0.161 287.1) |
| XYZ | xyz(6.3350, 3.3935, 22.5070) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.80
Royal
#0C1793
ΔE00 4.77
Indigo
#4B0082
ΔE00 4.86
Midnight Blue
#191970
ΔE00 5.29
Indigo Blue
#3A18B1
ΔE00 6.25
Darkblue
#00008B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C85 #68851C
analogous
#1C3485 #391C85 #6E1C85
triadic
#391C85 #85391C #1C8539
tetradic
#391C85 #851C34 #68851C #1C856E
square
#391C85 #851C34 #68851C #1C856E
split-complementary
#391C85 #856E1C #34851C
monochromatic
#0E0720 #231152 #391C85 #4F27B8 #6D44D8
Accessibility & contrast
On white
12.51
#391C85 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#391C85 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C85
12.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C85 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C85 | 1.00 | 12.51 | 1.68 | 12.51 |
| #FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#173A50
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #391c85; /* rgb */ color: rgb(57, 28, 133); /* oklch */ color: oklch(34.2% 0.161 287.1);
Tailwind
colors: {
custom: {
50: '#795caa',
500: '#391c85',
950: '#000000',
},
}SCSS
$custom: #391c85; $custom-light: #795caa; $custom-dark: #000000;
JSON
{
"hex": "#391c85",
"rgb": {
"r": 57,
"g": 28,
"b": 133
},
"hsl": {
"h": 256.571,
"s": 65.217,
"l": 31.569
},
"oklch": {
"l": 0.34211,
"c": 0.16108,
"h": 287.1
},
"luminance": 0.03394
}Semantic roles & 50–950 ramp
primary
#391C85
secondary
#98B845
accent
#E840BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F