#411F9E#411F9E
#411F9E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.187 H 285.5°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).
Color values
| HEX | #411F9E |
|---|---|
| RGB | rgb(65, 31, 158) |
| HSL | hsl(256, 67%, 37%) |
| HSV | hsv(256, 80%, 62%) |
| CMYK | cmyk(58.9%, 80.4%, 0%, 38%) |
| CIE-LAB | lab(25.48, 47.75, -62.50) |
| CIE-LCH | lch(25.48, 78.65, 307.38°) |
| OKLab | oklab(37.92% 0.0501 -0.18) |
| OKLCH | oklch(37.92% 0.187 285.5) |
| XYZ | xyz(8.8396, 4.5719, 32.7578) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.80
Ultramarine
#2000B1
ΔE00 5.09
Royal
#0C1793
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 5.44
Royal Blue (survey)
#0504AA
ΔE00 5.65
Indigo (survey)
#380282
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411F9E #7C9E1F
analogous
#1F3D9E #411F9E #811F9E
triadic
#411F9E #9E411F #1F9E41
tetradic
#411F9E #9E1F3D #7C9E1F #1F9E81
square
#411F9E #9E1F3D #7C9E1F #1F9E81
split-complementary
#411F9E #9E811F #3D9E1F
monochromatic
#170B38 #2C156B #411F9E #5629D1 #7D59DE
Accessibility & contrast
On white
10.97
#411F9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#411F9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411F9E
10.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411F9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411F9E | 1.00 | 10.97 | 1.91 | 10.97 |
| #FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0040A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#0D455F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #411f9e; /* rgb */ color: rgb(65, 31, 158); /* oklch */ color: oklch(37.9% 0.187 285.5);
Tailwind
colors: {
custom: {
50: '#8160bc',
500: '#411f9e',
950: '#000000',
},
}SCSS
$custom: #411f9e; $custom-light: #8160bc; $custom-dark: #000000;
JSON
{
"hex": "#411f9e",
"rgb": {
"r": 65,
"g": 31,
"b": 158
},
"hsl": {
"h": 256.063,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.3792,
"c": 0.18688,
"h": 285.5
},
"luminance": 0.04572
}Semantic roles & 50–950 ramp
primary
#411F9E
secondary
#A5C256
accent
#EA3EBC
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981