#412396#412396
#412396 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.6% C 0.174 H 286.6°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).
Color values
| HEX | #412396 |
|---|---|
| RGB | rgb(65, 35, 150) |
| HSL | hsl(256, 62%, 36%) |
| HSV | hsv(256, 77%, 59%) |
| CMYK | cmyk(56.7%, 76.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.34, 43.48, -57.82) |
| CIE-LCH | lch(25.34, 72.35, 306.95°) |
| OKLab | oklab(37.58% 0.0496 -0.1664) |
| OKLCH | oklch(37.58% 0.174 286.6) |
| XYZ | xyz(8.2844, 4.5274, 29.2856) |
| Luminance | 0.0453 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.15
Royal
#0C1793
ΔE00 5.51
Indigo (survey)
#380282
ΔE00 5.89
Indigo
#4B0082
ΔE00 6.18
Ultramarine
#2000B1
ΔE00 6.24
Cobalt Blue
#030AA7
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412396 #789623
analogous
#233F96 #412396 #7B2396
triadic
#412396 #964123 #239641
tetradic
#412396 #96233F #789623 #23967B
square
#412396 #96233F #789623 #23967B
split-complementary
#412396 #967B23 #3F9623
monochromatic
#160C33 #2B1764 #412396 #572FC8 #7C5BD9
Accessibility & contrast
On white
11.02
#412396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#412396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412396
11.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412396 | 1.00 | 11.02 | 1.91 | 11.02 |
| #FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#1A435B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412396; /* rgb */ color: rgb(65, 35, 150); /* oklch */ color: oklch(37.6% 0.174 286.6);
Tailwind
colors: {
custom: {
50: '#8062b6',
500: '#412396',
950: '#000000',
},
}SCSS
$custom: #412396; $custom-light: #8062b6; $custom-dark: #000000;
JSON
{
"hex": "#412396",
"rgb": {
"r": 65,
"g": 35,
"b": 150
},
"hsl": {
"h": 255.652,
"s": 62.162,
"l": 36.275
},
"oklch": {
"l": 0.37582,
"c": 0.17366,
"h": 286.6
},
"luminance": 0.04528
}Semantic roles & 50–950 ramp
primary
#412396
secondary
#A3BD58
accent
#E543BB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980