#462AB7#462AB7
#462AB7 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.2% C 0.205 H 282.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #462AB7 |
|---|---|
| RGB | rgb(70, 42, 183) |
| HSL | hsl(252, 63%, 44%) |
| HSV | hsv(252, 77%, 72%) |
| CMYK | cmyk(61.7%, 77%, 0%, 28.2%) |
| CIE-LAB | lab(30.34, 50.37, -69.51) |
| CIE-LCH | lch(30.34, 85.84, 305.93°) |
| OKLab | oklab(42.19% 0.0433 -0.2005) |
| OKLCH | oklch(42.19% 0.205 282.2) |
| XYZ | xyz(11.8983, 6.3761, 45.3943) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.60
Violet Blue
#510AC9
ΔE00 4.28
Purple Blue
#5D21D0
ΔE00 4.53
Blue With A Hint Of Purple
#533CC6
ΔE00 4.92
Blurple
#5539CC
ΔE00 4.94
True Blue
#010FCC
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462AB7 #9BB72A
analogous
#2A55B7 #462AB7 #8D2AB7
triadic
#462AB7 #B7462A #2AB746
tetradic
#462AB7 #B72A55 #9BB72A #2AB78D
square
#462AB7 #B72A55 #9BB72A #2AB78D
split-complementary
#462AB7 #B78D2A #55B72A
monochromatic
#201353 #331F85 #462AB7 #6549D5 #8F7BE1
Accessibility & contrast
On white
9.23
#462AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#462AB7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462AB7
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462AB7 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBB
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #462ab7; /* rgb */ color: rgb(70, 42, 183); /* oklch */ color: oklch(42.2% 0.205 282.2);
Tailwind
colors: {
custom: {
50: '#8868ce',
500: '#462ab7',
950: '#000000',
},
}SCSS
$custom: #462ab7; $custom-light: #8868ce; $custom-dark: #000000;
JSON
{
"hex": "#462ab7",
"rgb": {
"r": 70,
"g": 42,
"b": 183
},
"hsl": {
"h": 251.915,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.42193,
"c": 0.20511,
"h": 282.2
},
"luminance": 0.06377
}Semantic roles & 50–950 ramp
primary
#462AB7
secondary
#B8C974
accent
#E642C5
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82