#391C92#391C92
#391C92 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.177 H 284.2°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).
Color values
| HEX | #391C92 |
|---|---|
| RGB | rgb(57, 28, 146) |
| HSL | hsl(255, 68%, 34%) |
| HSV | hsv(255, 81%, 57%) |
| CMYK | cmyk(61%, 80.8%, 0%, 42.7%) |
| CIE-LAB | lab(22.91, 44.70, -59.38) |
| CIE-LCH | lch(22.91, 74.32, 306.97°) |
| OKLab | oklab(35.57% 0.0432 -0.1712) |
| OKLCH | oklch(35.57% 0.177 284.2) |
| XYZ | xyz(7.2893, 3.7752, 27.5331) |
| Luminance | 0.0378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.07
Indigo Blue
#3A18B1
ΔE00 4.28
Indigo (survey)
#380282
ΔE00 4.39
Cobalt Blue
#030AA7
ΔE00 5.02
Ultramarine
#2000B1
ΔE00 5.32
Royal Blue (survey)
#0504AA
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C92 #75921C
analogous
#1C3A92 #391C92 #741C92
triadic
#391C92 #92391C #1C9239
tetradic
#391C92 #921C3A #75921C #1C9274
square
#391C92 #921C3A #75921C #1C9274
split-complementary
#391C92 #92741C #3A921C
monochromatic
#11082B #25125F #391C92 #4D26C5 #6F4CDD
Accessibility & contrast
On white
11.96
#391C92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#391C92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C92
11.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C92 | 1.00 | 11.96 | 1.76 | 11.96 |
| #FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003390
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #391c92; /* rgb */ color: rgb(57, 28, 146); /* oklch */ color: oklch(35.6% 0.177 284.2);
Tailwind
colors: {
custom: {
50: '#7b5db3',
500: '#391c92',
950: '#000000',
},
}SCSS
$custom: #391c92; $custom-light: #7b5db3; $custom-dark: #000000;
JSON
{
"hex": "#391c92",
"rgb": {
"r": 57,
"g": 28,
"b": 146
},
"hsl": {
"h": 254.746,
"s": 67.816,
"l": 34.118
},
"oklch": {
"l": 0.35565,
"c": 0.17653,
"h": 284.2
},
"luminance": 0.03776
}Semantic roles & 50–950 ramp
primary
#391C92
secondary
#A2BF4B
accent
#EB3DC0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980