#391A9A#391A9A
#391A9A is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.188 H 282.9°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #391A9A |
|---|---|
| RGB | rgb(57, 26, 154) |
| HSL | hsl(255, 71%, 35%) |
| HSV | hsv(255, 83%, 60%) |
| CMYK | cmyk(63%, 83.1%, 0%, 39.6%) |
| CIE-LAB | lab(23.48, 47.94, -63.38) |
| CIE-LCH | lch(23.48, 79.47, 307.10°) |
| OKLab | oklab(36.21% 0.0417 -0.1828) |
| OKLCH | oklch(36.21% 0.188 282.9) |
| XYZ | xyz(7.8877, 3.9412, 30.9107) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.11
Royal
#0C1793
ΔE00 4.10
Cobalt Blue
#030AA7
ΔE00 4.30
Ultramarine
#2000B1
ΔE00 4.30
Royal Blue (survey)
#0504AA
ΔE00 4.56
Indigo (survey)
#380282
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391A9A #7B9A1A
analogous
#1A3B9A #391A9A #791A9A
triadic
#391A9A #9A391A #1A9A39
tetradic
#391A9A #9A1A3B #7B9A1A #1A9A79
square
#391A9A #9A1A3B #7B9A1A #1A9A79
split-complementary
#391A9A #9A791A #3B9A1A
monochromatic
#120831 #261166 #391A9A #4C23CE #714DE1
Accessibility & contrast
On white
11.74
#391A9A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#391A9A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391A9A
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391A9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391A9A | 1.00 | 11.74 | 1.79 | 11.74 |
| #FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #391a9a; /* rgb */ color: rgb(57, 26, 154); /* oklch */ color: oklch(36.2% 0.188 282.9);
Tailwind
colors: {
custom: {
50: '#7d5cb9',
500: '#391a9a',
950: '#000000',
},
}SCSS
$custom: #391a9a; $custom-light: #7d5cb9; $custom-dark: #000000;
JSON
{
"hex": "#391a9a",
"rgb": {
"r": 57,
"g": 26,
"b": 154
},
"hsl": {
"h": 254.531,
"s": 71.111,
"l": 35.294
},
"oklch": {
"l": 0.36213,
"c": 0.1875,
"h": 282.9
},
"luminance": 0.03942
}Semantic roles & 50–950 ramp
primary
#391A9A
secondary
#A6C34D
accent
#EE3AC2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981