#462EB4#462EB4
#462EB4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.4% C 0.198 H 282.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #462EB4 |
|---|---|
| RGB | rgb(70, 46, 180) |
| HSL | hsl(251, 59%, 44%) |
| HSV | hsv(251, 74%, 71%) |
| CMYK | cmyk(61.1%, 74.4%, 0%, 29.4%) |
| CIE-LAB | lab(30.76, 47.44, -67.04) |
| CIE-LCH | lch(30.76, 82.12, 305.29°) |
| OKLab | oklab(42.4% 0.0415 -0.1933) |
| OKLCH | oklch(42.4% 0.198 282.1) |
| XYZ | xyz(11.7384, 6.5505, 43.8170) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.27
Blue With A Hint Of Purple
#533CC6
ΔE00 4.51
Blurple
#5539CC
ΔE00 4.71
Purple Blue
#5D21D0
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.04
Violet Blue
#510AC9
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462EB4 #9CB42E
analogous
#2E59B4 #462EB4 #892EB4
triadic
#462EB4 #B4462E #2EB446
tetradic
#462EB4 #B42E59 #9CB42E #2EB489
square
#462EB4 #B42E59 #9CB42E #2EB489
split-complementary
#462EB4 #B4892E #59B42E
monochromatic
#201553 #332283 #462EB4 #654ED2 #8F7EDE
Accessibility & contrast
On white
9.09
#462EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#462EB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462EB4
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462EB4 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#00546F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #462eb4; /* rgb */ color: rgb(70, 46, 180); /* oklch */ color: oklch(42.4% 0.198 282.1);
Tailwind
colors: {
custom: {
50: '#876acc',
500: '#462eb4',
950: '#000000',
},
}SCSS
$custom: #462eb4; $custom-light: #876acc; $custom-dark: #000000;
JSON
{
"hex": "#462eb4",
"rgb": {
"r": 70,
"g": 46,
"b": 180
},
"hsl": {
"h": 250.746,
"s": 59.292,
"l": 44.314
},
"oklch": {
"l": 0.42398,
"c": 0.19769,
"h": 282.1
},
"luminance": 0.06551
}Semantic roles & 50–950 ramp
primary
#462EB4
secondary
#B8C777
accent
#E245C6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0713
muted
#7D7A82