#391A6B#391A6B
#391A6B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.132 H 295.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).
Color values
| HEX | #391A6B |
|---|---|
| RGB | rgb(57, 26, 107) |
| HSL | hsl(263, 61%, 26%) |
| HSV | hsv(263, 76%, 42%) |
| CMYK | cmyk(46.7%, 75.7%, 0%, 58%) |
| CIE-LAB | lab(18.67, 34.21, -41.58) |
| CIE-LCH | lch(18.67, 53.85, 309.44°) |
| OKLab | oklab(31.41% 0.056 -0.119) |
| OKLCH | oklch(31.41% 0.132 295.2) |
| XYZ | xyz(4.7099, 2.6701, 14.1743) |
| Luminance | 0.0267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.28
Midnight Blue
#191970
ΔE00 5.34
Indigo (survey)
#380282
ΔE00 5.59
Dark Indigo
#1F0954
ΔE00 5.75
Indigo
#4B0082
ΔE00 5.87
Darkblue (survey)
#030764
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391A6B #4C6B1A
analogous
#1A236B #391A6B #611A6B
triadic
#391A6B #6B391A #1A6B39
tetradic
#391A6B #6B1A23 #4C6B1A #1A6B61
square
#391A6B #6B1A23 #4C6B1A #1A6B61
split-complementary
#391A6B #6B611A #236B1A
monochromatic
#0D0619 #1F0E3A #391A6B #53269C #6E32CD
Accessibility & contrast
On white
13.69
#391A6B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#391A6B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391A6B
13.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391A6B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391A6B | 1.00 | 13.69 | 1.53 | 13.69 |
| #FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#2B2F40
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #391a6b; /* rgb */ color: rgb(57, 26, 107); /* oklch */ color: oklch(31.4% 0.132 295.2);
Tailwind
colors: {
custom: {
50: '#755a96',
500: '#391a6b',
950: '#000000',
},
}SCSS
$custom: #391a6b; $custom-light: #755a96; $custom-dark: #000000;
JSON
{
"hex": "#391a6b",
"rgb": {
"r": 57,
"g": 26,
"b": 107
},
"hsl": {
"h": 262.963,
"s": 60.902,
"l": 26.078
},
"oklch": {
"l": 0.3141,
"c": 0.13158,
"h": 295.2
},
"luminance": 0.0267
}Semantic roles & 50–950 ramp
primary
#391A6B
secondary
#7CA040
accent
#E444A7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040D
muted
#7B797E