#462B95#462B95
#462B95 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.163 H 288.1°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #462B95 |
|---|---|
| RGB | rgb(70, 43, 149) |
| HSL | hsl(255, 55%, 38%) |
| HSV | hsv(255, 71%, 58%) |
| CMYK | cmyk(53%, 71.1%, 0%, 41.6%) |
| CIE-LAB | lab(27.30, 39.69, -53.98) |
| CIE-LCH | lch(27.30, 67.00, 306.32°) |
| OKLab | oklab(39.06% 0.0506 -0.155) |
| OKLCH | oklch(39.06% 0.163 288.1) |
| XYZ | xyz(8.8129, 5.1994, 28.9672) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.42
Darkslateblue
#483D8B
ΔE00 5.69
Rebeccapurple
#663399
ΔE00 6.11
Blueberry
#464196
ΔE00 6.36
Royal
#0C1793
ΔE00 7.02
Sapphire (survey)
#2138AB
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462B95 #7A952B
analogous
#2B4595 #462B95 #7B2B95
triadic
#462B95 #95462B #2B9546
tetradic
#462B95 #952B45 #7A952B #2B957B
square
#462B95 #952B45 #7A952B #2B957B
split-complementary
#462B95 #957B2B #45952B
monochromatic
#191036 #301D66 #462B95 #5C39C4 #8367D3
Accessibility & contrast
On white
10.29
#462B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#462B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462B95
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462B95 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#28465D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #462b95; /* rgb */ color: rgb(70, 43, 149); /* oklch */ color: oklch(39.1% 0.163 288.1);
Tailwind
colors: {
custom: {
50: '#8267b5',
500: '#462b95',
950: '#000000',
},
}SCSS
$custom: #462b95; $custom-light: #8267b5; $custom-dark: #000000;
JSON
{
"hex": "#462b95",
"rgb": {
"r": 70,
"g": 43,
"b": 149
},
"hsl": {
"h": 255.283,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.39059,
"c": 0.1631,
"h": 288.1
},
"luminance": 0.052
}Semantic roles & 50–950 ramp
primary
#462B95
secondary
#A3BA62
accent
#DF49B9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80