#462BA1#462BA1
#462BA1 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.2% C 0.178 H 285.7°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #462BA1 |
|---|---|
| RGB | rgb(70, 43, 161) |
| HSL | hsl(254, 58%, 40%) |
| HSV | hsv(254, 73%, 63%) |
| CMYK | cmyk(56.5%, 73.3%, 0%, 36.9%) |
| CIE-LAB | lab(28.39, 43.30, -59.52) |
| CIE-LCH | lch(28.39, 73.61, 306.04°) |
| OKLab | oklab(40.17% 0.0481 -0.1713) |
| OKLCH | oklch(40.17% 0.178 285.7) |
| XYZ | xyz(9.8207, 5.6025, 34.2752) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 6.26
Rebeccapurple
#663399
ΔE00 6.42
Violet Blue
#510AC9
ΔE00 6.44
Ocean Blue
#4F42B5
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462BA1 #86A12B
analogous
#2B4BA1 #462BA1 #812BA1
triadic
#462BA1 #A1462B #2BA146
tetradic
#462BA1 #A12B4B #86A12B #2BA181
square
#462BA1 #A12B4B #86A12B #2BA181
split-complementary
#462BA1 #A1812B #4BA12B
monochromatic
#1C1140 #311E71 #462BA1 #5E3ECB #866ED8
Accessibility & contrast
On white
9.90
#462BA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#462BA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462BA1
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462BA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462BA1 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#1C4B63
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #462ba1; /* rgb */ color: rgb(70, 43, 161); /* oklch */ color: oklch(40.2% 0.178 285.7);
Tailwind
colors: {
custom: {
50: '#8467be',
500: '#462ba1',
950: '#000000',
},
}SCSS
$custom: #462ba1; $custom-light: #8467be; $custom-dark: #000000;
JSON
{
"hex": "#462ba1",
"rgb": {
"r": 70,
"g": 43,
"b": 161
},
"hsl": {
"h": 253.729,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.4017,
"c": 0.17792,
"h": 285.7
},
"luminance": 0.05603
}Semantic roles & 50–950 ramp
primary
#462BA1
secondary
#ABBF69
accent
#E147BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81