#462CA2#462CA2
#462CA2 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.4% C 0.178 H 285.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #462CA2 |
|---|---|
| RGB | rgb(70, 44, 162) |
| HSL | hsl(253, 57%, 40%) |
| HSV | hsv(253, 73%, 64%) |
| CMYK | cmyk(56.8%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(28.67, 43.06, -59.66) |
| CIE-LCH | lch(28.67, 73.58, 305.82°) |
| OKLab | oklab(40.4% 0.0471 -0.1717) |
| OKLCH | oklch(40.4% 0.178 285.3) |
| XYZ | xyz(9.9461, 5.7115, 34.7538) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.29
Sapphire (survey)
#2138AB
ΔE00 6.07
Ocean Blue
#4F42B5
ΔE00 6.21
Rebeccapurple
#663399
ΔE00 6.42
Blueberry
#464196
ΔE00 6.45
Violet Blue
#510AC9
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462CA2 #88A22C
analogous
#2C4DA2 #462CA2 #812CA2
triadic
#462CA2 #A2462C #2CA246
tetradic
#462CA2 #A22C4D #88A22C #2CA281
square
#462CA2 #A22C4D #88A22C #2CA281
split-complementary
#462CA2 #A2812C #4DA22C
monochromatic
#1C1242 #311F72 #462CA2 #5F40CB #8770D8
Accessibility & contrast
On white
9.80
#462CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#462CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462CA2
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462CA2 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A5
Deuteranopia (green-blind)
#0040A0
Tritanopia (blue-blind)
#1A4C64
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #462ca2; /* rgb */ color: rgb(70, 44, 162); /* oklch */ color: oklch(40.4% 0.178 285.3);
Tailwind
colors: {
custom: {
50: '#8468bf',
500: '#462ca2',
950: '#000000',
},
}SCSS
$custom: #462ca2; $custom-light: #8468bf; $custom-dark: #000000;
JSON
{
"hex": "#462ca2",
"rgb": {
"r": 70,
"g": 44,
"b": 162
},
"hsl": {
"h": 253.22,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.40402,
"c": 0.17804,
"h": 285.3
},
"luminance": 0.05712
}Semantic roles & 50–950 ramp
primary
#462CA2
secondary
#ADBF6A
accent
#E147BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81