#5F078C

Color Details

HEX
#5F078C
RGB
rgb(95, 7, 140)
HSL
hsl(280, 90%, 29%)
CMYK
cmyk(32%, 95%, 0%, 45%)
Best text on this color #FFFFFF (CR 11.08:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #5F078C swatch

Embed this swatch

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

Open image

About #5F078C

#5F078C converts to RGB(95, 7, 140) and HSL(280, 90%, 29%). 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).

#5F078C FAQs

What is the RGB value of #5F078C?
RGB: 95, 7, 140. Copy as CSS: rgb(95, 7, 140)
Is #5F078C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #5F078C?
Complement: #348d07.
Does #5F078C have good contrast on white or black?
On white: 11.08:1 (AAA (normal text)). On black: 1.90:1 (Fails AA).