#411B7E#411B7E
#411B7E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.154 H 294.2°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).
Color values
| HEX | #411B7E |
|---|---|
| RGB | rgb(65, 27, 126) |
| HSL | hsl(263, 65%, 30%) |
| HSV | hsv(263, 79%, 49%) |
| CMYK | cmyk(48.4%, 78.6%, 0%, 50.6%) |
| CIE-LAB | lab(21.63, 40.54, -48.92) |
| CIE-LCH | lch(21.63, 63.54, 309.65°) |
| OKLab | oklab(34.27% 0.063 -0.1403) |
| OKLCH | oklch(34.27% 0.154 294.2) |
| XYZ | xyz(6.3368, 3.4139, 20.0597) |
| Luminance | 0.0341 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.83
Indigo (survey)
#380282
ΔE00 3.93
Royal Purple (survey)
#4B006E
ΔE00 5.27
Midnight Blue
#191970
ΔE00 6.18
Royal
#0C1793
ΔE00 6.66
Indigo Blue
#3A18B1
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411B7E #587E1B
analogous
#1B277E #411B7E #721B7E
triadic
#411B7E #7E411B #1B7E41
tetradic
#411B7E #7E1B27 #587E1B #1B7E72
square
#411B7E #7E1B27 #587E1B #1B7E72
split-complementary
#411B7E #7E721B #277E1B
monochromatic
#0D0519 #27104C #411B7E #5B26B0 #783ED6
Accessibility & contrast
On white
12.48
#411B7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#411B7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411B7E
12.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411B7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411B7E | 1.00 | 12.48 | 1.68 | 12.48 |
| #FFFFFF | 12.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#2F364B
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #411b7e; /* rgb */ color: rgb(65, 27, 126); /* oklch */ color: oklch(34.3% 0.154 294.2);
Tailwind
colors: {
custom: {
50: '#7c5ca4',
500: '#411b7e',
950: '#000000',
},
}SCSS
$custom: #411b7e; $custom-light: #7c5ca4; $custom-dark: #000000;
JSON
{
"hex": "#411b7e",
"rgb": {
"r": 65,
"g": 27,
"b": 126
},
"hsl": {
"h": 263.03,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.3427,
"c": 0.15377,
"h": 294.2
},
"luminance": 0.03414
}Semantic roles & 50–950 ramp
primary
#411B7E
secondary
#87B243
accent
#E840A7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F