#391E6F#391E6F
#391E6F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.131 H 292.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #391E6F |
|---|---|
| RGB | rgb(57, 30, 111) |
| HSL | hsl(260, 57%, 28%) |
| HSV | hsv(260, 73%, 44%) |
| CMYK | cmyk(48.6%, 73%, 0%, 56.5%) |
| CIE-LAB | lab(19.83, 33.18, -42.30) |
| CIE-LCH | lch(19.83, 53.76, 308.11°) |
| OKLab | oklab(32.34% 0.051 -0.1212) |
| OKLCH | oklch(32.34% 0.131 292.8) |
| XYZ | xyz(5.0201, 2.9459, 15.3400) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight Blue
#191970
ΔE00 5.01
Indigo (survey)
#380282
ΔE00 5.79
Royal Purple (survey)
#4B006E
ΔE00 6.08
Indigo
#4B0082
ΔE00 6.16
Dark Indigo
#1F0954
ΔE00 6.49
Dark Royal Blue
#02066F
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391E6F #546F1E
analogous
#1E2B6F #391E6F #611E6F
triadic
#391E6F #6F391E #1E6F39
tetradic
#391E6F #6F1E2B #546F1E #1E6F61
square
#391E6F #6F1E2B #546F1E #1E6F61
split-complementary
#391E6F #6F611E #2B6F1E
monochromatic
#0C0718 #20113F #391E6F #522B9F #6C3DCB
Accessibility & contrast
On white
13.21
#391E6F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#391E6F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391E6F
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391E6F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391E6F | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003171
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#293244
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #391e6f; /* rgb */ color: rgb(57, 30, 111); /* oklch */ color: oklch(32.3% 0.131 292.8);
Tailwind
colors: {
custom: {
50: '#755c99',
500: '#391e6f',
950: '#000000',
},
}SCSS
$custom: #391e6f; $custom-light: #755c99; $custom-dark: #000000;
JSON
{
"hex": "#391e6f",
"rgb": {
"r": 57,
"g": 30,
"b": 111
},
"hsl": {
"h": 260,
"s": 57.447,
"l": 27.647
},
"oklch": {
"l": 0.32344,
"c": 0.13146,
"h": 292.8
},
"luminance": 0.02946
}Semantic roles & 50–950 ramp
primary
#391E6F
secondary
#84A346
accent
#E147AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E