#50197B Color Information

Hex color code: #50197B

The hex color #50197B is a balanced purple with RGB values of (80, 25, 123) and HSL of (274°, 66%, 29%). It is frequently seen in web interfaces.

Try:
Color NameIndigo
HEX
#50197B
RGB
80, 25, 123
HSL
274°, 66%, 29%
CMYK
35%, 80%, 0%, 52%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #50197B; 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 #50197B; background-color: #50197B15; }

Alert / Toast

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

Link / Accent

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

a { color: #50197B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #50197B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

80, 25, 123

Red: 80 / Green: 25 / Blue: 123

HSL

274°, 66%, 29%

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

CMYK

35%, 80%, 0%, 52%

Cyan: 35% / Magenta: 80% / Yellow: 0% / Key: 52%

What color is #50197B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #50197B to RGB:

rgb(80, 25, 123)HEX to RGB Converter →

HEX to HSL

Convert #50197B to HSL:

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

HEX to CMYK

Convert #50197B to CMYK:

cmyk(35%, 80%, 0%, 52%)Color Converter →

Color Meaning and Usage

#50197B is a understated purple color with RGB values of 80, 25, 123 and HSL of 274°, 66%, 29%. This magenta-red hue evokes romance and playfulness, making it suitable for often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #50197B is #437B19, creating high-contrast pairings. For softer combinations, try analogous colors like #20197B.

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

Contrast with #50197B

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 #50197B?

#50197B is a understated purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #50197B?

#50197B in RGB is (80, 25, 123) - 80 red, 25 green, and 123 blue.

How to use #50197B in CSS?

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

What colors go well with #50197B?

#437B19 (complementary), #20197B (analogous), and #270C3B (lighter shade) work well with #50197B.