#391C8C#391C8C
#391C8C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.169 H 285.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #391C8C |
|---|---|
| RGB | rgb(57, 28, 140) |
| HSL | hsl(256, 67%, 33%) |
| HSV | hsv(256, 80%, 55%) |
| CMYK | cmyk(59.3%, 80%, 0%, 45.1%) |
| CIE-LAB | lab(22.28, 42.93, -56.70) |
| CIE-LCH | lch(22.28, 71.11, 307.13°) |
| OKLab | oklab(34.93% 0.0451 -0.1633) |
| OKLCH | oklch(34.93% 0.169 285.4) |
| XYZ | xyz(6.8348, 3.5934, 25.1393) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.00
Royal
#0C1793
ΔE00 4.27
Indigo
#4B0082
ΔE00 5.10
Indigo Blue
#3A18B1
ΔE00 5.17
Cobalt Blue
#030AA7
ΔE00 5.60
Midnight Blue
#191970
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C8C #6F8C1C
analogous
#1C378C #391C8C #711C8C
triadic
#391C8C #8C391C #1C8C39
tetradic
#391C8C #8C1C37 #6F8C1C #1C8C71
square
#391C8C #8C1C37 #6F8C1C #1C8C71
split-complementary
#391C8C #8C711C #378C1C
monochromatic
#0F0826 #241259 #391C8C #4E26BF #6E48DA
Accessibility & contrast
On white
12.22
#391C8C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#391C8C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C8C
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C8C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C8C | 1.00 | 12.22 | 1.72 | 12.22 |
| #FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#0C3D54
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #391c8c; /* rgb */ color: rgb(57, 28, 140); /* oklch */ color: oklch(34.9% 0.169 285.4);
Tailwind
colors: {
custom: {
50: '#7a5caf',
500: '#391c8c',
950: '#000000',
},
}SCSS
$custom: #391c8c; $custom-light: #7a5caf; $custom-dark: #000000;
JSON
{
"hex": "#391c8c",
"rgb": {
"r": 57,
"g": 28,
"b": 140
},
"hsl": {
"h": 255.536,
"s": 66.667,
"l": 32.941
},
"oklch": {
"l": 0.34934,
"c": 0.16945,
"h": 285.4
},
"luminance": 0.03594
}Semantic roles & 50–950 ramp
primary
#391C8C
secondary
#9EBC48
accent
#EA3EBD
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F