#391BA0#391BA0
#391BA0 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.194 H 281.7°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).
Color values
| HEX | #391BA0 |
|---|---|
| RGB | rgb(57, 27, 160) |
| HSL | hsl(254, 71%, 37%) |
| HSV | hsv(254, 83%, 63%) |
| CMYK | cmyk(64.4%, 83.1%, 0%, 37.3%) |
| CIE-LAB | lab(24.29, 49.23, -65.70) |
| CIE-LCH | lch(24.29, 82.10, 306.85°) |
| OKLab | oklab(36.97% 0.0392 -0.1896) |
| OKLCH | oklch(36.97% 0.194 281.7) |
| XYZ | xyz(8.4224, 4.1912, 33.6160) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.28
Ultramarine
#2000B1
ΔE00 3.95
Cobalt Blue
#030AA7
ΔE00 4.17
Royal
#0C1793
ΔE00 4.39
Royal Blue (survey)
#0504AA
ΔE00 4.40
Indigo (survey)
#380282
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391BA0 #82A01B
analogous
#1B40A0 #391BA0 #7C1BA0
triadic
#391BA0 #A0391B #1BA039
tetradic
#391BA0 #A01B40 #82A01B #1BA07C
square
#391BA0 #A01B40 #82A01B #1BA07C
split-complementary
#391BA0 #A07C1B #40A01B
monochromatic
#140937 #26126C #391BA0 #4C24D4 #7453E2
Accessibility & contrast
On white
11.42
#391BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#391BA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391BA0
11.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391BA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391BA0 | 1.00 | 11.42 | 1.84 | 11.42 |
| #FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #391ba0; /* rgb */ color: rgb(57, 27, 160); /* oklch */ color: oklch(37.0% 0.194 281.7);
Tailwind
colors: {
custom: {
50: '#7e5dbd',
500: '#391ba0',
950: '#000000',
},
}SCSS
$custom: #391ba0; $custom-light: #7e5dbd; $custom-dark: #000000;
JSON
{
"hex": "#391ba0",
"rgb": {
"r": 57,
"g": 27,
"b": 160
},
"hsl": {
"h": 253.534,
"s": 71.123,
"l": 36.667
},
"oklch": {
"l": 0.36973,
"c": 0.19357,
"h": 281.7
},
"luminance": 0.04192
}Semantic roles & 50–950 ramp
primary
#391BA0
secondary
#ABC552
accent
#EE3AC5
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981