#391A62#391A62
#391A62 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.120 H 298.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #391A62 |
|---|---|
| RGB | rgb(57, 26, 98) |
| HSL | hsl(266, 58%, 24%) |
| HSV | hsv(266, 73%, 38%) |
| CMYK | cmyk(41.8%, 73.5%, 0%, 61.6%) |
| CIE-LAB | lab(17.88, 31.60, -36.97) |
| CIE-LCH | lch(17.88, 48.64, 310.52°) |
| OKLab | oklab(30.6% 0.0579 -0.1055) |
| OKLCH | oklch(30.6% 0.12 298.7) |
| XYZ | xyz(4.2608, 2.4904, 11.8091) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Dark Indigo
#1F0954
ΔE00 5.43
Royal Purple (survey)
#4B006E
ΔE00 5.66
Midnight Blue
#191970
ΔE00 6.46
Indigo
#4B0082
ΔE00 7.14
Indigo (survey)
#380282
ΔE00 7.17
Darkblue (survey)
#030764
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391A62 #43621A
analogous
#1A1F62 #391A62 #5D1A62
triadic
#391A62 #62391A #1A6239
tetradic
#391A62 #621A1F #43621A #1A625D
square
#391A62 #621A1F #43621A #1A625D
split-complementary
#391A62 #625D1A #1F621A
monochromatic
#0E0618 #1D0D32 #391A62 #552792 #7134C3
Accessibility & contrast
On white
14.02
#391A62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#391A62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391A62
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391A62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391A62 | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C64
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#2F2B3B
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #391a62; /* rgb */ color: rgb(57, 26, 98); /* oklch */ color: oklch(30.6% 0.120 298.7);
Tailwind
colors: {
custom: {
50: '#74598f',
500: '#391a62',
950: '#000000',
},
}SCSS
$custom: #391a62; $custom-light: #74598f; $custom-dark: #000000;
JSON
{
"hex": "#391a62",
"rgb": {
"r": 57,
"g": 26,
"b": 98
},
"hsl": {
"h": 265.833,
"s": 58.065,
"l": 24.314
},
"oklch": {
"l": 0.30596,
"c": 0.12032,
"h": 298.7
},
"luminance": 0.0249
}Semantic roles & 50–950 ramp
primary
#391A62
secondary
#729840
accent
#E1479F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D