#412596#412596
#412596 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.172 H 286.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #412596 |
|---|---|
| RGB | rgb(65, 37, 150) |
| HSL | hsl(255, 60%, 37%) |
| HSV | hsv(255, 75%, 59%) |
| CMYK | cmyk(56.7%, 75.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.71, 42.45, -57.22) |
| CIE-LCH | lch(25.71, 71.24, 306.57°) |
| OKLab | oklab(37.84% 0.0481 -0.1647) |
| OKLCH | oklch(37.84% 0.172 286.3) |
| XYZ | xyz(8.3449, 4.6485, 29.3058) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.34
Royal
#0C1793
ΔE00 5.68
Indigo (survey)
#380282
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.53
Ultramarine
#2000B1
ΔE00 6.54
Indigo
#4B0082
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412596 #7A9625
analogous
#254296 #412596 #7A2596
triadic
#412596 #964125 #259641
tetradic
#412596 #962542 #7A9625 #25967A
square
#412596 #962542 #7A9625 #25967A
split-complementary
#412596 #967A25 #429625
monochromatic
#160D34 #2C1965 #412596 #5631C7 #7C5ED7
Accessibility & contrast
On white
10.88
#412596 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#412596 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412596
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412596 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412596 | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#1A445B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #412596; /* rgb */ color: rgb(65, 37, 150); /* oklch */ color: oklch(37.8% 0.172 286.3);
Tailwind
colors: {
custom: {
50: '#7f63b6',
500: '#412596',
950: '#000000',
},
}SCSS
$custom: #412596; $custom-light: #7f63b6; $custom-dark: #000000;
JSON
{
"hex": "#412596",
"rgb": {
"r": 65,
"g": 37,
"b": 150
},
"hsl": {
"h": 254.867,
"s": 60.428,
"l": 36.667
},
"oklch": {
"l": 0.37839,
"c": 0.17155,
"h": 286.3
},
"luminance": 0.04649
}Semantic roles & 50–950 ramp
primary
#412596
secondary
#A4BC5B
accent
#E444BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80