#411F7F#411F7F
#411F7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.150 H 293.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).
Color values
| HEX | #411F7F |
|---|---|
| RGB | rgb(65, 31, 127) |
| HSL | hsl(261, 61%, 31%) |
| HSV | hsv(261, 76%, 50%) |
| CMYK | cmyk(48.8%, 75.6%, 0%, 50.2%) |
| CIE-LAB | lab(22.43, 38.82, -48.25) |
| CIE-LCH | lch(22.43, 61.93, 308.82°) |
| OKLab | oklab(34.86% 0.0591 -0.1383) |
| OKLCH | oklch(34.86% 0.15 293.1) |
| XYZ | xyz(6.4997, 3.6359, 20.4339) |
| Luminance | 0.0364 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.60
Indigo (survey)
#380282
ΔE00 4.66
Royal Purple (survey)
#4B006E
ΔE00 5.97
Midnight Blue
#191970
ΔE00 6.15
Royal
#0C1793
ΔE00 6.69
Indigo Blue
#3A18B1
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411F7F #5D7F1F
analogous
#1F2D7F #411F7F #711F7F
triadic
#411F7F #7F411F #1F7F41
tetradic
#411F7F #7F1F2D #5D7F1F #1F7F71
square
#411F7F #7F1F2D #5D7F1F #1F7F71
split-complementary
#411F7F #7F711F #2D7F1F
monochromatic
#0F071D #28134E #411F7F #5A2BB0 #7846D2
Accessibility & contrast
On white
12.16
#411F7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#411F7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411F7F
12.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411F7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411F7F | 1.00 | 12.16 | 1.73 | 12.16 |
| #FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00347D
Tritanopia (blue-blind)
#2E384D
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #411f7f; /* rgb */ color: rgb(65, 31, 127); /* oklch */ color: oklch(34.9% 0.150 293.1);
Tailwind
colors: {
custom: {
50: '#7c5ea5',
500: '#411f7f',
950: '#000000',
},
}SCSS
$custom: #411f7f; $custom-light: #7c5ea5; $custom-dark: #000000;
JSON
{
"hex": "#411f7f",
"rgb": {
"r": 65,
"g": 31,
"b": 127
},
"hsl": {
"h": 261.25,
"s": 60.759,
"l": 30.98
},
"oklch": {
"l": 0.34861,
"c": 0.15042,
"h": 293.1
},
"luminance": 0.03636
}Semantic roles & 50–950 ramp
primary
#411F7F
secondary
#8CB248
accent
#E444AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F