#462AAB#462AAB
#462AAB is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.191 H 284.1°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #462AAB |
|---|---|
| RGB | rgb(70, 42, 171) |
| HSL | hsl(253, 61%, 42%) |
| HSV | hsv(253, 75%, 67%) |
| CMYK | cmyk(59.1%, 75.4%, 0%, 32.9%) |
| CIE-LAB | lab(29.15, 46.82, -64.30) |
| CIE-LCH | lch(29.15, 79.54, 306.06°) |
| OKLab | oklab(41% 0.0465 -0.1853) |
| OKLCH | oklch(41% 0.191 284.1) |
| XYZ | xyz(10.7022, 5.8976, 39.0946) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.46
Violet Blue
#510AC9
ΔE00 5.24
Purple Blue
#5D21D0
ΔE00 5.83
Blue With A Hint Of Purple
#533CC6
ΔE00 5.93
Ocean Blue
#4F42B5
ΔE00 6.13
Blurple
#5539CC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462AAB #8FAB2A
analogous
#2A4FAB #462AAB #872AAB
triadic
#462AAB #AB462A #2AAB46
tetradic
#462AAB #AB2A4F #8FAB2A #2AAB87
square
#462AAB #AB2A4F #8FAB2A #2AAB87
split-complementary
#462AAB #AB872A #4FAB2A
monochromatic
#1E1249 #321E7A #462AAB #6142D1 #8A73DD
Accessibility & contrast
On white
9.63
#462AAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#462AAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462AAB
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462AAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462AAB | 1.00 | 9.63 | 2.18 | 9.63 |
| #FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#084E69
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #462aab; /* rgb */ color: rgb(70, 42, 171); /* oklch */ color: oklch(41.0% 0.191 284.1);
Tailwind
colors: {
custom: {
50: '#8567c5',
500: '#462aab',
950: '#000000',
},
}SCSS
$custom: #462aab; $custom-light: #8567c5; $custom-dark: #000000;
JSON
{
"hex": "#462aab",
"rgb": {
"r": 70,
"g": 42,
"b": 171
},
"hsl": {
"h": 253.023,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.41001,
"c": 0.19101,
"h": 284.1
},
"luminance": 0.05898
}Semantic roles & 50–950 ramp
primary
#462AAB
secondary
#B1C46D
accent
#E444C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82