#391A8F#391A8F
#391A8F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.175 H 285.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).
Color values
| HEX | #391A8F |
|---|---|
| RGB | rgb(57, 26, 143) |
| HSL | hsl(256, 69%, 33%) |
| HSV | hsv(256, 82%, 56%) |
| CMYK | cmyk(60.1%, 81.8%, 0%, 43.9%) |
| CIE-LAB | lab(22.27, 44.75, -58.58) |
| CIE-LCH | lch(22.27, 73.71, 307.38°) |
| OKLab | oklab(35.02% 0.0455 -0.1688) |
| OKLCH | oklch(35.02% 0.175 285.1) |
| XYZ | xyz(7.0132, 3.5914, 26.3049) |
| Luminance | 0.0359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.84
Royal
#0C1793
ΔE00 4.10
Indigo Blue
#3A18B1
ΔE00 4.70
Indigo
#4B0082
ΔE00 4.99
Cobalt Blue
#030AA7
ΔE00 5.13
Royal Blue (survey)
#0504AA
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391A8F #708F1A
analogous
#1A368F #391A8F #731A8F
triadic
#391A8F #8F391A #1A8F39
tetradic
#391A8F #8F1A36 #708F1A #1A8F73
square
#391A8F #8F1A36 #708F1A #1A8F73
split-complementary
#391A8F #8F731A #368F1A
monochromatic
#100727 #24115B #391A8F #4E23C3 #6E46DD
Accessibility & contrast
On white
12.22
#391A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#391A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391A8F
12.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391A8F | 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)
#003892
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#053D55
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #391a8f; /* rgb */ color: rgb(57, 26, 143); /* oklch */ color: oklch(35.0% 0.175 285.1);
Tailwind
colors: {
custom: {
50: '#7b5cb1',
500: '#391a8f',
950: '#000000',
},
}SCSS
$custom: #391a8f; $custom-light: #7b5cb1; $custom-dark: #000000;
JSON
{
"hex": "#391a8f",
"rgb": {
"r": 57,
"g": 26,
"b": 143
},
"hsl": {
"h": 255.897,
"s": 69.231,
"l": 33.137
},
"oklch": {
"l": 0.35024,
"c": 0.1748,
"h": 285.1
},
"luminance": 0.03592
}Semantic roles & 50–950 ramp
primary
#391A8F
secondary
#9FBF46
accent
#EC3CBD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980