#5E1F8E Color Information

Hex color code: #5E1F8E

A subtle purple shade, #5E1F8E appears as (94, 31, 142) in RGB and (274°, 64%, 34%) in HSL. It is popular in mobile app design.

Try:
Color NameRebecca Purple
HEX
#5E1F8E
RGB
94, 31, 142
HSL
274°, 64%, 34%
CMYK
34%, 78%, 0%, 44%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5E1F8E; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

94, 31, 142

Red: 94 / Green: 31 / Blue: 142

HSL

274°, 64%, 34%

Hue: 274° / Saturation: 64% / Lightness: 34%

CMYK

34%, 78%, 0%, 44%

Cyan: 34% / Magenta: 78% / Yellow: 0% / Key: 44%

What color is #5E1F8E?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5E1F8E to RGB:

rgb(94, 31, 142)HEX to RGB Converter →

HEX to HSL

Convert #5E1F8E to HSL:

hsl(274, 64%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #5E1F8E to CMYK:

cmyk(34%, 78%, 0%, 44%)Color Converter →

Color Meaning and Usage

#5E1F8E is a muted purple color with RGB values of 94, 31, 142 and HSL of 274°, 64%, 34%. This magenta-red hue evokes romance and playfulness, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5E1F8E is #4F8E1F, creating high-contrast pairings. For softer combinations, try analogous colors like #271F8E.

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

Contrast with #5E1F8E

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5E1F8E?

#5E1F8E is a muted purple color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #5E1F8E?

#5E1F8E in RGB is (94, 31, 142) - 94 red, 31 green, and 142 blue.

How to use #5E1F8E in CSS?

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

What colors go well with #5E1F8E?

#4F8E1F (complementary), #271F8E (analogous), and #35114F (lighter shade) work well with #5E1F8E.