#412296#412296
#412296 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.175 H 286.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).
Color values
| HEX | #412296 |
|---|---|
| RGB | rgb(65, 34, 150) |
| HSL | hsl(256, 63%, 36%) |
| HSV | hsv(256, 77%, 59%) |
| CMYK | cmyk(56.7%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(25.17, 43.99, -58.11) |
| CIE-LCH | lch(25.17, 72.88, 307.13°) |
| OKLab | oklab(37.46% 0.0504 -0.1673) |
| OKLCH | oklch(37.46% 0.175 286.8) |
| XYZ | xyz(8.2554, 4.4694, 29.2759) |
| Luminance | 0.0447 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.07
Royal
#0C1793
ΔE00 5.44
Indigo (survey)
#380282
ΔE00 5.71
Indigo
#4B0082
ΔE00 6.01
Ultramarine
#2000B1
ΔE00 6.10
Cobalt Blue
#030AA7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412296 #779622
analogous
#223D96 #412296 #7B2296
triadic
#412296 #964122 #229641
tetradic
#412296 #96223D #779622 #22967B
square
#412296 #96223D #779622 #22967B
split-complementary
#412296 #967B22 #3D9622
monochromatic
#160B32 #2B1764 #412296 #572DC8 #7B59D9
Accessibility & contrast
On white
11.09
#412296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#412296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412296
11.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412296 | 1.00 | 11.09 | 1.89 | 11.09 |
| #FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003894
Tritanopia (blue-blind)
#1A435B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412296; /* rgb */ color: rgb(65, 34, 150); /* oklch */ color: oklch(37.5% 0.175 286.8);
Tailwind
colors: {
custom: {
50: '#8061b6',
500: '#412296',
950: '#000000',
},
}SCSS
$custom: #412296; $custom-light: #8061b6; $custom-dark: #000000;
JSON
{
"hex": "#412296",
"rgb": {
"r": 65,
"g": 34,
"b": 150
},
"hsl": {
"h": 256.034,
"s": 63.043,
"l": 36.078
},
"oklch": {
"l": 0.37458,
"c": 0.17469,
"h": 286.8
},
"luminance": 0.0447
}Semantic roles & 50–950 ramp
primary
#412296
secondary
#A2BE56
accent
#E642BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980