#462CB2#462CB2
#462CB2 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.197 H 282.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #462CB2 |
|---|---|
| RGB | rgb(70, 44, 178) |
| HSL | hsl(252, 60%, 44%) |
| HSV | hsv(252, 75%, 70%) |
| CMYK | cmyk(60.7%, 75.3%, 0%, 30.2%) |
| CIE-LAB | lab(30.20, 47.88, -66.77) |
| CIE-LCH | lch(30.20, 82.16, 305.64°) |
| OKLab | oklab(41.94% 0.0433 -0.1925) |
| OKLCH | oklch(41.94% 0.197 282.7) |
| XYZ | xyz(11.4599, 6.3170, 42.7263) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.83
Violet Blue
#510AC9
ΔE00 4.94
Blue With A Hint Of Purple
#533CC6
ΔE00 4.99
Purple Blue
#5D21D0
ΔE00 5.12
Blurple
#5539CC
ΔE00 5.16
Ocean Blue
#4F42B5
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462CB2 #98B22C
analogous
#2C55B2 #462CB2 #892CB2
triadic
#462CB2 #B2462C #2CB246
tetradic
#462CB2 #B22C55 #98B22C #2CB289
square
#462CB2 #B22C55 #98B22C #2CB289
split-complementary
#462CB2 #B2892C #55B22C
monochromatic
#1F1450 #332081 #462CB2 #6449D2 #8E7ADE
Accessibility & contrast
On white
9.28
#462CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#462CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462CB2
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462CB2 | 1.00 | 9.28 | 2.26 | 9.28 |
| #FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #462cb2; /* rgb */ color: rgb(70, 44, 178); /* oklch */ color: oklch(41.9% 0.197 282.7);
Tailwind
colors: {
custom: {
50: '#8769ca',
500: '#462cb2',
950: '#000000',
},
}SCSS
$custom: #462cb2; $custom-light: #8769ca; $custom-dark: #000000;
JSON
{
"hex": "#462cb2",
"rgb": {
"r": 70,
"g": 44,
"b": 178
},
"hsl": {
"h": 251.642,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.41943,
"c": 0.19732,
"h": 282.7
},
"luminance": 0.06318
}Semantic roles & 50–950 ramp
primary
#462CB2
secondary
#B6C673
accent
#E444C5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82