#412191#412191
#412191 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.170 H 288.0°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #412191 |
|---|---|
| RGB | rgb(65, 33, 145) |
| HSL | hsl(257, 63%, 35%) |
| HSV | hsv(257, 77%, 57%) |
| CMYK | cmyk(55.2%, 77.2%, 0%, 43.1%) |
| CIE-LAB | lab(24.50, 43.03, -56.12) |
| CIE-LCH | lch(24.50, 70.72, 307.48°) |
| OKLab | oklab(36.84% 0.0526 -0.1614) |
| OKLCH | oklch(36.84% 0.17 288) |
| XYZ | xyz(7.8332, 4.2555, 27.1912) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.72
Indigo (survey)
#380282
ΔE00 5.21
Royal
#0C1793
ΔE00 5.46
Indigo
#4B0082
ΔE00 5.48
Cobalt Blue
#030AA7
ΔE00 6.40
Ultramarine
#2000B1
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412191 #719121
analogous
#213991 #412191 #792191
triadic
#412191 #914121 #219141
tetradic
#412191 #912139 #719121 #219179
square
#412191 #912139 #719121 #219179
split-complementary
#412191 #917921 #399121
monochromatic
#140A2D #2B165F #412191 #572CC3 #7A54D8
Accessibility & contrast
On white
11.34
#412191 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#412191 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412191
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412191 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412191 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#204058
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #412191; /* rgb */ color: rgb(65, 33, 145); /* oklch */ color: oklch(36.8% 0.170 288.0);
Tailwind
colors: {
custom: {
50: '#7f60b2',
500: '#412191',
950: '#000000',
},
}SCSS
$custom: #412191; $custom-light: #7f60b2; $custom-dark: #000000;
JSON
{
"hex": "#412191",
"rgb": {
"r": 65,
"g": 33,
"b": 145
},
"hsl": {
"h": 257.143,
"s": 62.921,
"l": 34.902
},
"oklch": {
"l": 0.3684,
"c": 0.16977,
"h": 288
},
"luminance": 0.04256
}Semantic roles & 50–950 ramp
primary
#412191
secondary
#9EBC52
accent
#E642B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980