#50126D Color Information

Hex color code: #50126D

A striking purple shade, #50126D appears as (80, 18, 109) in RGB and (281°, 72%, 25%) in HSL. It is popular in mobile app design.

Try:
Color NameIndigo
HEX
#50126D
RGB
80, 18, 109
HSL
281°, 72%, 25%
CMYK
27%, 83%, 0%, 57%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #50126D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

80, 18, 109

Red: 80 / Green: 18 / Blue: 109

HSL

281°, 72%, 25%

Hue: 281° / Saturation: 72% / Lightness: 25%

CMYK

27%, 83%, 0%, 57%

Cyan: 27% / Magenta: 83% / Yellow: 0% / Key: 57%

What color is #50126D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #50126D to RGB:

rgb(80, 18, 109)HEX to RGB Converter →

HEX to HSL

Convert #50126D to HSL:

hsl(281, 72%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #50126D to CMYK:

cmyk(27%, 83%, 0%, 57%)Color Converter →

Color Meaning and Usage

A bold purple tone, #50126D has RGB (80, 18, 109) and HSL (281°, 72%, 25%). Known for evoking romance and playfulness, this magenta-red hue is often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #50126D is #2F6E12, creating high-contrast pairings. For softer combinations, try analogous colors like #23126E.

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

Contrast with #50126D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #50126D?

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

What is the RGB value of #50126D?

#50126D in RGB is (80, 18, 109) - 80 red, 18 green, and 109 blue.

How to use #50126D in CSS?

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

What colors go well with #50126D?

#2F6E12 (complementary), #23126E (analogous), and #20072C (lighter shade) work well with #50126D.