#462CB3#462CB3
#462CB3 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.199 H 282.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #462CB3 |
|---|---|
| RGB | rgb(70, 44, 179) |
| HSL | hsl(252, 61%, 44%) |
| HSV | hsv(252, 75%, 70%) |
| CMYK | cmyk(60.9%, 75.4%, 0%, 29.8%) |
| CIE-LAB | lab(30.30, 48.18, -67.20) |
| CIE-LCH | lch(30.30, 82.69, 305.64°) |
| OKLab | oklab(42.04% 0.0431 -0.1938) |
| OKLCH | oklch(42.04% 0.199 282.5) |
| XYZ | xyz(11.5606, 6.3573, 43.2570) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.84
Violet Blue
#510AC9
ΔE00 4.86
Blue With A Hint Of Purple
#533CC6
ΔE00 4.91
Purple Blue
#5D21D0
ΔE00 5.01
Blurple
#5539CC
ΔE00 5.06
Ocean Blue
#4F42B5
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462CB3 #99B32C
analogous
#2C55B3 #462CB3 #892CB3
triadic
#462CB3 #B3462C #2CB346
tetradic
#462CB3 #B32C55 #99B32C #2CB389
square
#462CB3 #B32C55 #99B32C #2CB389
split-complementary
#462CB3 #B3892C #55B32C
monochromatic
#201451 #332082 #462CB3 #644AD2 #8E7BDF
Accessibility & contrast
On white
9.24
#462CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#462CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462CB3
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462CB3 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0043B1
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #462cb3; /* rgb */ color: rgb(70, 44, 179); /* oklch */ color: oklch(42.0% 0.199 282.5);
Tailwind
colors: {
custom: {
50: '#8769cb',
500: '#462cb3',
950: '#000000',
},
}SCSS
$custom: #462cb3; $custom-light: #8769cb; $custom-dark: #000000;
JSON
{
"hex": "#462cb3",
"rgb": {
"r": 70,
"g": 44,
"b": 179
},
"hsl": {
"h": 251.556,
"s": 60.538,
"l": 43.725
},
"oklch": {
"l": 0.42042,
"c": 0.1985,
"h": 282.5
},
"luminance": 0.06358
}Semantic roles & 50–950 ramp
primary
#462CB3
secondary
#B7C774
accent
#E444C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0613
muted
#7D7A82