#391C7C#391C7C
#391C7C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.150 H 289.4°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #391C7C |
|---|---|
| RGB | rgb(57, 28, 124) |
| HSL | hsl(258, 63%, 30%) |
| HSV | hsv(258, 77%, 49%) |
| CMYK | cmyk(54%, 77.4%, 0%, 51.4%) |
| CIE-LAB | lab(20.66, 38.17, -49.29) |
| CIE-LCH | lch(20.66, 62.34, 307.75°) |
| OKLab | oklab(33.31% 0.0498 -0.1416) |
| OKLCH | oklch(33.31% 0.15 289.4) |
| XYZ | xyz(5.7396, 3.1553, 19.3715) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.04
Midnight Blue
#191970
ΔE00 4.78
Indigo
#4B0082
ΔE00 4.90
Royal
#0C1793
ΔE00 5.76
Royal Purple (survey)
#4B006E
ΔE00 6.21
Dark Royal Blue
#02066F
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C7C #5F7C1C
analogous
#1C2F7C #391C7C #691C7C
triadic
#391C7C #7C391C #1C7C39
tetradic
#391C7C #7C1C2F #5F7C1C #1C7C69
square
#391C7C #7C1C2F #5F7C1C #1C7C69
split-complementary
#391C7C #7C691C #2F7C1C
monochromatic
#0B0619 #22114A #391C7C #5027AE #6C3FD4
Accessibility & contrast
On white
12.87
#391C7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#391C7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C7C
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C7C | 1.00 | 12.87 | 1.63 | 12.87 |
| #FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#20364B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #391c7c; /* rgb */ color: rgb(57, 28, 124); /* oklch */ color: oklch(33.3% 0.150 289.4);
Tailwind
colors: {
custom: {
50: '#775ca3',
500: '#391c7c',
950: '#000000',
},
}SCSS
$custom: #391c7c; $custom-light: #775ca3; $custom-dark: #000000;
JSON
{
"hex": "#391c7c",
"rgb": {
"r": 57,
"g": 28,
"b": 124
},
"hsl": {
"h": 258.125,
"s": 63.158,
"l": 29.804
},
"oklch": {
"l": 0.33306,
"c": 0.15016,
"h": 289.4
},
"luminance": 0.03156
}Semantic roles & 50–950 ramp
primary
#391C7C
secondary
#8FB044
accent
#E642B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F