#511155 Color Information

Hex color code: #511155

#511155 is a rich magenta color. In RGB it is (81, 17, 85), and in HSL it is (296°, 67%, 20%). It is often used for branding and logos.

Try:
Color NameIndigo
HEX
#511155
RGB
81, 17, 85
HSL
296°, 67%, 20%
CMYK
5%, 80%, 0%, 67%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #511155; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 17, 85

Red: 81 / Green: 17 / Blue: 85

HSL

296°, 67%, 20%

Hue: 296° / Saturation: 67% / Lightness: 20%

CMYK

5%, 80%, 0%, 67%

Cyan: 5% / Magenta: 80% / Yellow: 0% / Key: 67%

What color is #511155?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #511155 to RGB:

rgb(81, 17, 85)HEX to RGB Converter →

HEX to HSL

Convert #511155 to HSL:

hsl(296, 67%, 20%)RGB to HSL Converter →

HEX to CMYK

Convert #511155 to CMYK:

cmyk(5%, 80%, 0%, 67%)Color Converter →

Color Meaning and Usage

#511155 is a rich magenta color with RGB values of 81, 17, 85 and HSL of 296°, 67%, 20%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #511155 is #155511, creating high-contrast pairings. For softer combinations, try analogous colors like #2E1155.

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

Contrast with #511155

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #511155?

#511155 is a rich magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #511155?

#511155 in RGB is (81, 17, 85) - 81 red, 17 green, and 85 blue.

How to use #511155 in CSS?

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

What colors go well with #511155?

#155511 (complementary), #2E1155 (analogous), and #140415 (lighter shade) work well with #511155.