#412196#412196
#412196 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.176 H 286.9°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).
Color values
| HEX | #412196 |
|---|---|
| RGB | rgb(65, 33, 150) |
| HSL | hsl(256, 64%, 36%) |
| HSV | hsv(256, 78%, 59%) |
| CMYK | cmyk(56.7%, 78%, 0%, 41.2%) |
| CIE-LAB | lab(24.99, 44.49, -58.40) |
| CIE-LCH | lch(24.99, 73.41, 307.30°) |
| OKLab | oklab(37.34% 0.0512 -0.1681) |
| OKLCH | oklch(37.34% 0.176 286.9) |
| XYZ | xyz(8.2272, 4.4131, 29.2665) |
| Luminance | 0.0441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.00
Royal
#0C1793
ΔE00 5.38
Indigo (survey)
#380282
ΔE00 5.54
Indigo
#4B0082
ΔE00 5.84
Ultramarine
#2000B1
ΔE00 5.97
Cobalt Blue
#030AA7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412196 #769621
analogous
#213C96 #412196 #7B2196
triadic
#412196 #964121 #219641
tetradic
#412196 #96213C #769621 #21967B
square
#412196 #96213C #769621 #21967B
split-complementary
#412196 #967B21 #3C9621
monochromatic
#160B32 #2B1664 #412196 #572CC8 #7B57DA
Accessibility & contrast
On white
11.15
#412196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#412196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412196
11.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412196 | 1.00 | 11.15 | 1.88 | 11.15 |
| #FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#1B425B
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #412196; /* rgb */ color: rgb(65, 33, 150); /* oklch */ color: oklch(37.3% 0.176 286.9);
Tailwind
colors: {
custom: {
50: '#8060b6',
500: '#412196',
950: '#000000',
},
}SCSS
$custom: #412196; $custom-light: #8060b6; $custom-dark: #000000;
JSON
{
"hex": "#412196",
"rgb": {
"r": 65,
"g": 33,
"b": 150
},
"hsl": {
"h": 256.41,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.37336,
"c": 0.17569,
"h": 286.9
},
"luminance": 0.04414
}Semantic roles & 50–950 ramp
primary
#412196
secondary
#A1BE55
accent
#E741BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980