#411F8F#411F8F
#411F8F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.169 H 288.8°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).
Color values
| HEX | #411F8F |
|---|---|
| RGB | rgb(65, 31, 143) |
| HSL | hsl(258, 64%, 34%) |
| HSV | hsv(258, 78%, 56%) |
| CMYK | cmyk(54.5%, 78.3%, 0%, 43.9%) |
| CIE-LAB | lab(23.96, 43.43, -55.77) |
| CIE-LCH | lch(23.96, 70.69, 307.91°) |
| OKLab | oklab(36.4% 0.0547 -0.1604) |
| OKLCH | oklch(36.4% 0.169 288.8) |
| XYZ | xyz(7.6264, 4.0866, 26.3682) |
| Luminance | 0.0409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.74
Indigo Blue
#3A18B1
ΔE00 4.93
Indigo
#4B0082
ΔE00 5.01
Royal
#0C1793
ΔE00 5.42
Cobalt Blue
#030AA7
ΔE00 6.38
Ultramarine
#2000B1
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411F8F #6D8F1F
analogous
#1F358F #411F8F #791F8F
triadic
#411F8F #8F411F #1F8F41
tetradic
#411F8F #8F1F35 #6D8F1F #1F8F79
square
#411F8F #8F1F35 #6D8F1F #1F8F79
split-complementary
#411F8F #8F791F #358F1F
monochromatic
#13092A #2A145D #411F8F #582AC1 #794FD9
Accessibility & contrast
On white
11.55
#411F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#411F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411F8F
11.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411F8F | 1.00 | 11.55 | 1.82 | 11.55 |
| #FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#223F56
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #411f8f; /* rgb */ color: rgb(65, 31, 143); /* oklch */ color: oklch(36.4% 0.169 288.8);
Tailwind
colors: {
custom: {
50: '#7f5fb1',
500: '#411f8f',
950: '#000000',
},
}SCSS
$custom: #411f8f; $custom-light: #7f5fb1; $custom-dark: #000000;
JSON
{
"hex": "#411f8f",
"rgb": {
"r": 65,
"g": 31,
"b": 143
},
"hsl": {
"h": 258.214,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.364,
"c": 0.16947,
"h": 288.8
},
"luminance": 0.04087
}Semantic roles & 50–950 ramp
primary
#411F8F
secondary
#9BBC4E
accent
#E740B5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980