#462996#462996
#462996 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.9% C 0.167 H 288.3°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #462996 |
|---|---|
| RGB | rgb(70, 41, 150) |
| HSL | hsl(256, 57%, 37%) |
| HSV | hsv(256, 73%, 59%) |
| CMYK | cmyk(53.3%, 72.7%, 0%, 41.2%) |
| CIE-LAB | lab(26.99, 41.09, -55.10) |
| CIE-LCH | lch(26.99, 68.73, 306.71°) |
| OKLab | oklab(38.87% 0.0523 -0.1583) |
| OKLCH | oklch(38.87% 0.167 288.3) |
| XYZ | xyz(8.8221, 5.0896, 29.3658) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 5.01
Darkslateblue
#483D8B
ΔE00 6.20
Rebeccapurple
#663399
ΔE00 6.22
Royal
#0C1793
ΔE00 6.76
Blueberry
#464196
ΔE00 6.85
Indigo
#4B0082
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462996 #799629
analogous
#294396 #462996 #7C2996
triadic
#462996 #964629 #299646
tetradic
#462996 #962943 #799629 #29967C
square
#462996 #962943 #799629 #29967C
split-complementary
#462996 #967C29 #439629
monochromatic
#190F36 #301C66 #462996 #5C36C6 #8265D5
Accessibility & contrast
On white
10.41
#462996 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#462996 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462996
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462996 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462996 | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#27465D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #462996; /* rgb */ color: rgb(70, 41, 150); /* oklch */ color: oklch(38.9% 0.167 288.3);
Tailwind
colors: {
custom: {
50: '#8265b6',
500: '#462996',
950: '#000000',
},
}SCSS
$custom: #462996; $custom-light: #8265b6; $custom-dark: #000000;
JSON
{
"hex": "#462996",
"rgb": {
"r": 70,
"g": 41,
"b": 150
},
"hsl": {
"h": 255.963,
"s": 57.068,
"l": 37.451
},
"oklch": {
"l": 0.38868,
"c": 0.16672,
"h": 288.3
},
"luminance": 0.0509
}Semantic roles & 50–950 ramp
primary
#462996
secondary
#A3BB60
accent
#E047B8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80