#411A7E#411A7E
#411A7E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.155 H 294.3°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #411A7E |
|---|---|
| RGB | rgb(65, 26, 126) |
| HSL | hsl(263, 66%, 30%) |
| HSV | hsv(263, 79%, 49%) |
| CMYK | cmyk(48.4%, 79.4%, 0%, 50.6%) |
| CIE-LAB | lab(21.46, 41.02, -49.19) |
| CIE-LCH | lch(21.46, 64.05, 309.82°) |
| OKLab | oklab(34.15% 0.0638 -0.1411) |
| OKLCH | oklch(34.15% 0.155 294.3) |
| XYZ | xyz(6.3142, 3.3688, 20.0522) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.66
Indigo (survey)
#380282
ΔE00 3.75
Royal Purple (survey)
#4B006E
ΔE00 5.13
Midnight Blue
#191970
ΔE00 6.21
Royal
#0C1793
ΔE00 6.65
Darkblue
#00008B
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411A7E #577E1A
analogous
#1A257E #411A7E #731A7E
triadic
#411A7E #7E411A #1A7E41
tetradic
#411A7E #7E1A25 #577E1A #1A7E73
square
#411A7E #7E1A25 #577E1A #1A7E73
split-complementary
#411A7E #7E731A #257E1A
monochromatic
#0D0519 #27104B #411A7E #5B24B1 #783CD7
Accessibility & contrast
On white
12.55
#411A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#411A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411A7E
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411A7E | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#2F364B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #411a7e; /* rgb */ color: rgb(65, 26, 126); /* oklch */ color: oklch(34.2% 0.155 294.3);
Tailwind
colors: {
custom: {
50: '#7c5ba4',
500: '#411a7e',
950: '#000000',
},
}SCSS
$custom: #411a7e; $custom-light: #7c5ba4; $custom-dark: #000000;
JSON
{
"hex": "#411a7e",
"rgb": {
"r": 65,
"g": 26,
"b": 126
},
"hsl": {
"h": 263.4,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.34154,
"c": 0.15484,
"h": 294.3
},
"luminance": 0.03369
}Semantic roles & 50–950 ramp
primary
#411A7E
secondary
#86B242
accent
#E93FA7
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A040F
muted
#7C797F