#462BAC#462BAC
#462BAC is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.191 H 283.8°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #462BAC |
|---|---|
| RGB | rgb(70, 43, 172) |
| HSL | hsl(253, 60%, 42%) |
| HSV | hsv(253, 75%, 67%) |
| CMYK | cmyk(59.3%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(29.43, 46.60, -64.44) |
| CIE-LCH | lch(29.43, 79.53, 305.87°) |
| OKLab | oklab(41.23% 0.0455 -0.1857) |
| OKLCH | oklch(41.23% 0.191 283.8) |
| XYZ | xyz(10.8338, 6.0077, 39.6104) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.63
Violet Blue
#510AC9
ΔE00 5.28
Blue With A Hint Of Purple
#533CC6
ΔE00 5.68
Purple Blue
#5D21D0
ΔE00 5.74
Ocean Blue
#4F42B5
ΔE00 5.89
Blurple
#5539CC
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462BAC #91AC2B
analogous
#2B51AC #462BAC #872BAC
triadic
#462BAC #AC462B #2BAC46
tetradic
#462BAC #AC2B51 #91AC2B #2BAC87
square
#462BAC #AC2B51 #91AC2B #2BAC87
split-complementary
#462BAC #AC872B #51AC2B
monochromatic
#1E134A #321F7B #462BAC #6144D0 #8B75DC
Accessibility & contrast
On white
9.54
#462BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#462BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462BAC
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462BAC | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049B0
Deuteranopia (green-blind)
#0041AA
Tritanopia (blue-blind)
#044F69
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #462bac; /* rgb */ color: rgb(70, 43, 172); /* oklch */ color: oklch(41.2% 0.191 283.8);
Tailwind
colors: {
custom: {
50: '#8668c6',
500: '#462bac',
950: '#000000',
},
}SCSS
$custom: #462bac; $custom-light: #8668c6; $custom-dark: #000000;
JSON
{
"hex": "#462bac",
"rgb": {
"r": 70,
"g": 43,
"b": 172
},
"hsl": {
"h": 252.558,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.41227,
"c": 0.19119,
"h": 283.8
},
"luminance": 0.06008
}Semantic roles & 50–950 ramp
primary
#462BAC
secondary
#B2C46F
accent
#E345C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82