#462B7F#462B7F
#462B7F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.135 H 293.6°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #462B7F |
|---|---|
| RGB | rgb(70, 43, 127) |
| HSL | hsl(259, 49%, 33%) |
| HSV | hsv(259, 66%, 50%) |
| CMYK | cmyk(44.9%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(25.45, 33.09, -43.30) |
| CIE-LCH | lch(25.45, 54.50, 307.39°) |
| OKLab | oklab(37.16% 0.0539 -0.1237) |
| OKLCH | oklch(37.16% 0.135 293.6) |
| XYZ | xyz(7.2194, 4.5620, 20.5747) |
| Luminance | 0.0456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.37
Rebeccapurple
#663399
ΔE00 6.81
Indigo
#4B0082
ΔE00 7.20
Blueberry
#464196
ΔE00 7.21
Midnight Blue
#191970
ΔE00 7.64
Indigo (survey)
#380282
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462B7F #647F2B
analogous
#2B3A7F #462B7F #702B7F
triadic
#462B7F #7F462B #2B7F46
tetradic
#462B7F #7F2B3A #647F2B #2B7F70
square
#462B7F #7F2B3A #647F2B #2B7F70
split-complementary
#462B7F #7F702B #3A7F2B
monochromatic
#140C24 #2D1C51 #462B7F #5F3AAD #7F5CC8
Accessibility & contrast
On white
10.98
#462B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#462B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462B7F
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462B7F | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#003B7D
Tritanopia (blue-blind)
#363F51
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #462b7f; /* rgb */ color: rgb(70, 43, 127); /* oklch */ color: oklch(37.2% 0.135 293.6);
Tailwind
colors: {
custom: {
50: '#7e66a5',
500: '#462b7f',
950: '#000000',
},
}SCSS
$custom: #462b7f; $custom-light: #7e66a5; $custom-dark: #000000;
JSON
{
"hex": "#462b7f",
"rgb": {
"r": 70,
"g": 43,
"b": 127
},
"hsl": {
"h": 259.286,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.37156,
"c": 0.13492,
"h": 293.6
},
"luminance": 0.04562
}Semantic roles & 50–950 ramp
primary
#462B7F
secondary
#92AE58
accent
#D94FAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F