#511863 Color Information

Hex color code: #511863

#511863 is a rich magenta color. In RGB it is (81, 24, 99), and in HSL it is (286°, 61%, 24%). It is popular in mobile app design.

Try:
Color NameIndigo
HEX
#511863
RGB
81, 24, 99
HSL
286°, 61%, 24%
CMYK
18%, 76%, 0%, 61%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #511863; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

81, 24, 99

Red: 81 / Green: 24 / Blue: 99

HSL

286°, 61%, 24%

Hue: 286° / Saturation: 61% / Lightness: 24%

CMYK

18%, 76%, 0%, 61%

Cyan: 18% / Magenta: 76% / Yellow: 0% / Key: 61%

What color is #511863?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #511863 to RGB:

rgb(81, 24, 99)HEX to RGB Converter →

HEX to HSL

Convert #511863 to HSL:

hsl(286, 61%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #511863 to CMYK:

cmyk(18%, 76%, 0%, 61%)Color Converter →

Color Meaning and Usage

#511863 is a deep magenta color with RGB values of 81, 24, 99 and HSL of 286°, 61%, 24%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #511863 is #296318, creating high-contrast pairings. For softer combinations, try analogous colors like #2C1863.

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

Contrast with #511863

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #511863?

#511863 is a deep magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #511863?

#511863 in RGB is (81, 24, 99) - 81 red, 24 green, and 99 blue.

How to use #511863 in CSS?

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

What colors go well with #511863?

#296318 (complementary), #2C1863 (analogous), and #1E0925 (lighter shade) work well with #511863.