#501782 Color Information

Hex color code: #501782

#501782 is a understated purple color. In RGB it is (80, 23, 130), and in HSL it is (272°, 70%, 30%). It is popular in mobile app design.

Try:
Color NameIndigo
HEX
#501782
RGB
80, 23, 130
HSL
272°, 70%, 30%
CMYK
38%, 82%, 0%, 49%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #501782; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

80, 23, 130

Red: 80 / Green: 23 / Blue: 130

HSL

272°, 70%, 30%

Hue: 272° / Saturation: 70% / Lightness: 30%

CMYK

38%, 82%, 0%, 49%

Cyan: 38% / Magenta: 82% / Yellow: 0% / Key: 49%

What color is #501782?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #501782 to RGB:

rgb(80, 23, 130)HEX to RGB Converter →

HEX to HSL

Convert #501782 to HSL:

hsl(272, 70%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #501782 to CMYK:

cmyk(38%, 82%, 0%, 49%)Color Converter →

Color Meaning and Usage

#501782 is a neutral purple color with RGB values of 80, 23, 130 and HSL of 272°, 70%, 30%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #501782 is #498217, creating high-contrast pairings. For softer combinations, try analogous colors like #1B1782.

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

Contrast with #501782

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #501782?

#501782 is a neutral purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #501782?

#501782 in RGB is (80, 23, 130) - 80 red, 23 green, and 130 blue.

How to use #501782 in CSS?

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

What colors go well with #501782?

#498217 (complementary), #1B1782 (analogous), and #280B41 (lighter shade) work well with #501782.