#5F247B Color Information

Hex color code: #5F247B

#5F247B is a muted purple color. In RGB it is (95, 36, 123), and in HSL it is (281°, 55%, 31%). It is typically applied in digital products.

Try:
Color NameRebecca Purple
HEX
#5F247B
RGB
95, 36, 123
HSL
281°, 55%, 31%
CMYK
23%, 71%, 0%, 52%

Shades

CSS Usage
color: #5F247B;
background-color: #5F247B;
border-color: #5F247B;
box-shadow: 0 0 10px #5F247B;
border: 2px solid #5F247B;
Tailwind Usage
bg-[#5F247B]
text-[#5F247B]
border-[#5F247B]
shadow-[0_0_10px_5F247B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5F247B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5F247B; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #5F247B; color: #FFFFFF; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #5F247B; background-color: #5F247B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5F247B20; border-left: 4px solid #5F247B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #5F247B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5F247B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

95, 36, 123

Red: 95 / Green: 36 / Blue: 123

HSL

281°, 55%, 31%

Hue: 281° / Saturation: 55% / Lightness: 31%

CMYK

23%, 71%, 0%, 52%

Cyan: 23% / Magenta: 71% / Yellow: 0% / Key: 52%

What color is #5F247B?

#5F247B is a magenta-red hue associated with romance and playfulness.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5F247B to RGB:

rgb(95, 36, 123)HEX to RGB Converter →

HEX to HSL

Convert #5F247B to HSL:

hsl(281, 55%, 31%)RGB to HSL Converter →

HEX to CMYK

Convert #5F247B to CMYK:

cmyk(23%, 71%, 0%, 52%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #5F247B has RGB (95, 36, 123) and HSL (281°, 55%, 31%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5F247B is #3F7B24, creating high-contrast pairings. For softer combinations, try analogous colors like #34247B.

Use #5F247B in CSS: color: #5F247B or background-color: #5F247B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #5F247B

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 2.02:1
WCAG AA: Fail
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5F247B?

#5F247B is a balanced purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #5F247B?

#5F247B in RGB is (95, 36, 123) - 95 red, 36 green, and 123 blue.

How to use #5F247B in CSS?

Use #5F247B directly in your CSS properties like color or background-color.

What colors go well with #5F247B?

#3F7B24 (complementary), #34247B (analogous), and #31123F (lighter shade) work well with #5F247B.