#5D347F Color Information

Hex color code: #5D347F

A subtle purple shade, #5D347F appears as (93, 52, 127) in RGB and (273°, 42%, 35%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#5D347F
RGB
93, 52, 127
HSL
273°, 42%, 35%
CMYK
27%, 59%, 0%, 50%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5D347F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

93, 52, 127

Red: 93 / Green: 52 / Blue: 127

HSL

273°, 42%, 35%

Hue: 273° / Saturation: 42% / Lightness: 35%

CMYK

27%, 59%, 0%, 50%

Cyan: 27% / Magenta: 59% / Yellow: 0% / Key: 50%

What color is #5D347F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5D347F to RGB:

rgb(93, 52, 127)HEX to RGB Converter →

HEX to HSL

Convert #5D347F to HSL:

hsl(273, 42%, 35%)RGB to HSL Converter →

HEX to CMYK

Convert #5D347F to CMYK:

cmyk(27%, 59%, 0%, 50%)Color Converter →

Color Meaning and Usage

A gentle purple tone, #5D347F has RGB (93, 52, 127) and HSL (273°, 42%, 35%). 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 #5D347F is #567F34, creating high-contrast pairings. For softer combinations, try analogous colors like #38347F.

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

Contrast with #5D347F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5D347F?

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

What is the RGB value of #5D347F?

#5D347F in RGB is (93, 52, 127) - 93 red, 52 green, and 127 blue.

How to use #5D347F in CSS?

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

What colors go well with #5D347F?

#567F34 (complementary), #38347F (analogous), and #351E48 (lighter shade) work well with #5D347F.