#5E175B Color Information

Hex color code: #5E175B

#5E175B is a dark magenta color. In RGB it is (94, 23, 91), and in HSL it is (303°, 61%, 23%). It is frequently seen in web interfaces.

Try:
Color NameIndigo
HEX
#5E175B
RGB
94, 23, 91
HSL
303°, 61%, 23%
CMYK
0%, 76%, 3%, 63%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5E175B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

94, 23, 91

Red: 94 / Green: 23 / Blue: 91

HSL

303°, 61%, 23%

Hue: 303° / Saturation: 61% / Lightness: 23%

CMYK

0%, 76%, 3%, 63%

Cyan: 0% / Magenta: 76% / Yellow: 3% / Key: 63%

What color is #5E175B?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5E175B to RGB:

rgb(94, 23, 91)HEX to RGB Converter →

HEX to HSL

Convert #5E175B to HSL:

hsl(303, 61%, 23%)RGB to HSL Converter →

HEX to CMYK

Convert #5E175B to CMYK:

cmyk(0%, 76%, 3%, 63%)Color Converter →

Color Meaning and Usage

#5E175B is a deep magenta color with RGB values of 94, 23, 91 and HSL of 303°, 61%, 23%. This magenta-red hue evokes romance and playfulness, making it suitable for a common choice for dashboards and SaaS products. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5E175B is #175E1A, creating high-contrast pairings. For softer combinations, try analogous colors like #3E175E.

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

Contrast with #5E175B

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5E175B?

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

What is the RGB value of #5E175B?

#5E175B in RGB is (94, 23, 91) - 94 red, 23 green, and 91 blue.

How to use #5E175B in CSS?

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

What colors go well with #5E175B?

#175E1A (complementary), #3E175E (analogous), and #210820 (lighter shade) work well with #5E175B.