#462CB1#462CB1
#462CB1 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.196 H 282.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #462CB1 |
|---|---|
| RGB | rgb(70, 44, 177) |
| HSL | hsl(252, 60%, 43%) |
| HSV | hsv(252, 75%, 69%) |
| CMYK | cmyk(60.5%, 75.1%, 0%, 30.6%) |
| CIE-LAB | lab(30.10, 47.58, -66.33) |
| CIE-LCH | lch(30.10, 81.63, 305.65°) |
| OKLab | oklab(41.85% 0.0436 -0.1912) |
| OKLCH | oklch(41.85% 0.196 282.8) |
| XYZ | xyz(11.3598, 6.2770, 42.1994) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.81
Violet Blue
#510AC9
ΔE00 5.01
Blue With A Hint Of Purple
#533CC6
ΔE00 5.08
Purple Blue
#5D21D0
ΔE00 5.22
Blurple
#5539CC
ΔE00 5.26
Ocean Blue
#4F42B5
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462CB1 #97B12C
analogous
#2C55B1 #462CB1 #882CB1
triadic
#462CB1 #B1462C #2CB146
tetradic
#462CB1 #B12C55 #97B12C #2CB188
square
#462CB1 #B12C55 #97B12C #2CB188
split-complementary
#462CB1 #B1882C #55B12C
monochromatic
#1F144F #332080 #462CB1 #6349D2 #8D7ADE
Accessibility & contrast
On white
9.31
#462CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#462CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462CB1
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462CB1 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#0042AF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #462cb1; /* rgb */ color: rgb(70, 44, 177); /* oklch */ color: oklch(41.8% 0.196 282.8);
Tailwind
colors: {
custom: {
50: '#8668c9',
500: '#462cb1',
950: '#000000',
},
}SCSS
$custom: #462cb1; $custom-light: #8668c9; $custom-dark: #000000;
JSON
{
"hex": "#462cb1",
"rgb": {
"r": 70,
"g": 44,
"b": 177
},
"hsl": {
"h": 251.729,
"s": 60.181,
"l": 43.333
},
"oklch": {
"l": 0.41845,
"c": 0.19613,
"h": 282.8
},
"luminance": 0.06278
}Semantic roles & 50–950 ramp
primary
#462CB1
secondary
#B6C673
accent
#E344C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82