#A42C9D#A42C9D
#A42C9D is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.199 H 330.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A42C9D |
|---|---|
| RGB | rgb(164, 44, 157) |
| HSL | hsl(304, 58%, 41%) |
| HSV | hsv(304, 73%, 64%) |
| CMYK | cmyk(0%, 73.2%, 4.3%, 35.7%) |
| CIE-LAB | lab(41.42, 60.86, -35.42) |
| CIE-LCH | lch(41.42, 70.42, 329.80°) |
| OKLab | oklab(52.12% 0.1729 -0.0977) |
| OKLCH | oklch(52.12% 0.199 330.5) |
| XYZ | xyz(22.2963, 12.1299, 33.0588) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.23
Ugly Purple
#A442A0
ΔE00 3.78
Barney Purple
#A00498
ΔE00 3.82
Medium Purple
#9E43A2
ΔE00 3.85
Barney
#AC1DB8
ΔE00 4.53
Purply
#983FB2
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42C9D #2CA433
analogous
#6F2CA4 #A42C9D #A42C61
triadic
#A42C9D #9DA42C #2C9DA4
tetradic
#A42C9D #A46F2C #2CA433 #2C61A4
square
#A42C9D #A46F2C #2CA433 #2C61A4
split-complementary
#A42C9D #61A42C #2CA46F
monochromatic
#431241 #741F6F #A42C9D #CC41C4 #D971D3
Accessibility & contrast
On white
6.13
#A42C9D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#A42C9D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42C9D
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42C9D | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F57A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#AA3B62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a42c9d; /* rgb */ color: rgb(164, 44, 157); /* oklch */ color: oklch(52.1% 0.199 330.5);
Tailwind
colors: {
custom: {
50: '#c372ba',
500: '#a42c9d',
950: '#000000',
},
}SCSS
$custom: #a42c9d; $custom-light: #c372ba; $custom-dark: #000000;
JSON
{
"hex": "#a42c9d",
"rgb": {
"r": 164,
"g": 44,
"b": 157
},
"hsl": {
"h": 303.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.52121,
"c": 0.19858,
"h": 330.5
},
"luminance": 0.12128
}Semantic roles & 50–950 ramp
primary
#A42C9D
secondary
#6BC070
accent
#E15047
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81