#520D63 Color Information

Hex color code: #520D63

A rich magenta shade, #520D63 appears as (82, 13, 99) in RGB and (288°, 77%, 22%) in HSL. It is often used for branding and logos.

Try:
Color NameIndigo
HEX
#520D63
RGB
82, 13, 99
HSL
288°, 77%, 22%
CMYK
17%, 87%, 0%, 61%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #520D63; 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 #520D63; background-color: #520D6315; }

Alert / Toast

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

Link / Accent

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

a { color: #520D63; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #520D63 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 13, 99

Red: 82 / Green: 13 / Blue: 99

HSL

288°, 77%, 22%

Hue: 288° / Saturation: 77% / Lightness: 22%

CMYK

17%, 87%, 0%, 61%

Cyan: 17% / Magenta: 87% / Yellow: 0% / Key: 61%

What color is #520D63?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #520D63 to RGB:

rgb(82, 13, 99)HEX to RGB Converter →

HEX to HSL

Convert #520D63 to HSL:

hsl(288, 77%, 22%)RGB to HSL Converter →

HEX to CMYK

Convert #520D63 to CMYK:

cmyk(17%, 87%, 0%, 61%)Color Converter →

Color Meaning and Usage

A dark magenta tone, #520D63 has RGB (82, 13, 99) and HSL (288°, 77%, 22%). Known for evoking romance and playfulness, this magenta-red hue is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #520D63 is #1E630D, creating high-contrast pairings. For softer combinations, try analogous colors like #270D63.

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

Contrast with #520D63

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #520D63?

#520D63 is a dark magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #520D63?

#520D63 in RGB is (82, 13, 99) - 82 red, 13 green, and 99 blue.

How to use #520D63 in CSS?

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

What colors go well with #520D63?

#1E630D (complementary), #270D63 (analogous), and #1A0420 (lighter shade) work well with #520D63.