#501254 Color Information

Hex color code: #501254

#501254 is a deep magenta color. In RGB it is (80, 18, 84), and in HSL it is (296°, 65%, 20%). It is commonly used in modern UI design.

Try:
Color NameIndigo
HEX
#501254
RGB
80, 18, 84
HSL
296°, 65%, 20%
CMYK
5%, 79%, 0%, 67%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #501254; 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 #501254; background-color: #50125415; }

Alert / Toast

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

Link / Accent

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

a { color: #501254; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #501254 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

80, 18, 84

Red: 80 / Green: 18 / Blue: 84

HSL

296°, 65%, 20%

Hue: 296° / Saturation: 65% / Lightness: 20%

CMYK

5%, 79%, 0%, 67%

Cyan: 5% / Magenta: 79% / Yellow: 0% / Key: 67%

What color is #501254?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #501254 to RGB:

rgb(80, 18, 84)HEX to RGB Converter →

HEX to HSL

Convert #501254 to HSL:

hsl(296, 65%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #501254 to CMYK:

cmyk(5%, 79%, 0%, 67%)Color Converter →

Color Meaning and Usage

A dramatic magenta tone, #501254 has RGB (80, 18, 84) and HSL (296°, 65%, 20%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #501254 is #165412, creating high-contrast pairings. For softer combinations, try analogous colors like #2F1254.

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

Contrast with #501254

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #501254?

#501254 is a dramatic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #501254?

#501254 in RGB is (80, 18, 84) - 80 red, 18 green, and 84 blue.

How to use #501254 in CSS?

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

What colors go well with #501254?

#165412 (complementary), #2F1254 (analogous), and #140415 (lighter shade) work well with #501254.