#462C99#462C99
#462C99 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.6% C 0.167 H 287.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #462C99 |
|---|---|
| RGB | rgb(70, 44, 153) |
| HSL | hsl(254, 55%, 39%) |
| HSV | hsv(254, 71%, 60%) |
| CMYK | cmyk(54.2%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(27.85, 40.34, -55.52) |
| CIE-LCH | lch(27.85, 68.63, 306.00°) |
| OKLab | oklab(39.57% 0.0489 -0.1596) |
| OKLCH | oklch(39.57% 0.167 287) |
| XYZ | xyz(9.1745, 5.4029, 30.6903) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.12
Darkslateblue
#483D8B
ΔE00 5.73
Rebeccapurple
#663399
ΔE00 6.13
Blueberry
#464196
ΔE00 6.16
Sapphire (survey)
#2138AB
ΔE00 6.58
Ocean Blue
#4F42B5
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462C99 #7F992C
analogous
#2C4899 #462C99 #7C2C99
triadic
#462C99 #99462C #2C9946
tetradic
#462C99 #992C48 #7F992C #2C997C
square
#462C99 #992C48 #7F992C #2C997C
split-complementary
#462C99 #997C2C #48992C
monochromatic
#1B113A #301E69 #462C99 #5D3BC7 #846BD4
Accessibility & contrast
On white
10.09
#462C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#462C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462C99
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462C99 | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#24485F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #462c99; /* rgb */ color: rgb(70, 44, 153); /* oklch */ color: oklch(39.6% 0.167 287.0);
Tailwind
colors: {
custom: {
50: '#8267b8',
500: '#462c99',
950: '#000000',
},
}SCSS
$custom: #462c99; $custom-light: #8267b8; $custom-dark: #000000;
JSON
{
"hex": "#462c99",
"rgb": {
"r": 70,
"g": 44,
"b": 153
},
"hsl": {
"h": 254.312,
"s": 55.33,
"l": 38.627
},
"oklch": {
"l": 0.39567,
"c": 0.1669,
"h": 287
},
"luminance": 0.05403
}Semantic roles & 50–950 ramp
primary
#462C99
secondary
#A7BB66
accent
#DF49BB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80