#391A6C#391A6C
#391A6C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.133 H 294.8°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).
Color values
| HEX | #391A6C |
|---|---|
| RGB | rgb(57, 26, 108) |
| HSL | hsl(263, 61%, 26%) |
| HSV | hsv(263, 76%, 42%) |
| CMYK | cmyk(47.2%, 75.9%, 0%, 57.6%) |
| CIE-LAB | lab(18.76, 34.50, -42.09) |
| CIE-LCH | lch(18.76, 54.42, 309.34°) |
| OKLab | oklab(31.5% 0.0558 -0.1205) |
| OKLCH | oklch(31.5% 0.133 294.8) |
| XYZ | xyz(4.7628, 2.6912, 14.4530) |
| Luminance | 0.0269 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.25
Royal Purple (survey)
#4B006E
ΔE00 5.28
Indigo (survey)
#380282
ΔE00 5.44
Indigo
#4B0082
ΔE00 5.75
Dark Indigo
#1F0954
ΔE00 5.82
Dark Royal Blue
#02066F
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391A6C #4D6C1A
analogous
#1A246C #391A6C #621A6C
triadic
#391A6C #6C391A #1A6C39
tetradic
#391A6C #6C1A24 #4D6C1A #1A6C62
square
#391A6C #6C1A24 #4D6C1A #1A6C62
split-complementary
#391A6C #6C621A #246C1A
monochromatic
#0D0619 #1F0E3B #391A6C #53269D #6D33CE
Accessibility & contrast
On white
13.65
#391A6C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#391A6C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391A6C
13.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391A6C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391A6C | 1.00 | 13.65 | 1.54 | 13.65 |
| #FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#2B2F41
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #391a6c; /* rgb */ color: rgb(57, 26, 108); /* oklch */ color: oklch(31.5% 0.133 294.8);
Tailwind
colors: {
custom: {
50: '#755a97',
500: '#391a6c',
950: '#000000',
},
}SCSS
$custom: #391a6c; $custom-light: #755a97; $custom-dark: #000000;
JSON
{
"hex": "#391a6c",
"rgb": {
"r": 57,
"g": 26,
"b": 108
},
"hsl": {
"h": 262.683,
"s": 61.194,
"l": 26.275
},
"oklch": {
"l": 0.31503,
"c": 0.13281,
"h": 294.8
},
"luminance": 0.02691
}Semantic roles & 50–950 ramp
primary
#391A6C
secondary
#7DA141
accent
#E443A8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E