#412696#412696
#412696 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.170 H 286.1°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).
Color values
| HEX | #412696 |
|---|---|
| RGB | rgb(65, 38, 150) |
| HSL | hsl(254, 60%, 37%) |
| HSV | hsv(254, 75%, 59%) |
| CMYK | cmyk(56.7%, 74.7%, 0%, 41.2%) |
| CIE-LAB | lab(25.90, 41.92, -56.91) |
| CIE-LCH | lch(25.90, 70.68, 306.37°) |
| OKLab | oklab(37.97% 0.0473 -0.1638) |
| OKLCH | oklch(37.97% 0.17 286.1) |
| XYZ | xyz(8.3765, 4.7116, 29.3163) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.45
Royal
#0C1793
ΔE00 5.78
Indigo (survey)
#380282
ΔE00 6.47
Cobalt Blue
#030AA7
ΔE00 6.67
Ultramarine
#2000B1
ΔE00 6.70
Indigo
#4B0082
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412696 #7B9626
analogous
#264396 #412696 #792696
triadic
#412696 #964126 #269641
tetradic
#412696 #962643 #7B9626 #269679
square
#412696 #962643 #7B9626 #269679
split-complementary
#412696 #967926 #439626
monochromatic
#170D34 #2C1A65 #412696 #5632C7 #7C60D7
Accessibility & contrast
On white
10.81
#412696 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#412696 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412696
10.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412696 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412696 | 1.00 | 10.81 | 1.94 | 10.81 |
| #FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004099
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#1A455C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #412696; /* rgb */ color: rgb(65, 38, 150); /* oklch */ color: oklch(38.0% 0.170 286.1);
Tailwind
colors: {
custom: {
50: '#7f63b6',
500: '#412696',
950: '#000000',
},
}SCSS
$custom: #412696; $custom-light: #7f63b6; $custom-dark: #000000;
JSON
{
"hex": "#412696",
"rgb": {
"r": 65,
"g": 38,
"b": 150
},
"hsl": {
"h": 254.464,
"s": 59.574,
"l": 36.863
},
"oklch": {
"l": 0.37972,
"c": 0.17046,
"h": 286.1
},
"luminance": 0.04712
}Semantic roles & 50–950 ramp
primary
#412696
secondary
#A5BC5C
accent
#E345BD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80