#521980 Color Information

Hex color code: #521980

A muted purple shade, #521980 appears as (82, 25, 128) in RGB and (273°, 67%, 30%) in HSL. It is typically applied in digital products.

Try:
Color NameIndigo
HEX
#521980
RGB
82, 25, 128
HSL
273°, 67%, 30%
CMYK
36%, 80%, 0%, 50%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #521980; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 25, 128

Red: 82 / Green: 25 / Blue: 128

HSL

273°, 67%, 30%

Hue: 273° / Saturation: 67% / Lightness: 30%

CMYK

36%, 80%, 0%, 50%

Cyan: 36% / Magenta: 80% / Yellow: 0% / Key: 50%

What color is #521980?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #521980 to RGB:

rgb(82, 25, 128)HEX to RGB Converter →

HEX to HSL

Convert #521980 to HSL:

hsl(273, 67%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #521980 to CMYK:

cmyk(36%, 80%, 0%, 50%)Color Converter →

Color Meaning and Usage

#521980 is a balanced purple color with RGB values of 82, 25, 128 and HSL of 273°, 67%, 30%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #521980 is #478019, creating high-contrast pairings. For softer combinations, try analogous colors like #1E1980.

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

Contrast with #521980

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #521980?

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

What is the RGB value of #521980?

#521980 in RGB is (82, 25, 128) - 82 red, 25 green, and 128 blue.

How to use #521980 in CSS?

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

What colors go well with #521980?

#478019 (complementary), #1E1980 (analogous), and #290D40 (lighter shade) work well with #521980.