#411A7C#411A7C
#411A7C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.153 H 295.0°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #411A7C |
|---|---|
| RGB | rgb(65, 26, 124) |
| HSL | hsl(264, 65%, 29%) |
| HSV | hsv(264, 79%, 49%) |
| CMYK | cmyk(47.6%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(21.27, 40.46, -48.24) |
| CIE-LCH | lch(21.27, 62.96, 309.99°) |
| OKLab | oklab(33.96% 0.0644 -0.1383) |
| OKLCH | oklch(33.96% 0.153 295) |
| XYZ | xyz(6.1865, 3.3177, 19.3793) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.72
Indigo (survey)
#380282
ΔE00 3.88
Royal Purple (survey)
#4B006E
ΔE00 4.94
Midnight Blue
#191970
ΔE00 6.19
Royal
#0C1793
ΔE00 6.89
Darkblue
#00008B
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411A7C #557C1A
analogous
#1A247C #411A7C #721A7C
triadic
#411A7C #7C411A #1A7C41
tetradic
#411A7C #7C1A24 #557C1A #1A7C72
square
#411A7C #7C1A24 #557C1A #1A7C72
split-complementary
#411A7C #7C721A #247C1A
monochromatic
#0D0519 #260F49 #411A7C #5C25AF #783BD6
Accessibility & contrast
On white
12.62
#411A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#411A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411A7C
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411A7C | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00347F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#30354A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #411a7c; /* rgb */ color: rgb(65, 26, 124); /* oklch */ color: oklch(34.0% 0.153 295.0);
Tailwind
colors: {
custom: {
50: '#7c5ba3',
500: '#411a7c',
950: '#000000',
},
}SCSS
$custom: #411a7c; $custom-light: #7c5ba3; $custom-dark: #000000;
JSON
{
"hex": "#411a7c",
"rgb": {
"r": 65,
"g": 26,
"b": 124
},
"hsl": {
"h": 263.878,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.33962,
"c": 0.15254,
"h": 295
},
"luminance": 0.03318
}Semantic roles & 50–950 ramp
primary
#411A7C
secondary
#84B042
accent
#E840A5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F