#462197#462197
#462197 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.9% C 0.177 H 289.4°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #462197 |
|---|---|
| RGB | rgb(70, 33, 151) |
| HSL | hsl(259, 64%, 36%) |
| HSV | hsv(259, 78%, 59%) |
| CMYK | cmyk(53.6%, 78.1%, 0%, 40.8%) |
| CIE-LAB | lab(25.63, 45.48, -57.93) |
| CIE-LCH | lch(25.63, 73.65, 308.13°) |
| OKLab | oklab(37.94% 0.0587 -0.1666) |
| OKLCH | oklch(37.94% 0.177 289.4) |
| XYZ | xyz(8.6539, 4.6238, 29.7086) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.10
Indigo
#4B0082
ΔE00 5.63
Indigo (survey)
#380282
ΔE00 5.75
Royal
#0C1793
ΔE00 6.10
Ultramarine
#2000B1
ΔE00 6.28
Cobalt Blue
#030AA7
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462197 #729721
analogous
#213797 #462197 #812197
triadic
#462197 #974621 #219746
tetradic
#462197 #972137 #729721 #219781
square
#462197 #972137 #729721 #219781
split-complementary
#462197 #978121 #379721
monochromatic
#170B33 #2F1665 #462197 #5D2CC9 #8158DA
Accessibility & contrast
On white
10.91
#462197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#462197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462197
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462197 | 1.00 | 10.91 | 1.92 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9A
Deuteranopia (green-blind)
#003A95
Tritanopia (blue-blind)
#27425B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #462197; /* rgb */ color: rgb(70, 33, 151); /* oklch */ color: oklch(37.9% 0.177 289.4);
Tailwind
colors: {
custom: {
50: '#8361b7',
500: '#462197',
950: '#000000',
},
}SCSS
$custom: #462197; $custom-light: #8361b7; $custom-dark: #000000;
JSON
{
"hex": "#462197",
"rgb": {
"r": 70,
"g": 33,
"b": 151
},
"hsl": {
"h": 258.814,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.37943,
"c": 0.1766,
"h": 289.4
},
"luminance": 0.04624
}Semantic roles & 50–950 ramp
primary
#462197
secondary
#9DBE55
accent
#E741B3
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980