#5B366D Color Information

Hex color code: #5B366D

A subtle purple shade, #5B366D appears as (91, 54, 109) in RGB and (280°, 34%, 32%) in HSL. It is often used for branding and logos.

Try:
Color NameDark Slate Blue
HEX
#5B366D
RGB
91, 54, 109
HSL
280°, 34%, 32%
CMYK
17%, 50%, 0%, 57%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5B366D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

91, 54, 109

Red: 91 / Green: 54 / Blue: 109

HSL

280°, 34%, 32%

Hue: 280° / Saturation: 34% / Lightness: 32%

CMYK

17%, 50%, 0%, 57%

Cyan: 17% / Magenta: 50% / Yellow: 0% / Key: 57%

What color is #5B366D?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5B366D to RGB:

rgb(91, 54, 109)HEX to RGB Converter →

HEX to HSL

Convert #5B366D to HSL:

hsl(280, 34%, 32%)RGB to HSL Converter →

HEX to CMYK

Convert #5B366D to CMYK:

cmyk(17%, 50%, 0%, 57%)Color Converter →

Color Meaning and Usage

A gentle purple tone, #5B366D has RGB (91, 54, 109) and HSL (280°, 34%, 32%). Known for evoking romance and playfulness, this magenta-red hue is popular in mobile app design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5B366D is #486D36, creating high-contrast pairings. For softer combinations, try analogous colors like #3F366D.

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

Contrast with #5B366D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5B366D?

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

What is the RGB value of #5B366D?

#5B366D in RGB is (91, 54, 109) - 91 red, 54 green, and 109 blue.

How to use #5B366D in CSS?

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

What colors go well with #5B366D?

#486D36 (complementary), #3F366D (analogous), and #301D3A (lighter shade) work well with #5B366D.