#462FA1#462FA1
#462FA1 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.173 H 285.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #462FA1 |
|---|---|
| RGB | rgb(70, 47, 161) |
| HSL | hsl(252, 55%, 41%) |
| HSV | hsv(252, 71%, 63%) |
| CMYK | cmyk(56.5%, 70.8%, 0%, 36.9%) |
| CIE-LAB | lab(29.18, 41.10, -58.22) |
| CIE-LCH | lch(29.18, 71.27, 305.22°) |
| OKLab | oklab(40.73% 0.0447 -0.1675) |
| OKLCH | oklch(40.73% 0.173 285) |
| XYZ | xyz(9.9734, 5.9078, 34.3261) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.96
Sapphire (survey)
#2138AB
ΔE00 5.68
Ocean Blue
#4F42B5
ΔE00 5.68
Blueberry
#464196
ΔE00 5.72
Darkslateblue
#483D8B
ΔE00 5.82
Rebeccapurple
#663399
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462FA1 #8AA12F
analogous
#2F51A1 #462FA1 #7F2FA1
triadic
#462FA1 #A1462F #2FA146
tetradic
#462FA1 #A12F51 #8AA12F #2FA17F
square
#462FA1 #A12F51 #8AA12F #2FA17F
split-complementary
#462FA1 #A17F2F #51A12F
monochromatic
#1D1342 #312172 #462FA1 #5F45C9 #8874D6
Accessibility & contrast
On white
9.63
#462FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#462FA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462FA1
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462FA1 | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#1B4D64
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #462fa1; /* rgb */ color: rgb(70, 47, 161); /* oklch */ color: oklch(40.7% 0.173 285.0);
Tailwind
colors: {
custom: {
50: '#836abe',
500: '#462fa1',
950: '#000000',
},
}SCSS
$custom: #462fa1; $custom-light: #836abe; $custom-dark: #000000;
JSON
{
"hex": "#462fa1",
"rgb": {
"r": 70,
"g": 47,
"b": 161
},
"hsl": {
"h": 252.105,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.40734,
"c": 0.17337,
"h": 285
},
"luminance": 0.05908
}Semantic roles & 50–950 ramp
primary
#462FA1
secondary
#AEBE6E
accent
#DE4AC0
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81