#462196#462196
#462196 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.175 H 289.6°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #462196 |
|---|---|
| RGB | rgb(70, 33, 150) |
| HSL | hsl(259, 64%, 36%) |
| HSV | hsv(259, 78%, 59%) |
| CMYK | cmyk(53.3%, 78%, 0%, 41.2%) |
| CIE-LAB | lab(25.54, 45.19, -57.48) |
| CIE-LCH | lch(25.54, 73.12, 308.18°) |
| OKLab | oklab(37.85% 0.059 -0.1652) |
| OKLCH | oklch(37.85% 0.175 289.6) |
| XYZ | xyz(8.5731, 4.5914, 29.2828) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.24
Indigo
#4B0082
ΔE00 5.55
Indigo (survey)
#380282
ΔE00 5.67
Royal
#0C1793
ΔE00 6.11
Ultramarine
#2000B1
ΔE00 6.37
Cobalt Blue
#030AA7
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462196 #719621
analogous
#213796 #462196 #802196
triadic
#462196 #964621 #219646
tetradic
#462196 #962137 #719621 #219680
square
#462196 #962137 #719621 #219680
split-complementary
#462196 #968021 #379621
monochromatic
#170B32 #2F1664 #462196 #5D2CC8 #8157DA
Accessibility & contrast
On white
10.95
#462196 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#462196 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462196
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462196 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462196 | 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)
#003A94
Tritanopia (blue-blind)
#28425B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #462196; /* rgb */ color: rgb(70, 33, 150); /* oklch */ color: oklch(37.8% 0.175 289.6);
Tailwind
colors: {
custom: {
50: '#8361b6',
500: '#462196',
950: '#000000',
},
}SCSS
$custom: #462196; $custom-light: #8361b6; $custom-dark: #000000;
JSON
{
"hex": "#462196",
"rgb": {
"r": 70,
"g": 33,
"b": 150
},
"hsl": {
"h": 258.974,
"s": 63.934,
"l": 35.882
},
"oklch": {
"l": 0.37845,
"c": 0.17544,
"h": 289.6
},
"luminance": 0.04592
}Semantic roles & 50–950 ramp
primary
#462196
secondary
#9DBE55
accent
#E741B2
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980