#412C96#412C96
#412C96 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.164 H 284.9°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).
Color values
| HEX | #412C96 |
|---|---|
| RGB | rgb(65, 44, 150) |
| HSL | hsl(252, 55%, 38%) |
| HSV | hsv(252, 71%, 59%) |
| CMYK | cmyk(56.7%, 70.7%, 0%, 41.2%) |
| CIE-LAB | lab(27.09, 38.59, -54.95) |
| CIE-LCH | lch(27.09, 67.14, 305.08°) |
| OKLab | oklab(38.82% 0.0421 -0.1581) |
| OKLCH | oklch(38.82% 0.164 284.9) |
| XYZ | xyz(8.5840, 5.1267, 29.3855) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.33
Darkslateblue
#483D8B
ΔE00 5.55
Blueberry
#464196
ΔE00 6.02
Sapphire (survey)
#2138AB
ΔE00 6.20
Royal
#0C1793
ΔE00 6.56
Rebeccapurple
#663399
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412C96 #81962C
analogous
#2C4C96 #412C96 #762C96
triadic
#412C96 #96412C #2C9641
tetradic
#412C96 #962C4C #81962C #2C9676
square
#412C96 #962C4C #81962C #2C9676
split-complementary
#412C96 #96762C #4C962C
monochromatic
#181037 #2C1E67 #412C96 #563AC5 #7E69D3
Accessibility & contrast
On white
10.37
#412C96 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#412C96 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412C96
10.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412C96 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412C96 | 1.00 | 10.37 | 2.03 | 10.37 |
| #FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#19485D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #412c96; /* rgb */ color: rgb(65, 44, 150); /* oklch */ color: oklch(38.8% 0.164 284.9);
Tailwind
colors: {
custom: {
50: '#7f67b6',
500: '#412c96',
950: '#000000',
},
}SCSS
$custom: #412c96; $custom-light: #7f67b6; $custom-dark: #000000;
JSON
{
"hex": "#412c96",
"rgb": {
"r": 65,
"g": 44,
"b": 150
},
"hsl": {
"h": 251.887,
"s": 54.639,
"l": 38.039
},
"oklch": {
"l": 0.38822,
"c": 0.16358,
"h": 284.9
},
"luminance": 0.05127
}Semantic roles & 50–950 ramp
primary
#412C96
secondary
#A9BA64
accent
#DE4AC1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80