#462B91#462B91
#462B91 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.158 H 289.0°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #462B91 |
|---|---|
| RGB | rgb(70, 43, 145) |
| HSL | hsl(256, 54%, 37%) |
| HSV | hsv(256, 70%, 57%) |
| CMYK | cmyk(51.7%, 70.3%, 0%, 43.1%) |
| CIE-LAB | lab(26.94, 38.48, -52.09) |
| CIE-LCH | lch(26.94, 64.77, 306.45°) |
| OKLab | oklab(38.7% 0.0514 -0.1495) |
| OKLCH | oklch(38.7% 0.158 289) |
| XYZ | xyz(8.4990, 5.0738, 27.3141) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.47
Indigo Blue
#3A18B1
ΔE00 5.94
Rebeccapurple
#663399
ΔE00 6.11
Blueberry
#464196
ΔE00 6.37
Royal
#0C1793
ΔE00 7.14
Indigo
#4B0082
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462B91 #76912B
analogous
#2B4391 #462B91 #792B91
triadic
#462B91 #91462B #2B9146
tetradic
#462B91 #912B43 #76912B #2B9179
square
#462B91 #912B43 #76912B #2B9179
split-complementary
#462B91 #91792B #43912B
monochromatic
#180F33 #2F1D62 #462B91 #5D39C0 #8265D1
Accessibility & contrast
On white
10.42
#462B91 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#462B91 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462B91
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462B91 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462B91 | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003D8F
Tritanopia (blue-blind)
#2B455A
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #462b91; /* rgb */ color: rgb(70, 43, 145); /* oklch */ color: oklch(38.7% 0.158 289.0);
Tailwind
colors: {
custom: {
50: '#8166b2',
500: '#462b91',
950: '#000000',
},
}SCSS
$custom: #462b91; $custom-light: #8166b2; $custom-dark: #000000;
JSON
{
"hex": "#462b91",
"rgb": {
"r": 70,
"g": 43,
"b": 145
},
"hsl": {
"h": 255.882,
"s": 54.255,
"l": 36.863
},
"oklch": {
"l": 0.38699,
"c": 0.15809,
"h": 289
},
"luminance": 0.05074
}Semantic roles & 50–950 ramp
primary
#462B91
secondary
#A0B860
accent
#DE4AB7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80