#462CAB#462CAB
#462CAB is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.3% C 0.189 H 283.8°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #462CAB |
|---|---|
| RGB | rgb(70, 44, 171) |
| HSL | hsl(252, 59%, 42%) |
| HSV | hsv(252, 74%, 67%) |
| CMYK | cmyk(59.1%, 74.3%, 0%, 32.9%) |
| CIE-LAB | lab(29.52, 45.78, -63.70) |
| CIE-LCH | lch(29.52, 78.44, 305.70°) |
| OKLab | oklab(41.26% 0.045 -0.1835) |
| OKLCH | oklch(41.26% 0.189 283.8) |
| XYZ | xyz(10.7749, 6.0430, 39.1188) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.85
Violet Blue
#510AC9
ΔE00 5.52
Blue With A Hint Of Purple
#533CC6
ΔE00 5.63
Ocean Blue
#4F42B5
ΔE00 5.73
Sapphire (survey)
#2138AB
ΔE00 5.85
Purple Blue
#5D21D0
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462CAB #91AB2C
analogous
#2C52AB #462CAB #852CAB
triadic
#462CAB #AB462C #2CAB46
tetradic
#462CAB #AB2C52 #91AB2C #2CAB85
square
#462CAB #AB2C52 #91AB2C #2CAB85
split-complementary
#462CAB #AB852C #52AB2C
monochromatic
#1E134A #321F7A #462CAB #6145CF #8B76DC
Accessibility & contrast
On white
9.51
#462CAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#462CAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462CAB
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462CAB | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049AF
Deuteranopia (green-blind)
#0041A9
Tritanopia (blue-blind)
#074F69
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #462cab; /* rgb */ color: rgb(70, 44, 171); /* oklch */ color: oklch(41.3% 0.189 283.8);
Tailwind
colors: {
custom: {
50: '#8568c5',
500: '#462cab',
950: '#000000',
},
}SCSS
$custom: #462cab; $custom-light: #8568c5; $custom-dark: #000000;
JSON
{
"hex": "#462cab",
"rgb": {
"r": 70,
"g": 44,
"b": 171
},
"hsl": {
"h": 252.283,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.4126,
"c": 0.18895,
"h": 283.8
},
"luminance": 0.06044
}Semantic roles & 50–950 ramp
primary
#462CAB
secondary
#B2C36F
accent
#E246C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82