#A42F9C

Color Details

HEX
#A42F9C
RGB
rgb(164, 47, 156)
HSL
hsl(304, 55%, 41%)
CMYK
cmyk(0%, 71%, 5%, 36%)
Best text on this color #FFFFFF (CR 6.06:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #A42F9C swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #A42F9C

#A42F9C converts to RGB(164, 47, 156) and HSL(304, 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).

#A42F9C FAQs

What is the RGB value of #A42F9C?
RGB: 164, 47, 156. Copy as CSS: rgb(164, 47, 156)
Is #A42F9C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #A42F9C?
Complement: #2fa237.
Does #A42F9C have good contrast on white or black?
On white: 6.06:1 (AA (normal text)). On black: 3.47:1 (AA (large text)).