#462AB1#462AB1
#462AB1 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.198 H 283.1°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #462AB1 |
|---|---|
| RGB | rgb(70, 42, 177) |
| HSL | hsl(252, 62%, 43%) |
| HSV | hsv(252, 76%, 69%) |
| CMYK | cmyk(60.5%, 76.3%, 0%, 30.6%) |
| CIE-LAB | lab(29.74, 48.60, -66.92) |
| CIE-LCH | lch(29.74, 82.71, 305.99°) |
| OKLab | oklab(41.59% 0.0449 -0.1929) |
| OKLCH | oklch(41.59% 0.198 283.1) |
| XYZ | xyz(11.2871, 6.1316, 42.1752) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.43
Violet Blue
#510AC9
ΔE00 4.71
Purple Blue
#5D21D0
ΔE00 5.15
Blue With A Hint Of Purple
#533CC6
ΔE00 5.39
Blurple
#5539CC
ΔE00 5.51
Ocean Blue
#4F42B5
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462AB1 #95B12A
analogous
#2A52B1 #462AB1 #892AB1
triadic
#462AB1 #B1462A #2AB146
tetradic
#462AB1 #B12A52 #95B12A #2AB189
square
#462AB1 #B12A52 #95B12A #2AB189
split-complementary
#462AB1 #B1892A #52B12A
monochromatic
#1F134E #321E80 #462AB1 #6345D3 #8C77DF
Accessibility & contrast
On white
9.43
#462AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#462AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462AB1
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462AB1 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #462ab1; /* rgb */ color: rgb(70, 42, 177); /* oklch */ color: oklch(41.6% 0.198 283.1);
Tailwind
colors: {
custom: {
50: '#8667ca',
500: '#462ab1',
950: '#000000',
},
}SCSS
$custom: #462ab1; $custom-light: #8667ca; $custom-dark: #000000;
JSON
{
"hex": "#462ab1",
"rgb": {
"r": 70,
"g": 42,
"b": 177
},
"hsl": {
"h": 252.444,
"s": 61.644,
"l": 42.941
},
"oklch": {
"l": 0.41593,
"c": 0.19809,
"h": 283.1
},
"luminance": 0.06132
}Semantic roles & 50–950 ramp
primary
#462AB1
secondary
#B5C670
accent
#E543C3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82