#411F7C#411F7C
#411F7C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.147 H 294.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).
Color values
| HEX | #411F7C |
|---|---|
| RGB | rgb(65, 31, 124) |
| HSL | hsl(262, 60%, 30%) |
| HSV | hsv(262, 75%, 49%) |
| CMYK | cmyk(47.6%, 75%, 0%, 51.4%) |
| CIE-LAB | lab(22.16, 37.96, -46.79) |
| CIE-LCH | lch(22.16, 60.26, 309.05°) |
| OKLab | oklab(34.58% 0.0598 -0.1341) |
| OKLCH | oklch(34.58% 0.147 294) |
| XYZ | xyz(6.3071, 3.5588, 19.4195) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.69
Indigo (survey)
#380282
ΔE00 4.84
Royal Purple (survey)
#4B006E
ΔE00 5.74
Midnight Blue
#191970
ΔE00 6.12
Royal
#0C1793
ΔE00 7.05
Indigo Blue
#3A18B1
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411F7C #5A7C1F
analogous
#1F2C7C #411F7C #6F1F7C
triadic
#411F7C #7C411F #1F7C41
tetradic
#411F7C #7C1F2C #5A7C1F #1F7C6F
square
#411F7C #7C1F2C #5A7C1F #1F7C6F
split-complementary
#411F7C #7C6F1F #2C7C1F
monochromatic
#0E071A #27134B #411F7C #5B2BAD #7845D0
Accessibility & contrast
On white
12.27
#411F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#411F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411F7C
12.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411F7C | 1.00 | 12.27 | 1.71 | 12.27 |
| #FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#30374B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #411f7c; /* rgb */ color: rgb(65, 31, 124); /* oklch */ color: oklch(34.6% 0.147 294.0);
Tailwind
colors: {
custom: {
50: '#7c5ea3',
500: '#411f7c',
950: '#000000',
},
}SCSS
$custom: #411f7c; $custom-light: #7c5ea3; $custom-dark: #000000;
JSON
{
"hex": "#411f7c",
"rgb": {
"r": 65,
"g": 31,
"b": 124
},
"hsl": {
"h": 261.935,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.34583,
"c": 0.14679,
"h": 294
},
"luminance": 0.03559
}Semantic roles & 50–950 ramp
primary
#411F7C
secondary
#89AF48
accent
#E345A9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F