#51177D Color Information

Hex color code: #51177D

A neutral purple shade, #51177D appears as (81, 23, 125) in RGB and (274°, 69%, 29%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameIndigo
HEX
#51177D
RGB
81, 23, 125
HSL
274°, 69%, 29%
CMYK
35%, 82%, 0%, 51%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #51177D; 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 #51177D; background-color: #51177D15; }

Alert / Toast

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

Link / Accent

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

a { color: #51177D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #51177D in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 23, 125

Red: 81 / Green: 23 / Blue: 125

HSL

274°, 69%, 29%

Hue: 274° / Saturation: 69% / Lightness: 29%

CMYK

35%, 82%, 0%, 51%

Cyan: 35% / Magenta: 82% / Yellow: 0% / Key: 51%

What color is #51177D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #51177D to RGB:

rgb(81, 23, 125)HEX to RGB Converter →

HEX to HSL

Convert #51177D to HSL:

hsl(274, 69%, 29%)RGB to HSL Converter →

HEX to CMYK

Convert #51177D to CMYK:

cmyk(35%, 82%, 0%, 51%)Color Converter →

Color Meaning and Usage

A muted purple tone, #51177D has RGB (81, 23, 125) and HSL (274°, 69%, 29%). Known for evoking romance and playfulness, this magenta-red hue is frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #51177D is #437D17, creating high-contrast pairings. For softer combinations, try analogous colors like #1E177D.

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

Contrast with #51177D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #51177D?

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

What is the RGB value of #51177D?

#51177D in RGB is (81, 23, 125) - 81 red, 23 green, and 125 blue.

How to use #51177D in CSS?

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

What colors go well with #51177D?

#437D17 (complementary), #1E177D (analogous), and #270B3C (lighter shade) work well with #51177D.