#411D7E#411D7E
#411D7E is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.152 H 293.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).
Color values
| HEX | #411D7E |
|---|---|
| RGB | rgb(65, 29, 126) |
| HSL | hsl(262, 63%, 30%) |
| HSV | hsv(262, 77%, 49%) |
| CMYK | cmyk(48.4%, 77%, 0%, 50.6%) |
| CIE-LAB | lab(21.98, 39.56, -48.36) |
| CIE-LCH | lch(21.98, 62.48, 309.29°) |
| OKLab | oklab(34.51% 0.0612 -0.1386) |
| OKLCH | oklch(34.51% 0.152 293.8) |
| XYZ | xyz(6.3842, 3.5087, 20.0755) |
| Luminance | 0.0351 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 4.31
Royal Purple (survey)
#4B006E
ΔE00 5.56
Midnight Blue
#191970
ΔE00 6.14
Royal
#0C1793
ΔE00 6.72
Indigo Blue
#3A18B1
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411D7E #5A7E1D
analogous
#1D297E #411D7E #711D7E
triadic
#411D7E #7E411D #1D7E41
tetradic
#411D7E #7E1D29 #5A7E1D #1D7E71
square
#411D7E #7E1D29 #5A7E1D #1D7E71
split-complementary
#411D7E #7E711D #297E1D
monochromatic
#0E061B #27124C #411D7E #5B28B0 #7842D3
Accessibility & contrast
On white
12.34
#411D7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#411D7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411D7E
12.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411D7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411D7E | 1.00 | 12.34 | 1.70 | 12.34 |
| #FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#2F374C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #411d7e; /* rgb */ color: rgb(65, 29, 126); /* oklch */ color: oklch(34.5% 0.152 293.8);
Tailwind
colors: {
custom: {
50: '#7c5da4',
500: '#411d7e',
950: '#000000',
},
}SCSS
$custom: #411d7e; $custom-light: #7c5da4; $custom-dark: #000000;
JSON
{
"hex": "#411d7e",
"rgb": {
"r": 65,
"g": 29,
"b": 126
},
"hsl": {
"h": 262.268,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.34513,
"c": 0.15153,
"h": 293.8
},
"luminance": 0.03509
}Semantic roles & 50–950 ramp
primary
#411D7E
secondary
#89B145
accent
#E642A9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F