#522351 Color Information

Hex color code: #522351

#522351 is a dramatic magenta color. In RGB it is (82, 35, 81), and in HSL it is (301°, 40%, 23%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#522351
RGB
82, 35, 81
HSL
301°, 40%, 23%
CMYK
0%, 57%, 1%, 68%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #522351; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 35, 81

Red: 82 / Green: 35 / Blue: 81

HSL

301°, 40%, 23%

Hue: 301° / Saturation: 40% / Lightness: 23%

CMYK

0%, 57%, 1%, 68%

Cyan: 0% / Magenta: 57% / Yellow: 1% / Key: 68%

What color is #522351?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #522351 to RGB:

rgb(82, 35, 81)HEX to RGB Converter →

HEX to HSL

Convert #522351 to HSL:

hsl(301, 40%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #522351 to CMYK:

cmyk(0%, 57%, 1%, 68%)Color Converter →

Color Meaning and Usage

#522351 is a dark magenta color with RGB values of 82, 35, 81 and HSL of 301°, 40%, 23%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #522351 is #235224, creating high-contrast pairings. For softer combinations, try analogous colors like #3B2352.

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

Contrast with #522351

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #522351?

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

What is the RGB value of #522351?

#522351 in RGB is (82, 35, 81) - 82 red, 35 green, and 81 blue.

How to use #522351 in CSS?

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

What colors go well with #522351?

#235224 (complementary), #3B2352 (analogous), and #1D0C1C (lighter shade) work well with #522351.