#391A9B#391A9B
#391A9B is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.189 H 282.7°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #391A9B |
|---|---|
| RGB | rgb(57, 26, 155) |
| HSL | hsl(254, 71%, 35%) |
| HSV | hsv(254, 83%, 61%) |
| CMYK | cmyk(63.2%, 83.2%, 0%, 39.2%) |
| CIE-LAB | lab(23.59, 48.23, -63.81) |
| CIE-LCH | lch(23.59, 79.99, 307.08°) |
| OKLab | oklab(36.32% 0.0414 -0.184) |
| OKLCH | oklch(36.32% 0.189 282.7) |
| XYZ | xyz(7.9713, 3.9746, 31.3511) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.97
Royal
#0C1793
ΔE00 4.13
Ultramarine
#2000B1
ΔE00 4.21
Cobalt Blue
#030AA7
ΔE00 4.25
Royal Blue (survey)
#0504AA
ΔE00 4.50
Indigo (survey)
#380282
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391A9B #7C9B1A
analogous
#1A3B9B #391A9B #7A1A9B
triadic
#391A9B #9B391A #1A9B39
tetradic
#391A9B #9B1A3B #7C9B1A #1A9B7A
square
#391A9B #9B1A3B #7C9B1A #1A9B7A
split-complementary
#391A9B #9B7A1A #3B9B1A
monochromatic
#120832 #261167 #391A9B #4C23CF #714EE1
Accessibility & contrast
On white
11.70
#391A9B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#391A9B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391A9B
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391A9B | 1.00 | 11.70 | 1.80 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C9E
Deuteranopia (green-blind)
#003499
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #391a9b; /* rgb */ color: rgb(57, 26, 155); /* oklch */ color: oklch(36.3% 0.189 282.7);
Tailwind
colors: {
custom: {
50: '#7d5cba',
500: '#391a9b',
950: '#000000',
},
}SCSS
$custom: #391a9b; $custom-light: #7d5cba; $custom-dark: #000000;
JSON
{
"hex": "#391a9b",
"rgb": {
"r": 57,
"g": 26,
"b": 155
},
"hsl": {
"h": 254.419,
"s": 71.271,
"l": 35.49
},
"oklch": {
"l": 0.36322,
"c": 0.18864,
"h": 282.7
},
"luminance": 0.03975
}Semantic roles & 50–950 ramp
primary
#391A9B
secondary
#A7C44D
accent
#EE3AC3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981