#A42B9F#A42B9F
#A42B9F is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.1% C 0.201 H 329.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A42B9F |
|---|---|
| RGB | rgb(164, 43, 159) |
| HSL | hsl(302, 58%, 41%) |
| HSV | hsv(302, 74%, 64%) |
| CMYK | cmyk(0%, 73.8%, 3%, 35.7%) |
| CIE-LAB | lab(41.41, 61.51, -36.63) |
| CIE-LCH | lch(41.41, 71.60, 329.22°) |
| OKLab | oklab(52.15% 0.1739 -0.1012) |
| OKLCH | oklch(52.15% 0.201 329.8) |
| XYZ | xyz(22.4316, 12.1252, 33.9531) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.40
Barney Purple
#A00498
ΔE00 3.73
Medium Purple
#9E43A2
ΔE00 3.89
Ugly Purple
#A442A0
ΔE00 3.93
Barney
#AC1DB8
ΔE00 4.14
Purply
#983FB2
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42B9F #2BA430
analogous
#6C2BA4 #A42B9F #A42B63
triadic
#A42B9F #9FA42B #2B9FA4
tetradic
#A42B9F #A46C2B #2BA430 #2B63A4
square
#A42B9F #A46C2B #2BA430 #2B63A4
split-complementary
#A42B9F #63A42B #2BA46C
monochromatic
#431241 #741E70 #A42B9F #CD3FC7 #D970D5
Accessibility & contrast
On white
6.13
#A42B9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#A42B9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42B9F
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42B9F | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#AA3C63
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a42b9f; /* rgb */ color: rgb(164, 43, 159); /* oklch */ color: oklch(52.1% 0.201 329.8);
Tailwind
colors: {
custom: {
50: '#c371bc',
500: '#a42b9f',
950: '#000000',
},
}SCSS
$custom: #a42b9f; $custom-light: #c371bc; $custom-dark: #000000;
JSON
{
"hex": "#a42b9f",
"rgb": {
"r": 164,
"g": 43,
"b": 159
},
"hsl": {
"h": 302.479,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.5215,
"c": 0.20119,
"h": 329.8
},
"luminance": 0.12123
}Semantic roles & 50–950 ramp
primary
#A42B9F
secondary
#6AC16E
accent
#E24D46
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81