#462AB6#462AB6
#462AB6 is a dark, highly saturated violet. Relative luminance 0.063; OKLCH L 42.1% C 0.204 H 282.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #462AB6 |
|---|---|
| RGB | rgb(70, 42, 182) |
| HSL | hsl(252, 63%, 44%) |
| HSV | hsv(252, 77%, 71%) |
| CMYK | cmyk(61.5%, 76.9%, 0%, 28.6%) |
| CIE-LAB | lab(30.24, 50.08, -69.08) |
| CIE-LCH | lch(30.24, 85.32, 305.94°) |
| OKLab | oklab(42.09% 0.0436 -0.1992) |
| OKLCH | oklch(42.09% 0.204 282.3) |
| XYZ | xyz(11.7946, 6.3346, 44.8481) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.56
Violet Blue
#510AC9
ΔE00 4.34
Purple Blue
#5D21D0
ΔE00 4.63
Blue With A Hint Of Purple
#533CC6
ΔE00 4.99
Blurple
#5539CC
ΔE00 5.03
True Blue
#010FCC
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462AB6 #9AB62A
analogous
#2A54B6 #462AB6 #8C2AB6
triadic
#462AB6 #B6462A #2AB646
tetradic
#462AB6 #B62A54 #9AB62A #2AB68C
square
#462AB6 #B62A54 #9AB62A #2AB68C
split-complementary
#462AB6 #B68C2A #54B62A
monochromatic
#201353 #331F84 #462AB6 #6448D5 #8F7AE0
Accessibility & contrast
On white
9.26
#462AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#462AB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462AB6
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462AB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462AB6 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CBA
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #462ab6; /* rgb */ color: rgb(70, 42, 182); /* oklch */ color: oklch(42.1% 0.204 282.3);
Tailwind
colors: {
custom: {
50: '#8768cd',
500: '#462ab6',
950: '#000000',
},
}SCSS
$custom: #462ab6; $custom-light: #8768cd; $custom-dark: #000000;
JSON
{
"hex": "#462ab6",
"rgb": {
"r": 70,
"g": 42,
"b": 182
},
"hsl": {
"h": 252,
"s": 62.5,
"l": 43.922
},
"oklch": {
"l": 0.42092,
"c": 0.20395,
"h": 282.3
},
"luminance": 0.06335
}Semantic roles & 50–950 ramp
primary
#462AB6
secondary
#B7C873
accent
#E642C5
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82