#A42B9C#A42B9C
#A42B9C is a mid, vivid purple. Relative luminance 0.120; OKLCH L 52.0% C 0.199 H 330.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A42B9C |
|---|---|
| RGB | rgb(164, 43, 156) |
| HSL | hsl(304, 58%, 41%) |
| HSV | hsv(304, 74%, 64%) |
| CMYK | cmyk(0%, 73.8%, 4.9%, 35.7%) |
| CIE-LAB | lab(41.25, 61.03, -35.09) |
| CIE-LCH | lch(41.25, 70.40, 330.11°) |
| OKLab | oklab(51.98% 0.1738 -0.0967) |
| OKLCH | oklch(51.98% 0.199 330.9) |
| XYZ | xyz(22.1744, 12.0223, 32.5987) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.11
Barney Purple
#A00498
ΔE00 3.68
Ugly Purple
#A442A0
ΔE00 3.93
Medium Purple
#9E43A2
ΔE00 4.02
Barney
#AC1DB8
ΔE00 4.67
Purply
#983FB2
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42B9C #2BA433
analogous
#6F2BA4 #A42B9C #A42B5F
triadic
#A42B9C #9CA42B #2B9CA4
tetradic
#A42B9C #A46F2B #2BA433 #2B5FA4
square
#A42B9C #A46F2B #2BA433 #2B5FA4
split-complementary
#A42B9C #5FA42B #2BA46F
monochromatic
#431240 #741E6E #A42B9C #CD3FC3 #D970D3
Accessibility & contrast
On white
6.17
#A42B9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#A42B9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42B9C
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42B9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42B9C | 1.00 | 6.17 | 3.40 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F579F
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#AB3A61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a42b9c; /* rgb */ color: rgb(164, 43, 156); /* oklch */ color: oklch(52.0% 0.199 330.9);
Tailwind
colors: {
custom: {
50: '#c371b9',
500: '#a42b9c',
950: '#000000',
},
}SCSS
$custom: #a42b9c; $custom-light: #c371b9; $custom-dark: #000000;
JSON
{
"hex": "#a42b9c",
"rgb": {
"r": 164,
"g": 43,
"b": 156
},
"hsl": {
"h": 303.967,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.51981,
"c": 0.19891,
"h": 330.9
},
"luminance": 0.12021
}Semantic roles & 50–950 ramp
primary
#A42B9C
secondary
#6AC170
accent
#E25046
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80