#411F7E#411F7E
#411F7E is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.149 H 293.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #411F7E |
|---|---|
| RGB | rgb(65, 31, 126) |
| HSL | hsl(261, 61%, 31%) |
| HSV | hsv(261, 75%, 49%) |
| CMYK | cmyk(48.4%, 75.4%, 0%, 50.6%) |
| CIE-LAB | lab(22.34, 38.54, -47.77) |
| CIE-LCH | lch(22.34, 61.37, 308.90°) |
| OKLab | oklab(34.77% 0.0593 -0.1369) |
| OKLCH | oklch(34.77% 0.149 293.4) |
| XYZ | xyz(6.4348, 3.6099, 20.0924) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.62
Indigo (survey)
#380282
ΔE00 4.71
Royal Purple (survey)
#4B006E
ΔE00 5.89
Midnight Blue
#191970
ΔE00 6.13
Royal
#0C1793
ΔE00 6.80
Indigo Blue
#3A18B1
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411F7E #5C7E1F
analogous
#1F2C7E #411F7E #701F7E
triadic
#411F7E #7E411F #1F7E41
tetradic
#411F7E #7E1F2C #5C7E1F #1F7E70
square
#411F7E #7E1F2C #5C7E1F #1F7E70
split-complementary
#411F7E #7E701F #2C7E1F
monochromatic
#0E071C #28134D #411F7E #5A2BAF #7846D1
Accessibility & contrast
On white
12.20
#411F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#411F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411F7E
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411F7E | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#2F384C
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #411f7e; /* rgb */ color: rgb(65, 31, 126); /* oklch */ color: oklch(34.8% 0.149 293.4);
Tailwind
colors: {
custom: {
50: '#7c5ea4',
500: '#411f7e',
950: '#000000',
},
}SCSS
$custom: #411f7e; $custom-light: #7c5ea4; $custom-dark: #000000;
JSON
{
"hex": "#411f7e",
"rgb": {
"r": 65,
"g": 31,
"b": 126
},
"hsl": {
"h": 261.474,
"s": 60.51,
"l": 30.784
},
"oklch": {
"l": 0.34768,
"c": 0.14921,
"h": 293.4
},
"luminance": 0.0361
}Semantic roles & 50–950 ramp
primary
#411F7E
secondary
#8BB148
accent
#E444AB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F