#531C7D Color Information

Hex color code: #531C7D

The hex color #531C7D is a balanced purple with RGB values of (83, 28, 125) and HSL of (274°, 63%, 30%). It is frequently seen in web interfaces.

Try:
Color NameIndigo
HEX
#531C7D
RGB
83, 28, 125
HSL
274°, 63%, 30%
CMYK
34%, 78%, 0%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #531C7D; 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 #531C7D; background-color: #531C7D15; }

Alert / Toast

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

Link / Accent

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

a { color: #531C7D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #531C7D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

83, 28, 125

Red: 83 / Green: 28 / Blue: 125

HSL

274°, 63%, 30%

Hue: 274° / Saturation: 63% / Lightness: 30%

CMYK

34%, 78%, 0%, 51%

Cyan: 34% / Magenta: 78% / Yellow: 0% / Key: 51%

What color is #531C7D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #531C7D to RGB:

rgb(83, 28, 125)HEX to RGB Converter →

HEX to HSL

Convert #531C7D to HSL:

hsl(274, 63%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #531C7D to CMYK:

cmyk(34%, 78%, 0%, 51%)Color Converter →

Color Meaning and Usage

A subtle purple tone, #531C7D has RGB (83, 28, 125) and HSL (274°, 63%, 30%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #531C7D is #467D1C, creating high-contrast pairings. For softer combinations, try analogous colors like #231C7D.

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

Contrast with #531C7D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #531C7D?

#531C7D is a subtle purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #531C7D?

#531C7D in RGB is (83, 28, 125) - 83 red, 28 green, and 125 blue.

How to use #531C7D in CSS?

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

What colors go well with #531C7D?

#467D1C (complementary), #231C7D (analogous), and #290E3E (lighter shade) work well with #531C7D.