#391CAD#391CAD
#391CAD is a dark, highly saturated violet. Relative luminance 0.047; OKLCH L 38.5% C 0.208 H 279.5°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #391CAD |
|---|---|
| RGB | rgb(57, 28, 173) |
| HSL | hsl(252, 72%, 39%) |
| HSV | hsv(252, 84%, 68%) |
| CMYK | cmyk(67.1%, 83.8%, 0%, 32.2%) |
| CIE-LAB | lab(25.91, 52.54, -70.89) |
| CIE-LCH | lch(25.91, 88.24, 306.55°) |
| OKLab | oklab(38.52% 0.0343 -0.2047) |
| OKLCH | oklch(38.52% 0.208 279.5) |
| XYZ | xyz(9.6430, 4.7167, 39.9293) |
| Luminance | 0.0472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 0.75
Ultramarine
#2000B1
ΔE00 3.69
True Blue
#010FCC
ΔE00 4.27
Cobalt Blue
#030AA7
ΔE00 4.45
Royal Blue (survey)
#0504AA
ΔE00 4.56
Mediumblue
#0000CD
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391CAD #90AD1C
analogous
#1C48AD #391CAD #821CAD
triadic
#391CAD #AD391C #1CAD39
tetradic
#391CAD #AD1C48 #90AD1C #1CAD82
square
#391CAD #AD1C48 #90AD1C #1CAD82
split-complementary
#391CAD #AD821C #48AD1C
monochromatic
#160B44 #281378 #391CAD #4D2ADC #795EE5
Accessibility & contrast
On white
10.81
#391CAD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#391CAD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391CAD
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391CAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391CAD | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#004A67
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #391cad; /* rgb */ color: rgb(57, 28, 173); /* oklch */ color: oklch(38.5% 0.208 279.5);
Tailwind
colors: {
custom: {
50: '#815fc7',
500: '#391cad',
950: '#000000',
},
}SCSS
$custom: #391cad; $custom-light: #815fc7; $custom-dark: #000000;
JSON
{
"hex": "#391cad",
"rgb": {
"r": 57,
"g": 28,
"b": 173
},
"hsl": {
"h": 252,
"s": 72.139,
"l": 39.412
},
"oklch": {
"l": 0.38518,
"c": 0.20754,
"h": 279.5
},
"luminance": 0.04717
}Semantic roles & 50–950 ramp
primary
#391CAD
secondary
#B3C95C
accent
#EF39CA
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982