#391C9C#391C9C
#391C9C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.6% C 0.188 H 282.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).
Color values
| HEX | #391C9C |
|---|---|
| RGB | rgb(57, 28, 156) |
| HSL | hsl(254, 70%, 36%) |
| HSV | hsv(254, 82%, 61%) |
| CMYK | cmyk(63.5%, 82.1%, 0%, 38.8%) |
| CIE-LAB | lab(24.00, 47.63, -63.74) |
| CIE-LCH | lch(24.00, 79.58, 306.77°) |
| OKLab | oklab(36.64% 0.04 -0.1839) |
| OKLCH | oklch(36.64% 0.188 282.3) |
| XYZ | xyz(8.1015, 4.1001, 31.8105) |
| Luminance | 0.0410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.85
Royal
#0C1793
ΔE00 4.22
Ultramarine
#2000B1
ΔE00 4.35
Cobalt Blue
#030AA7
ΔE00 4.39
Royal Blue (survey)
#0504AA
ΔE00 4.66
Indigo (survey)
#380282
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C9C #7F9C1C
analogous
#1C3F9C #391C9C #791C9C
triadic
#391C9C #9C391C #1C9C39
tetradic
#391C9C #9C1C3F #7F9C1C #1C9C79
square
#391C9C #9C1C3F #7F9C1C #1C9C79
split-complementary
#391C9C #9C791C #3F9C1C
monochromatic
#130934 #261368 #391C9C #4C25D0 #7252E0
Accessibility & contrast
On white
11.54
#391C9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#391C9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C9C
11.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C9C | 1.00 | 11.54 | 1.82 | 11.54 |
| #FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #391c9c; /* rgb */ color: rgb(57, 28, 156); /* oklch */ color: oklch(36.6% 0.188 282.3);
Tailwind
colors: {
custom: {
50: '#7d5eba',
500: '#391c9c',
950: '#000000',
},
}SCSS
$custom: #391c9c; $custom-light: #7d5eba; $custom-dark: #000000;
JSON
{
"hex": "#391c9c",
"rgb": {
"r": 57,
"g": 28,
"b": 156
},
"hsl": {
"h": 253.594,
"s": 69.565,
"l": 36.078
},
"oklch": {
"l": 0.3664,
"c": 0.18818,
"h": 282.3
},
"luminance": 0.04101
}Semantic roles & 50–950 ramp
primary
#391C9C
secondary
#A9C351
accent
#EC3BC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981