#412496#412496
#412496 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.173 H 286.4°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #412496 |
|---|---|
| RGB | rgb(65, 36, 150) |
| HSL | hsl(255, 61%, 36%) |
| HSV | hsv(255, 76%, 59%) |
| CMYK | cmyk(56.7%, 76%, 0%, 41.2%) |
| CIE-LAB | lab(25.52, 42.97, -57.52) |
| CIE-LCH | lch(25.52, 71.80, 306.76°) |
| OKLab | oklab(37.71% 0.0489 -0.1655) |
| OKLCH | oklch(37.71% 0.173 286.4) |
| XYZ | xyz(8.3142, 4.5871, 29.2955) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.24
Royal
#0C1793
ΔE00 5.59
Indigo (survey)
#380282
ΔE00 6.08
Indigo
#4B0082
ΔE00 6.35
Ultramarine
#2000B1
ΔE00 6.38
Cobalt Blue
#030AA7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412496 #799624
analogous
#244096 #412496 #7A2496
triadic
#412496 #964124 #249641
tetradic
#412496 #962440 #799624 #24967A
square
#412496 #962440 #799624 #24967A
split-complementary
#412496 #967A24 #409624
monochromatic
#160C33 #2C1865 #412496 #5630C7 #7C5CD8
Accessibility & contrast
On white
10.95
#412496 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#412496 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412496
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412496 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412496 | 1.00 | 10.95 | 1.92 | 10.95 |
| #FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#1A445B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412496; /* rgb */ color: rgb(65, 36, 150); /* oklch */ color: oklch(37.7% 0.173 286.4);
Tailwind
colors: {
custom: {
50: '#8062b6',
500: '#412496',
950: '#000000',
},
}SCSS
$custom: #412496; $custom-light: #8062b6; $custom-dark: #000000;
JSON
{
"hex": "#412496",
"rgb": {
"r": 65,
"g": 36,
"b": 150
},
"hsl": {
"h": 255.263,
"s": 61.29,
"l": 36.471
},
"oklch": {
"l": 0.37709,
"c": 0.17261,
"h": 286.4
},
"luminance": 0.04588
}Semantic roles & 50–950 ramp
primary
#412496
secondary
#A3BD59
accent
#E443BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80