#412491#412491
#412491 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.167 H 287.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #412491 |
|---|---|
| RGB | rgb(65, 36, 145) |
| HSL | hsl(256, 60%, 35%) |
| HSV | hsv(256, 75%, 57%) |
| CMYK | cmyk(55.2%, 75.2%, 0%, 43.1%) |
| CIE-LAB | lab(25.04, 41.48, -55.23) |
| CIE-LCH | lch(25.04, 69.07, 306.91°) |
| OKLab | oklab(37.22% 0.0501 -0.1588) |
| OKLCH | oklch(37.22% 0.167 287.5) |
| XYZ | xyz(7.9202, 4.4295, 27.2202) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.94
Royal
#0C1793
ΔE00 5.68
Indigo (survey)
#380282
ΔE00 5.80
Indigo
#4B0082
ΔE00 6.04
Cobalt Blue
#030AA7
ΔE00 6.76
Ultramarine
#2000B1
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412491 #749124
analogous
#243E91 #412491 #772491
triadic
#412491 #914124 #249141
tetradic
#412491 #91243E #749124 #249177
square
#412491 #91243E #749124 #249177
split-complementary
#412491 #917724 #3E9124
monochromatic
#150C2F #2B1860 #412491 #5730C2 #7B59D6
Accessibility & contrast
On white
11.13
#412491 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#412491 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412491
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412491 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412491 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00388F
Tritanopia (blue-blind)
#204258
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #412491; /* rgb */ color: rgb(65, 36, 145); /* oklch */ color: oklch(37.2% 0.167 287.5);
Tailwind
colors: {
custom: {
50: '#7f62b2',
500: '#412491',
950: '#000000',
},
}SCSS
$custom: #412491; $custom-light: #7f62b2; $custom-dark: #000000;
JSON
{
"hex": "#412491",
"rgb": {
"r": 65,
"g": 36,
"b": 145
},
"hsl": {
"h": 255.963,
"s": 60.221,
"l": 35.49
},
"oklch": {
"l": 0.37224,
"c": 0.16656,
"h": 287.5
},
"luminance": 0.0443
}Semantic roles & 50–950 ramp
primary
#412491
secondary
#A0BA56
accent
#E344B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980