#391C9D#391C9D
#391C9D is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.189 H 282.1°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #391C9D |
|---|---|
| RGB | rgb(57, 28, 157) |
| HSL | hsl(253, 70%, 36%) |
| HSV | hsv(253, 82%, 62%) |
| CMYK | cmyk(63.7%, 82.2%, 0%, 38.4%) |
| CIE-LAB | lab(24.11, 47.92, -64.17) |
| CIE-LCH | lch(24.11, 80.09, 306.75°) |
| OKLab | oklab(36.75% 0.0397 -0.1851) |
| OKLCH | oklch(36.75% 0.189 282.1) |
| XYZ | xyz(8.1865, 4.1341, 32.2583) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.71
Royal
#0C1793
ΔE00 4.26
Ultramarine
#2000B1
ΔE00 4.27
Cobalt Blue
#030AA7
ΔE00 4.35
Royal Blue (survey)
#0504AA
ΔE00 4.61
Indigo (survey)
#380282
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C9D #809D1C
analogous
#1C409D #391C9D #7A1C9D
triadic
#391C9D #9D391C #1C9D39
tetradic
#391C9D #9D1C40 #809D1C #1C9D7A
square
#391C9D #9D1C40 #809D1C #1C9D7A
split-complementary
#391C9D #9D7A1C #409D1C
monochromatic
#130935 #261369 #391C9D #4C25D1 #7353E0
Accessibility & contrast
On white
11.49
#391C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#391C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C9D
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C9D | 1.00 | 11.49 | 1.83 | 11.49 |
| #FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003DA1
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#00445D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #391c9d; /* rgb */ color: rgb(57, 28, 157); /* oklch */ color: oklch(36.7% 0.189 282.1);
Tailwind
colors: {
custom: {
50: '#7d5ebb',
500: '#391c9d',
950: '#000000',
},
}SCSS
$custom: #391c9d; $custom-light: #7d5ebb; $custom-dark: #000000;
JSON
{
"hex": "#391c9d",
"rgb": {
"r": 57,
"g": 28,
"b": 157
},
"hsl": {
"h": 253.488,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.36748,
"c": 0.18933,
"h": 282.1
},
"luminance": 0.04135
}Semantic roles & 50–950 ramp
primary
#391C9D
secondary
#AAC351
accent
#ED3BC5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981