#524171 Color Information

Hex color code: #524171

The hex color #524171 is a pastel purple with RGB values of (82, 65, 113) and HSL of (261°, 27%, 35%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Blue
HEX
#524171
RGB
82, 65, 113
HSL
261°, 27%, 35%
CMYK
27%, 42%, 0%, 56%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #524171; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

82, 65, 113

Red: 82 / Green: 65 / Blue: 113

HSL

261°, 27%, 35%

Hue: 261° / Saturation: 27% / Lightness: 35%

CMYK

27%, 42%, 0%, 56%

Cyan: 27% / Magenta: 42% / Yellow: 0% / Key: 56%

What color is #524171?

#524171 is a blue-purple hue associated with creativity and luxury.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #524171 to RGB:

rgb(82, 65, 113)HEX to RGB Converter →

HEX to HSL

Convert #524171 to HSL:

hsl(261, 27%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #524171 to CMYK:

cmyk(27%, 42%, 0%, 56%)Color Converter →

Color Meaning and Usage

A soft purple tone, #524171 has RGB (82, 65, 113) and HSL (261°, 27%, 35%). Known for evoking creativity and luxury, this blue-purple hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #524171 is #607141, creating high-contrast pairings. For softer combinations, try analogous colors like #414871.

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

Contrast with #524171

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #524171?

#524171 is a soft purple color - a blue-purple hue that evokes creativity and luxury.

What is the RGB value of #524171?

#524171 in RGB is (82, 65, 113) - 82 red, 65 green, and 113 blue.

How to use #524171 in CSS?

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

What colors go well with #524171?

#607141 (complementary), #414871 (analogous), and #2F2541 (lighter shade) work well with #524171.