#5B334F Color Information

Hex color code: #5B334F

A soft magenta shade, #5B334F appears as (91, 51, 79) in RGB and (318°, 28%, 28%) in HSL. It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#5B334F
RGB
91, 51, 79
HSL
318°, 28%, 28%
CMYK
0%, 44%, 13%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5B334F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

91, 51, 79

Red: 91 / Green: 51 / Blue: 79

HSL

318°, 28%, 28%

Hue: 318° / Saturation: 28% / Lightness: 28%

CMYK

0%, 44%, 13%, 64%

Cyan: 0% / Magenta: 44% / Yellow: 13% / Key: 64%

What color is #5B334F?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5B334F to RGB:

rgb(91, 51, 79)HEX to RGB Converter →

HEX to HSL

Convert #5B334F to HSL:

hsl(318, 28%, 28%)RGB to HSL Converter →

HEX to CMYK

Convert #5B334F to CMYK:

cmyk(0%, 44%, 13%, 64%)Color Converter →

Color Meaning and Usage

A subtle magenta tone, #5B334F has RGB (91, 51, 79) and HSL (318°, 28%, 28%). Known for evoking romance and playfulness, this magenta-red hue is often used for branding and logos. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5B334F is #335B3F, creating high-contrast pairings. For softer combinations, try analogous colors like #53335B.

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

Contrast with #5B334F

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5B334F?

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

What is the RGB value of #5B334F?

#5B334F in RGB is (91, 51, 79) - 91 red, 51 green, and 79 blue.

How to use #5B334F in CSS?

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

What colors go well with #5B334F?

#335B3F (complementary), #53335B (analogous), and #2A1825 (lighter shade) work well with #5B334F.