#462C95#462C95
#462C95 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.2% C 0.162 H 287.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #462C95 |
|---|---|
| RGB | rgb(70, 44, 149) |
| HSL | hsl(255, 54%, 38%) |
| HSV | hsv(255, 70%, 58%) |
| CMYK | cmyk(53%, 70.5%, 0%, 41.6%) |
| CIE-LAB | lab(27.50, 39.13, -53.65) |
| CIE-LCH | lch(27.50, 66.40, 306.10°) |
| OKLab | oklab(39.2% 0.0497 -0.1541) |
| OKLCH | oklch(39.2% 0.162 287.9) |
| XYZ | xyz(8.8497, 5.2730, 28.9794) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.46
Indigo Blue
#3A18B1
ΔE00 5.58
Rebeccapurple
#663399
ΔE00 6.08
Blueberry
#464196
ΔE00 6.12
Sapphire (survey)
#2138AB
ΔE00 6.90
Royal
#0C1793
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462C95 #7B952C
analogous
#2C4795 #462C95 #7A2C95
triadic
#462C95 #95462C #2C9546
tetradic
#462C95 #952C47 #7B952C #2C957A
square
#462C95 #952C47 #7B952C #2C957A
split-complementary
#462C95 #957A2C #47952C
monochromatic
#1A1037 #301E66 #462C95 #5C3AC4 #8369D3
Accessibility & contrast
On white
10.22
#462C95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#462C95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462C95
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462C95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462C95 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003E93
Tritanopia (blue-blind)
#28475D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #462c95; /* rgb */ color: rgb(70, 44, 149); /* oklch */ color: oklch(39.2% 0.162 287.9);
Tailwind
colors: {
custom: {
50: '#8267b5',
500: '#462c95',
950: '#000000',
},
}SCSS
$custom: #462c95; $custom-light: #8267b5; $custom-dark: #000000;
JSON
{
"hex": "#462c95",
"rgb": {
"r": 70,
"g": 44,
"b": 149
},
"hsl": {
"h": 254.857,
"s": 54.404,
"l": 37.843
},
"oklch": {
"l": 0.39204,
"c": 0.16189,
"h": 287.9
},
"luminance": 0.05273
}Semantic roles & 50–950 ramp
primary
#462C95
secondary
#A4B964
accent
#DE4AB9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80