#5E2156 Color Information

Hex color code: #5E2156

The hex color #5E2156 is a soft magenta with RGB values of (94, 33, 86) and HSL of (308°, 48%, 25%). It is typically applied in digital products.

Try:
Color NameIndigo
HEX
#5E2156
RGB
94, 33, 86
HSL
308°, 48%, 25%
CMYK
0%, 65%, 9%, 63%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #5E2156; 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 #5E2156; background-color: #5E215615; }

Alert / Toast

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

Link / Accent

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

a { color: #5E2156; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5E2156 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

94, 33, 86

Red: 94 / Green: 33 / Blue: 86

HSL

308°, 48%, 25%

Hue: 308° / Saturation: 48% / Lightness: 25%

CMYK

0%, 65%, 9%, 63%

Cyan: 0% / Magenta: 65% / Yellow: 9% / Key: 63%

What color is #5E2156?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5E2156 to RGB:

rgb(94, 33, 86)HEX to RGB Converter →

HEX to HSL

Convert #5E2156 to HSL:

hsl(308, 48%, 25%)RGB to HSL Converter →

HEX to CMYK

Convert #5E2156 to CMYK:

cmyk(0%, 65%, 9%, 63%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #5E2156 has RGB (94, 33, 86) and HSL (308°, 48%, 25%). Known for evoking romance and playfulness, this magenta-red hue is well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5E2156 is #215E29, creating high-contrast pairings. For softer combinations, try analogous colors like #48215E.

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

Contrast with #5E2156

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5E2156?

#5E2156 is a subtle magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #5E2156?

#5E2156 in RGB is (94, 33, 86) - 94 red, 33 green, and 86 blue.

How to use #5E2156 in CSS?

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

What colors go well with #5E2156?

#215E29 (complementary), #48215E (analogous), and #260D22 (lighter shade) work well with #5E2156.