#411F96#411F96
#411F96 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.178 H 287.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).
Color values
| HEX | #411F96 |
|---|---|
| RGB | rgb(65, 31, 150) |
| HSL | hsl(257, 66%, 35%) |
| HSV | hsv(257, 79%, 59%) |
| CMYK | cmyk(56.7%, 79.3%, 0%, 41.2%) |
| CIE-LAB | lab(24.66, 45.45, -58.95) |
| CIE-LCH | lch(24.66, 74.44, 307.63°) |
| OKLab | oklab(37.1% 0.0526 -0.1697) |
| OKLCH | oklch(37.1% 0.178 287.2) |
| XYZ | xyz(8.1733, 4.3054, 29.2486) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.89
Indigo (survey)
#380282
ΔE00 5.21
Royal
#0C1793
ΔE00 5.27
Indigo
#4B0082
ΔE00 5.54
Ultramarine
#2000B1
ΔE00 5.72
Cobalt Blue
#030AA7
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#411F96 #74961F
analogous
#1F3896 #411F96 #7C1F96
triadic
#411F96 #96411F #1F9641
tetradic
#411F96 #961F38 #74961F #1F967C
square
#411F96 #961F38 #74961F #1F967C
split-complementary
#411F96 #967C1F #38961F
monochromatic
#150A31 #2B1563 #411F96 #5729C9 #7B54DC
Accessibility & contrast
On white
11.28
#411F96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#411F96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #411F96
11.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##411F96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##411F96 | 1.00 | 11.28 | 1.86 | 11.28 |
| #FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003794
Tritanopia (blue-blind)
#1B415A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #411f96; /* rgb */ color: rgb(65, 31, 150); /* oklch */ color: oklch(37.1% 0.178 287.2);
Tailwind
colors: {
custom: {
50: '#805fb6',
500: '#411f96',
950: '#000000',
},
}SCSS
$custom: #411f96; $custom-light: #805fb6; $custom-dark: #000000;
JSON
{
"hex": "#411f96",
"rgb": {
"r": 65,
"g": 31,
"b": 150
},
"hsl": {
"h": 257.143,
"s": 65.746,
"l": 35.49
},
"oklch": {
"l": 0.37101,
"c": 0.17764,
"h": 287.2
},
"luminance": 0.04306
}Semantic roles & 50–950 ramp
primary
#411F96
secondary
#A0BF52
accent
#E93FB8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980