#462AB9#462AB9
#462AB9 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.4% C 0.207 H 281.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #462AB9 |
|---|---|
| RGB | rgb(70, 42, 185) |
| HSL | hsl(252, 63%, 45%) |
| HSV | hsv(252, 77%, 73%) |
| CMYK | cmyk(62.2%, 77.3%, 0%, 27.5%) |
| CIE-LAB | lab(30.54, 50.96, -70.36) |
| CIE-LCH | lch(30.54, 86.88, 305.91°) |
| OKLab | oklab(42.4% 0.0428 -0.203) |
| OKLCH | oklch(42.4% 0.207 281.9) |
| XYZ | xyz(12.1080, 6.4599, 46.4984) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.70
Violet Blue
#510AC9
ΔE00 4.17
Purple Blue
#5D21D0
ΔE00 4.34
Blurple
#5539CC
ΔE00 4.77
Blue With A Hint Of Purple
#533CC6
ΔE00 4.78
True Blue
#010FCC
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462AB9 #9DB92A
analogous
#2A56B9 #462AB9 #8E2AB9
triadic
#462AB9 #B9462A #2AB946
tetradic
#462AB9 #B92A56 #9DB92A #2AB98E
square
#462AB9 #B92A56 #9DB92A #2AB98E
split-complementary
#462AB9 #B98E2A #56B92A
monochromatic
#201355 #331F87 #462AB9 #664AD6 #907CE1
Accessibility & contrast
On white
9.16
#462AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#462AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462AB9
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462AB9 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0043B6
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #462ab9; /* rgb */ color: rgb(70, 42, 185); /* oklch */ color: oklch(42.4% 0.207 281.9);
Tailwind
colors: {
custom: {
50: '#8868cf',
500: '#462ab9',
950: '#000000',
},
}SCSS
$custom: #462ab9; $custom-light: #8868cf; $custom-dark: #000000;
JSON
{
"hex": "#462ab9",
"rgb": {
"r": 70,
"g": 42,
"b": 185
},
"hsl": {
"h": 251.748,
"s": 62.996,
"l": 44.51
},
"oklch": {
"l": 0.42395,
"c": 0.20743,
"h": 281.9
},
"luminance": 0.06461
}Semantic roles & 50–950 ramp
primary
#462AB9
secondary
#B9CA75
accent
#E642C6
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82