#391C8F#391C8F
#391C8F is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.173 H 284.8°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).
Color values
| HEX | #391C8F |
|---|---|
| RGB | rgb(57, 28, 143) |
| HSL | hsl(255, 67%, 34%) |
| HSV | hsv(255, 80%, 56%) |
| CMYK | cmyk(60.1%, 80.4%, 0%, 43.9%) |
| CIE-LAB | lab(22.59, 43.81, -58.04) |
| CIE-LCH | lch(22.59, 72.72, 307.05°) |
| OKLab | oklab(35.25% 0.0442 -0.1673) |
| OKLCH | oklch(35.25% 0.173 284.8) |
| XYZ | xyz(7.0590, 3.6831, 26.3202) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal
#0C1793
ΔE00 4.14
Indigo (survey)
#380282
ΔE00 4.18
Indigo Blue
#3A18B1
ΔE00 4.72
Indigo
#4B0082
ΔE00 5.26
Cobalt Blue
#030AA7
ΔE00 5.29
Royal Blue (survey)
#0504AA
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#391C8F #728F1C
analogous
#1C398F #391C8F #721C8F
triadic
#391C8F #8F391C #1C8F39
tetradic
#391C8F #8F1C39 #728F1C #1C8F72
square
#391C8F #8F1C39 #728F1C #1C8F72
split-complementary
#391C8F #8F721C #398F1C
monochromatic
#100829 #25125C #391C8F #4D26C2 #6F4ADC
Accessibility & contrast
On white
12.09
#391C8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#391C8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #391C8F
12.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##391C8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##391C8F | 1.00 | 12.09 | 1.74 | 12.09 |
| #FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#053E55
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #391c8f; /* rgb */ color: rgb(57, 28, 143); /* oklch */ color: oklch(35.2% 0.173 284.8);
Tailwind
colors: {
custom: {
50: '#7b5db1',
500: '#391c8f',
950: '#000000',
},
}SCSS
$custom: #391c8f; $custom-light: #7b5db1; $custom-dark: #000000;
JSON
{
"hex": "#391c8f",
"rgb": {
"r": 57,
"g": 28,
"b": 143
},
"hsl": {
"h": 255.13,
"s": 67.251,
"l": 33.529
},
"oklch": {
"l": 0.35248,
"c": 0.173,
"h": 284.8
},
"luminance": 0.03684
}Semantic roles & 50–950 ramp
primary
#391C8F
secondary
#A0BE49
accent
#EA3EBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980