#462CA3#462CA3
#462CA3 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.5% C 0.179 H 285.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #462CA3 |
|---|---|
| RGB | rgb(70, 44, 163) |
| HSL | hsl(253, 57%, 41%) |
| HSV | hsv(253, 73%, 64%) |
| CMYK | cmyk(57.1%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(28.77, 43.37, -60.11) |
| CIE-LCH | lch(28.77, 74.12, 305.81°) |
| OKLab | oklab(40.5% 0.0469 -0.173) |
| OKLCH | oklch(40.5% 0.179 285.2) |
| XYZ | xyz(10.0353, 5.7472, 35.2238) |
| Luminance | 0.0575 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Sapphire (survey)
#2138AB
ΔE00 6.03
Ocean Blue
#4F42B5
ΔE00 6.14
Violet Blue
#510AC9
ΔE00 6.34
Rebeccapurple
#663399
ΔE00 6.47
Blue With A Hint Of Purple
#533CC6
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#462CA3 #89A32C
analogous
#2C4DA3 #462CA3 #812CA3
triadic
#462CA3 #A3462C #2CA346
tetradic
#462CA3 #A32C4D #89A32C #2CA381
square
#462CA3 #A32C4D #89A32C #2CA381
split-complementary
#462CA3 #A3812C #4DA32C
monochromatic
#1D1243 #311F73 #462CA3 #5F41CC #8771D9
Accessibility & contrast
On white
9.77
#462CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#462CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #462CA3
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##462CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##462CA3 | 1.00 | 9.77 | 2.15 | 9.77 |
| #FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A6
Deuteranopia (green-blind)
#0040A1
Tritanopia (blue-blind)
#194C65
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #462ca3; /* rgb */ color: rgb(70, 44, 163); /* oklch */ color: oklch(40.5% 0.179 285.2);
Tailwind
colors: {
custom: {
50: '#8468bf',
500: '#462ca3',
950: '#000000',
},
}SCSS
$custom: #462ca3; $custom-light: #8468bf; $custom-dark: #000000;
JSON
{
"hex": "#462ca3",
"rgb": {
"r": 70,
"g": 44,
"b": 163
},
"hsl": {
"h": 253.109,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.40496,
"c": 0.17926,
"h": 285.2
},
"luminance": 0.05748
}Semantic roles & 50–950 ramp
primary
#462CA3
secondary
#ADC06B
accent
#E147BF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81