#411F8D#411F8D
#411F8D is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.167 H 289.3°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #411F8D |
|---|---|
| RGB | rgb(65, 31, 141) |
| HSL | hsl(259, 64%, 34%) |
| HSV | hsv(259, 78%, 55%) |
| CMYK | cmyk(53.9%, 78%, 0%, 44.7%) |
| CIE-LAB | lab(23.76, 42.86, -54.85) |
| CIE-LCH | lch(23.76, 69.61, 308.00°) |
| OKLab | oklab(36.2% 0.0553 -0.1577) |
| OKLCH | oklch(36.2% 0.167 289.3) |
| XYZ | xyz(7.4763, 4.0265, 25.5774) |
| Luminance | 0.0403 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.64
Indigo
#4B0082
ΔE00 4.89
Indigo Blue
#3A18B1
ΔE00 5.23
Royal
#0C1793
ΔE00 5.51
Cobalt Blue
#030AA7
ΔE00 6.57
Ultramarine
#2000B1
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411F8D #6B8D1F
analogous
#1F348D #411F8D #781F8D
triadic
#411F8D #8D411F #1F8D41
tetradic
#411F8D #8D1F34 #6B8D1F #1F8D78
square
#411F8D #8D1F34 #6B8D1F #1F8D78
split-complementary
#411F8D #8D781F #348D1F
monochromatic
#130929 #2A145B #411F8D #582ABF #794ED8
Accessibility & contrast
On white
11.63
#411F8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#411F8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411F8D
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411F8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411F8D | 1.00 | 11.63 | 1.81 | 11.63 |
| #FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00368B
Tritanopia (blue-blind)
#243E55
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #411f8d; /* rgb */ color: rgb(65, 31, 141); /* oklch */ color: oklch(36.2% 0.167 289.3);
Tailwind
colors: {
custom: {
50: '#7e5faf',
500: '#411f8d',
950: '#000000',
},
}SCSS
$custom: #411f8d; $custom-light: #7e5faf; $custom-dark: #000000;
JSON
{
"hex": "#411f8d",
"rgb": {
"r": 65,
"g": 31,
"b": 141
},
"hsl": {
"h": 258.545,
"s": 63.953,
"l": 33.725
},
"oklch": {
"l": 0.36203,
"c": 0.16711,
"h": 289.3
},
"luminance": 0.04027
}Semantic roles & 50–950 ramp
primary
#411F8D
secondary
#99BB4D
accent
#E741B4
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0511
muted
#7C7980