#462AA2#462AA2
#462AA2 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.1% C 0.180 H 285.7°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #462AA2 |
|---|---|
| RGB | rgb(70, 42, 162) |
| HSL | hsl(254, 59%, 40%) |
| HSV | hsv(254, 74%, 64%) |
| CMYK | cmyk(56.8%, 74.1%, 0%, 36.5%) |
| CIE-LAB | lab(28.29, 44.14, -60.29) |
| CIE-LCH | lch(28.29, 74.72, 306.21°) |
| OKLab | oklab(40.13% 0.0487 -0.1735) |
| OKLCH | oklch(40.13% 0.18 285.7) |
| XYZ | xyz(9.8734, 5.5661, 34.7295) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.93
Violet Blue
#510AC9
ΔE00 6.20
Sapphire (survey)
#2138AB
ΔE00 6.38
Rebeccapurple
#663399
ΔE00 6.50
Ocean Blue
#4F42B5
ΔE00 6.60
Darkslateblue
#483D8B
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462AA2 #86A22A
analogous
#2A4AA2 #462AA2 #822AA2
triadic
#462AA2 #A2462A #2AA246
tetradic
#462AA2 #A22A4A #86A22A #2AA282
square
#462AA2 #A22A4A #86A22A #2AA282
split-complementary
#462AA2 #A2822A #4AA22A
monochromatic
#1C1141 #311D71 #462AA2 #5E3DCD #866DD9
Accessibility & contrast
On white
9.94
#462AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#462AA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462AA2
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462AA2 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#1A4B63
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #462aa2; /* rgb */ color: rgb(70, 42, 162); /* oklch */ color: oklch(40.1% 0.180 285.7);
Tailwind
colors: {
custom: {
50: '#8467bf',
500: '#462aa2',
950: '#000000',
},
}SCSS
$custom: #462aa2; $custom-light: #8467bf; $custom-dark: #000000;
JSON
{
"hex": "#462aa2",
"rgb": {
"r": 70,
"g": 42,
"b": 162
},
"hsl": {
"h": 254,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.40131,
"c": 0.18023,
"h": 285.7
},
"luminance": 0.05567
}Semantic roles & 50–950 ramp
primary
#462AA2
secondary
#ABC068
accent
#E246BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81