#391A7C#391A7C
#391A7C is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.152 H 289.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #391A7C |
|---|---|
| RGB | rgb(57, 26, 124) |
| HSL | hsl(259, 65%, 29%) |
| HSV | hsv(259, 79%, 49%) |
| CMYK | cmyk(54%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(20.30, 39.19, -49.88) |
| CIE-LCH | lch(20.30, 63.43, 308.16°) |
| OKLab | oklab(33.06% 0.0515 -0.1434) |
| OKLCH | oklch(33.06% 0.152 289.8) |
| XYZ | xyz(5.6938, 3.0636, 19.3562) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.62
Indigo
#4B0082
ΔE00 4.56
Midnight Blue
#191970
ΔE00 4.84
Royal
#0C1793
ΔE00 5.71
Royal Purple (survey)
#4B006E
ΔE00 5.93
Darkblue
#00008B
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391A7C #5D7C1A
analogous
#1A2C7C #391A7C #6A1A7C
triadic
#391A7C #7C391A #1A7C39
tetradic
#391A7C #7C1A2C #5D7C1A #1A7C6A
square
#391A7C #7C1A2C #5D7C1A #1A7C6A
split-complementary
#391A7C #7C6A1A #2C7C1A
monochromatic
#0C0519 #220F49 #391A7C #5025AF #6C3BD6
Accessibility & contrast
On white
13.02
#391A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#391A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391A7C
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391A7C | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#20354A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #391a7c; /* rgb */ color: rgb(57, 26, 124); /* oklch */ color: oklch(33.1% 0.152 289.8);
Tailwind
colors: {
custom: {
50: '#775aa3',
500: '#391a7c',
950: '#000000',
},
}SCSS
$custom: #391a7c; $custom-light: #775aa3; $custom-dark: #000000;
JSON
{
"hex": "#391a7c",
"rgb": {
"r": 57,
"g": 26,
"b": 124
},
"hsl": {
"h": 258.98,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.33055,
"c": 0.15233,
"h": 289.8
},
"luminance": 0.03064
}Semantic roles & 50–950 ramp
primary
#391A7C
secondary
#8DB042
accent
#E840B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F