#391C96#391C96
#391C96 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.181 H 283.4°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).
Color values
| HEX | #391C96 |
|---|---|
| RGB | rgb(57, 28, 150) |
| HSL | hsl(254, 69%, 35%) |
| HSV | hsv(254, 81%, 59%) |
| CMYK | cmyk(62%, 81.3%, 0%, 41.2%) |
| CIE-LAB | lab(23.34, 45.88, -61.14) |
| CIE-LCH | lch(23.34, 76.44, 306.88°) |
| OKLab | oklab(35.99% 0.0419 -0.1763) |
| OKLCH | oklch(35.99% 0.181 283.4) |
| XYZ | xyz(7.6059, 3.9019, 29.2006) |
| Luminance | 0.0390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.70
Royal
#0C1793
ΔE00 4.06
Cobalt Blue
#030AA7
ΔE00 4.71
Indigo (survey)
#380282
ΔE00 4.73
Ultramarine
#2000B1
ΔE00 4.89
Royal Blue (survey)
#0504AA
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C96 #79961C
analogous
#1C3C96 #391C96 #761C96
triadic
#391C96 #96391C #1C9639
tetradic
#391C96 #961C3C #79961C #1C9676
square
#391C96 #961C3C #79961C #1C9676
split-complementary
#391C96 #96761C #3C961C
monochromatic
#12092F #251262 #391C96 #4D26CA #714EDE
Accessibility & contrast
On white
11.80
#391C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#391C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C96
11.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C96 | 1.00 | 11.80 | 1.78 | 11.80 |
| #FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #391c96; /* rgb */ color: rgb(57, 28, 150); /* oklch */ color: oklch(36.0% 0.181 283.4);
Tailwind
colors: {
custom: {
50: '#7c5db6',
500: '#391c96',
950: '#000000',
},
}SCSS
$custom: #391c96; $custom-light: #7c5db6; $custom-dark: #000000;
JSON
{
"hex": "#391c96",
"rgb": {
"r": 57,
"g": 28,
"b": 150
},
"hsl": {
"h": 254.262,
"s": 68.539,
"l": 34.902
},
"oklch": {
"l": 0.35992,
"c": 0.18121,
"h": 283.4
},
"luminance": 0.03902
}Semantic roles & 50–950 ramp
primary
#391C96
secondary
#A5C14D
accent
#EB3CC2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980