#A431A1#A431A1
#A431A1 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.196 H 329.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A431A1 |
|---|---|
| RGB | rgb(164, 49, 161) |
| HSL | hsl(302, 54%, 42%) |
| HSV | hsv(302, 70%, 64%) |
| CMYK | cmyk(0%, 70.1%, 1.8%, 35.7%) |
| CIE-LAB | lab(42.25, 59.77, -36.51) |
| CIE-LCH | lch(42.25, 70.04, 328.58°) |
| OKLab | oklab(52.79% 0.168 -0.1008) |
| OKLCH | oklch(52.79% 0.196 329) |
| XYZ | xyz(22.8410, 12.6640, 34.9527) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.05
Ugly Purple
#A442A0
ΔE00 3.10
Warm Purple
#952E8F
ΔE00 3.86
Barney
#AC1DB8
ΔE00 4.09
Barney Purple
#A00498
ΔE00 4.62
Purply
#983FB2
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A431A1 #31A434
analogous
#6E31A4 #A431A1 #A43168
triadic
#A431A1 #A1A431 #31A1A4
tetradic
#A431A1 #A46E31 #31A434 #3168A4
square
#A431A1 #A46E31 #31A434 #3168A4
split-complementary
#A431A1 #68A431 #31A46E
monochromatic
#461544 #752373 #A431A1 #C949C5 #D779D4
Accessibility & contrast
On white
5.94
#A431A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#A431A1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A431A1
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A431A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A431A1 | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225AA4
Deuteranopia (green-blind)
#51699E
Tritanopia (blue-blind)
#AA4165
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a431a1; /* rgb */ color: rgb(164, 49, 161); /* oklch */ color: oklch(52.8% 0.196 329.0);
Tailwind
colors: {
custom: {
50: '#c274bd',
500: '#a431a1',
950: '#000000',
},
}SCSS
$custom: #a431a1; $custom-light: #c274bd; $custom-dark: #000000;
JSON
{
"hex": "#a431a1",
"rgb": {
"r": 164,
"g": 49,
"b": 161
},
"hsl": {
"h": 301.565,
"s": 53.991,
"l": 41.765
},
"oklch": {
"l": 0.52787,
"c": 0.19596,
"h": 329
},
"luminance": 0.12662
}Semantic roles & 50–950 ramp
primary
#A431A1
secondary
#72BF74
accent
#DD4E4A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81