#411D8F#411D8F
#411D8F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.171 H 289.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #411D8F |
|---|---|
| RGB | rgb(65, 29, 143) |
| HSL | hsl(259, 66%, 34%) |
| HSV | hsv(259, 80%, 56%) |
| CMYK | cmyk(54.5%, 79.7%, 0%, 43.9%) |
| CIE-LAB | lab(23.62, 44.39, -56.32) |
| CIE-LCH | lch(23.62, 71.71, 308.24°) |
| OKLab | oklab(36.17% 0.0562 -0.162) |
| OKLCH | oklch(36.17% 0.171 289.1) |
| XYZ | xyz(7.5758, 3.9854, 26.3513) |
| Luminance | 0.0399 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.39
Indigo
#4B0082
ΔE00 4.69
Indigo Blue
#3A18B1
ΔE00 4.87
Royal
#0C1793
ΔE00 5.35
Cobalt Blue
#030AA7
ΔE00 6.20
Ultramarine
#2000B1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411D8F #6B8F1D
analogous
#1D328F #411D8F #7A1D8F
triadic
#411D8F #8F411D #1D8F41
tetradic
#411D8F #8F1D32 #6B8F1D #1D8F7A
square
#411D8F #8F1D32 #6B8F1D #1D8F7A
split-complementary
#411D8F #8F7A1D #328F1D
monochromatic
#130829 #2A135C #411D8F #5827C2 #794CDB
Accessibility & contrast
On white
11.68
#411D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#411D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411D8F
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411D8F | 1.00 | 11.68 | 1.80 | 11.68 |
| #FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#223E56
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #411d8f; /* rgb */ color: rgb(65, 29, 143); /* oklch */ color: oklch(36.2% 0.171 289.1);
Tailwind
colors: {
custom: {
50: '#7f5eb1',
500: '#411d8f',
950: '#000000',
},
}SCSS
$custom: #411d8f; $custom-light: #7f5eb1; $custom-dark: #000000;
JSON
{
"hex": "#411d8f",
"rgb": {
"r": 65,
"g": 29,
"b": 143
},
"hsl": {
"h": 258.947,
"s": 66.279,
"l": 33.725
},
"oklch": {
"l": 0.36168,
"c": 0.17146,
"h": 289.1
},
"luminance": 0.03986
}Semantic roles & 50–950 ramp
primary
#411D8F
secondary
#99BD4B
accent
#E93FB3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980