#412091#412091
#412091 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.171 H 288.2°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).
Color values
| HEX | #412091 |
|---|---|
| RGB | rgb(65, 32, 145) |
| HSL | hsl(258, 64%, 35%) |
| HSV | hsv(258, 78%, 57%) |
| CMYK | cmyk(55.2%, 77.9%, 0%, 43.1%) |
| CIE-LAB | lab(24.32, 43.52, -56.41) |
| CIE-LCH | lch(24.32, 71.25, 307.65°) |
| OKLab | oklab(36.72% 0.0534 -0.1623) |
| OKLCH | oklch(36.72% 0.171 288.2) |
| XYZ | xyz(7.8058, 4.2008, 27.1821) |
| Luminance | 0.0420 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.67
Indigo (survey)
#380282
ΔE00 5.03
Indigo
#4B0082
ΔE00 5.31
Royal
#0C1793
ΔE00 5.40
Cobalt Blue
#030AA7
ΔE00 6.30
Ultramarine
#2000B1
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412091 #709120
analogous
#203891 #412091 #7A2091
triadic
#412091 #914120 #209141
tetradic
#412091 #912038 #709120 #20917A
square
#412091 #912038 #709120 #20917A
split-complementary
#412091 #917A20 #389120
monochromatic
#140A2D #2B155F #412091 #572BC3 #7A52D9
Accessibility & contrast
On white
11.41
#412091 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#412091 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412091
11.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412091 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412091 | 1.00 | 11.41 | 1.84 | 11.41 |
| #FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#204057
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #412091; /* rgb */ color: rgb(65, 32, 145); /* oklch */ color: oklch(36.7% 0.171 288.2);
Tailwind
colors: {
custom: {
50: '#7f60b2',
500: '#412091',
950: '#000000',
},
}SCSS
$custom: #412091; $custom-light: #7f60b2; $custom-dark: #000000;
JSON
{
"hex": "#412091",
"rgb": {
"r": 65,
"g": 32,
"b": 145
},
"hsl": {
"h": 257.522,
"s": 63.842,
"l": 34.706
},
"oklch": {
"l": 0.36718,
"c": 0.17081,
"h": 288.2
},
"luminance": 0.04201
}Semantic roles & 50–950 ramp
primary
#412091
secondary
#9DBC51
accent
#E741B6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980