#A42B9B#A42B9B
#A42B9B is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.9% C 0.198 H 331.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A42B9B |
|---|---|
| RGB | rgb(164, 43, 155) |
| HSL | hsl(304, 58%, 41%) |
| HSV | hsv(304, 74%, 64%) |
| CMYK | cmyk(0%, 73.8%, 5.5%, 35.7%) |
| CIE-LAB | lab(41.20, 60.87, -34.57) |
| CIE-LCH | lch(41.20, 70.00, 330.41°) |
| OKLab | oklab(51.93% 0.1738 -0.0952) |
| OKLCH | oklch(51.93% 0.198 331.3) |
| XYZ | xyz(22.0901, 11.9886, 32.1546) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.04
Barney Purple
#A00498
ΔE00 3.68
Ugly Purple
#A442A0
ΔE00 3.95
Medium Purple
#9E43A2
ΔE00 4.08
Barney
#AC1DB8
ΔE00 4.85
Purply
#983FB2
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42B9B #2BA434
analogous
#702BA4 #A42B9B #A42B5E
triadic
#A42B9B #9BA42B #2B9BA4
tetradic
#A42B9B #A4702B #2BA434 #2B5EA4
square
#A42B9B #A4702B #2BA434 #2B5EA4
split-complementary
#A42B9B #5EA42B #2BA470
monochromatic
#43123F #741E6D #A42B9B #CD3FC2 #D970D2
Accessibility & contrast
On white
6.18
#A42B9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#A42B9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42B9B
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42B9B | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20569E
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#AB3A60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a42b9b; /* rgb */ color: rgb(164, 43, 155); /* oklch */ color: oklch(51.9% 0.198 331.3);
Tailwind
colors: {
custom: {
50: '#c371b9',
500: '#a42b9b',
950: '#000000',
},
}SCSS
$custom: #a42b9b; $custom-light: #c371b9; $custom-dark: #000000;
JSON
{
"hex": "#a42b9b",
"rgb": {
"r": 164,
"g": 43,
"b": 155
},
"hsl": {
"h": 304.463,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.51925,
"c": 0.19816,
"h": 331.3
},
"luminance": 0.11987
}Semantic roles & 50–950 ramp
primary
#A42B9B
secondary
#6AC171
accent
#E25246
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80