#5F4F9C

Color Details

HEX
#5F4F9C
RGB
rgb(95, 79, 156)
HSL
hsl(252, 33%, 46%)
CMYK
cmyk(39%, 49%, 0%, 39%)
Best text on this color #FFFFFF (CR 6.81:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #5F4F9C swatch

Embed this swatch

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

Open image

About #5F4F9C

#5F4F9C converts to RGB(95, 79, 156) and HSL(252, 33%, 46%). 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).

#5F4F9C FAQs

What is the RGB value of #5F4F9C?
RGB: 95, 79, 156. Copy as CSS: rgb(95, 79, 156)
Is #5F4F9C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5F4F9C?
Complement: #8d9c4f.
Does #5F4F9C have good contrast on white or black?
On white: 6.81:1 (AA (normal text)). On black: 3.09:1 (AA (large text)).