#52246B Color Information

Hex color code: #52246B

A muted purple shade, #52246B appears as (82, 36, 107) in RGB and (279°, 50%, 28%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Slate Blue
HEX
#52246B
RGB
82, 36, 107
HSL
279°, 50%, 28%
CMYK
23%, 66%, 0%, 58%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #52246B; 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 #52246B; background-color: #52246B15; }

Alert / Toast

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

Link / Accent

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

a { color: #52246B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #52246B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 36, 107

Red: 82 / Green: 36 / Blue: 107

HSL

279°, 50%, 28%

Hue: 279° / Saturation: 50% / Lightness: 28%

CMYK

23%, 66%, 0%, 58%

Cyan: 23% / Magenta: 66% / Yellow: 0% / Key: 58%

What color is #52246B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #52246B to RGB:

rgb(82, 36, 107)HEX to RGB Converter →

HEX to HSL

Convert #52246B to HSL:

hsl(279, 50%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #52246B to CMYK:

cmyk(23%, 66%, 0%, 58%)Color Converter →

Color Meaning and Usage

A muted purple tone, #52246B has RGB (82, 36, 107) and HSL (279°, 50%, 28%). 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 #52246B is #3D6B24, creating high-contrast pairings. For softer combinations, try analogous colors like #2E246B.

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

Contrast with #52246B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #52246B?

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

What is the RGB value of #52246B?

#52246B in RGB is (82, 36, 107) - 82 red, 36 green, and 107 blue.

How to use #52246B in CSS?

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

What colors go well with #52246B?

#3D6B24 (complementary), #2E246B (analogous), and #261132 (lighter shade) work well with #52246B.