#A42F8B
Color Details
HEX
#A42F8B
RGB
rgb(164, 47, 139)
HSL
hsl(313, 55%, 41%)
CMYK
cmyk(0%, 71%, 15%, 36%)
Best text on this color
#FFFFFF (CR 6.25:1)
Determined by WCAG contrast ratio
Readability Previews
Monochrome
Analogous
Complementary Mix
About #A42F8B
#A42F8B converts to RGB(164, 47, 139) and HSL(313, 55%, 41%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.
Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).
#A42F8B FAQs
What is the RGB value of #A42F8B?
RGB: 164, 47, 139. Copy as CSS:
rgb(164, 47, 139)
Is #A42F8B a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #A42F8B?
Complement: #2fa248.
Does #A42F8B have good contrast on white or black?
On white: 6.25:1 (AA (normal text)).
On black: 3.36:1 (AA (large text)).