#391A9D#391A9D
#391A9D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.5% C 0.191 H 282.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #391A9D |
|---|---|
| RGB | rgb(57, 26, 157) |
| HSL | hsl(254, 72%, 36%) |
| HSV | hsv(254, 83%, 62%) |
| CMYK | cmyk(63.7%, 83.4%, 0%, 38.4%) |
| CIE-LAB | lab(23.81, 48.80, -64.67) |
| CIE-LCH | lch(23.81, 81.01, 307.04°) |
| OKLab | oklab(36.54% 0.0407 -0.1865) |
| OKLCH | oklch(36.54% 0.191 282.3) |
| XYZ | xyz(8.1406, 4.0424, 32.2430) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.69
Ultramarine
#2000B1
ΔE00 4.05
Cobalt Blue
#030AA7
ΔE00 4.17
Royal
#0C1793
ΔE00 4.22
Royal Blue (survey)
#0504AA
ΔE00 4.41
Indigo (survey)
#380282
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391A9D #7E9D1A
analogous
#1A3D9D #391A9D #7A1A9D
triadic
#391A9D #9D391A #1A9D39
tetradic
#391A9D #9D1A3D #7E9D1A #1A9D7A
square
#391A9D #9D1A3D #7E9D1A #1A9D7A
split-complementary
#391A9D #9D7A1A #3D9D1A
monochromatic
#130934 #261168 #391A9D #4C23D2 #724FE2
Accessibility & contrast
On white
11.61
#391A9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#391A9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391A9D
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391A9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391A9D | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA1
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #391a9d; /* rgb */ color: rgb(57, 26, 157); /* oklch */ color: oklch(36.5% 0.191 282.3);
Tailwind
colors: {
custom: {
50: '#7e5dbb',
500: '#391a9d',
950: '#000000',
},
}SCSS
$custom: #391a9d; $custom-light: #7e5dbb; $custom-dark: #000000;
JSON
{
"hex": "#391a9d",
"rgb": {
"r": 57,
"g": 26,
"b": 157
},
"hsl": {
"h": 254.198,
"s": 71.585,
"l": 35.882
},
"oklch": {
"l": 0.36542,
"c": 0.19092,
"h": 282.3
},
"luminance": 0.04043
}Semantic roles & 50–950 ramp
primary
#391A9D
secondary
#A8C44E
accent
#EE39C4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981