#52176D Color Information

Hex color code: #52176D

The hex color #52176D is a understated purple with RGB values of (82, 23, 109) and HSL of (281°, 65%, 26%). It is widely used in graphic design.

Try:
Color NameIndigo
HEX
#52176D
RGB
82, 23, 109
HSL
281°, 65%, 26%
CMYK
25%, 79%, 0%, 57%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #52176D; 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 #52176D; background-color: #52176D15; }

Alert / Toast

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

Link / Accent

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

a { color: #52176D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #52176D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 23, 109

Red: 82 / Green: 23 / Blue: 109

HSL

281°, 65%, 26%

Hue: 281° / Saturation: 65% / Lightness: 26%

CMYK

25%, 79%, 0%, 57%

Cyan: 25% / Magenta: 79% / Yellow: 0% / Key: 57%

What color is #52176D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #52176D to RGB:

rgb(82, 23, 109)HEX to RGB Converter →

HEX to HSL

Convert #52176D to HSL:

hsl(281, 65%, 26%)RGB to HSL Converter →

HEX to CMYK

Convert #52176D to CMYK:

cmyk(25%, 79%, 0%, 57%)Color Converter →

Color Meaning and Usage

#52176D is a muted purple color with RGB values of 82, 23, 109 and HSL of 281°, 65%, 26%. This magenta-red hue evokes romance and playfulness, making it suitable for popular for illustrations and friendly visual themes. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #52176D is #326D17, creating high-contrast pairings. For softer combinations, try analogous colors like #27176D.

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

Contrast with #52176D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #52176D?

#52176D is a muted purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #52176D?

#52176D in RGB is (82, 23, 109) - 82 red, 23 green, and 109 blue.

How to use #52176D in CSS?

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

What colors go well with #52176D?

#326D17 (complementary), #27176D (analogous), and #230A2E (lighter shade) work well with #52176D.