#391C6D#391C6D
#391C6D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.132 H 294.0°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #391C6D |
|---|---|
| RGB | rgb(57, 28, 109) |
| HSL | hsl(261, 59%, 27%) |
| HSV | hsv(261, 74%, 43%) |
| CMYK | cmyk(47.7%, 74.3%, 0%, 57.3%) |
| CIE-LAB | lab(19.24, 33.70, -41.95) |
| CIE-LCH | lch(19.24, 53.81, 308.77°) |
| OKLab | oklab(31.87% 0.0535 -0.1201) |
| OKLCH | oklch(31.87% 0.132 294) |
| XYZ | xyz(4.8622, 2.8044, 14.7501) |
| Luminance | 0.0280 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.15
Indigo (survey)
#380282
ΔE00 5.66
Royal Purple (survey)
#4B006E
ΔE00 5.66
Indigo
#4B0082
ΔE00 5.98
Dark Indigo
#1F0954
ΔE00 6.10
Dark Royal Blue
#02066F
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C6D #506D1C
analogous
#1C286D #391C6D #621C6D
triadic
#391C6D #6D391C #1C6D39
tetradic
#391C6D #6D1C28 #506D1C #1C6D62
square
#391C6D #6D1C28 #506D1C #1C6D62
split-complementary
#391C6D #6D621C #286D1C
monochromatic
#0D0618 #200F3C #391C6D #52299E #6D38CC
Accessibility & contrast
On white
13.45
#391C6D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#391C6D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C6D
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C6D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C6D | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F6F
Deuteranopia (green-blind)
#002D6B
Tritanopia (blue-blind)
#2A3142
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #391c6d; /* rgb */ color: rgb(57, 28, 109); /* oklch */ color: oklch(31.9% 0.132 294.0);
Tailwind
colors: {
custom: {
50: '#755b98',
500: '#391c6d',
950: '#000000',
},
}SCSS
$custom: #391c6d; $custom-light: #755b98; $custom-dark: #000000;
JSON
{
"hex": "#391c6d",
"rgb": {
"r": 57,
"g": 28,
"b": 109
},
"hsl": {
"h": 261.481,
"s": 59.124,
"l": 26.863
},
"oklch": {
"l": 0.31873,
"c": 0.13152,
"h": 294
},
"luminance": 0.02804
}Semantic roles & 50–950 ramp
primary
#391C6D
secondary
#80A243
accent
#E245AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E