#391A5C#391A5C
#391A5C is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.113 H 301.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).
Color values
| HEX | #391A5C |
|---|---|
| RGB | rgb(57, 26, 92) |
| HSL | hsl(268, 56%, 23%) |
| HSV | hsv(268, 72%, 36%) |
| CMYK | cmyk(38%, 71.7%, 0%, 63.9%) |
| CIE-LAB | lab(17.37, 29.89, -33.80) |
| CIE-LCH | lch(17.37, 45.13, 311.49°) |
| OKLab | oklab(30.08% 0.0588 -0.0962) |
| OKLCH | oklch(30.08% 0.113 301.4) |
| XYZ | xyz(3.9880, 2.3813, 10.3727) |
| Luminance | 0.0238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 5.65
Royal Purple (survey)
#4B006E
ΔE00 6.25
Dark Purple
#35063E
ΔE00 7.12
Dark Violet
#34013F
ΔE00 7.17
Deep Purple
#36013F
ΔE00 7.35
Midnight Blue
#191970
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391A5C #3D5C1A
analogous
#1A1C5C #391A5C #5A1A5C
triadic
#391A5C #5C391A #1A5C39
tetradic
#391A5C #5C1A1C #3D5C1A #1A5C5A
square
#391A5C #5C1A1C #3D5C1A #1A5C5A
split-complementary
#391A5C #5C5A1A #1C5C1A
monochromatic
#0F0718 #1B0D2C #391A5C #57278C #7435BB
Accessibility & contrast
On white
14.23
#391A5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#391A5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391A5C
14.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391A5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391A5C | 1.00 | 14.23 | 1.48 | 14.23 |
| #FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#002A5B
Tritanopia (blue-blind)
#322938
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #391a5c; /* rgb */ color: rgb(57, 26, 92); /* oklch */ color: oklch(30.1% 0.113 301.4);
Tailwind
colors: {
custom: {
50: '#73598b',
500: '#391a5c',
950: '#000000',
},
}SCSS
$custom: #391a5c; $custom-light: #73598b; $custom-dark: #000000;
JSON
{
"hex": "#391a5c",
"rgb": {
"r": 57,
"g": 26,
"b": 92
},
"hsl": {
"h": 268.182,
"s": 55.932,
"l": 23.137
},
"oklch": {
"l": 0.30079,
"c": 0.11272,
"h": 301.4
},
"luminance": 0.02381
}Semantic roles & 50–950 ramp
primary
#391A5C
secondary
#6B9240
accent
#DF4998
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D