#522258 Color Information

Hex color code: #522258

#522258 is a deep magenta color. In RGB it is (82, 34, 88), and in HSL it is (293°, 44%, 24%). It is commonly used in modern UI design.

Try:
Color NameIndigo
HEX
#522258
RGB
82, 34, 88
HSL
293°, 44%, 24%
CMYK
7%, 61%, 0%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #522258; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 34, 88

Red: 82 / Green: 34 / Blue: 88

HSL

293°, 44%, 24%

Hue: 293° / Saturation: 44% / Lightness: 24%

CMYK

7%, 61%, 0%, 65%

Cyan: 7% / Magenta: 61% / Yellow: 0% / Key: 65%

What color is #522258?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #522258 to RGB:

rgb(82, 34, 88)HEX to RGB Converter →

HEX to HSL

Convert #522258 to HSL:

hsl(293, 44%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #522258 to CMYK:

cmyk(7%, 61%, 0%, 65%)Color Converter →

Color Meaning and Usage

A deep magenta tone, #522258 has RGB (82, 34, 88) and HSL (293°, 44%, 24%). Known for evoking romance and playfulness, this magenta-red hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #522258 is #295822, creating high-contrast pairings. For softer combinations, try analogous colors like #372258.

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

Contrast with #522258

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #522258?

#522258 is a deep magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #522258?

#522258 in RGB is (82, 34, 88) - 82 red, 34 green, and 88 blue.

How to use #522258 in CSS?

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

What colors go well with #522258?

#295822 (complementary), #372258 (analogous), and #1F0D21 (lighter shade) work well with #522258.