#5B515D Color Information

Hex color code: #5B515D

The hex color #5B515D is a neutral magenta with RGB values of (91, 81, 93) and HSL of (290°, 7%, 34%). It is commonly used in modern UI design.

Try:
Color NameDark Slate Gray
HEX
#5B515D
RGB
91, 81, 93
HSL
290°, 7%, 34%
CMYK
2%, 13%, 0%, 64%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #5B515D; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

91, 81, 93

Red: 91 / Green: 81 / Blue: 93

HSL

290°, 7%, 34%

Hue: 290° / Saturation: 7% / Lightness: 34%

CMYK

2%, 13%, 0%, 64%

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

What color is #5B515D?

#5B515D is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5B515D to RGB:

rgb(91, 81, 93)HEX to RGB Converter →

HEX to HSL

Convert #5B515D to HSL:

hsl(290, 7%, 34%)RGB to HSL Converter →

HEX to CMYK

Convert #5B515D to CMYK:

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

Color Meaning and Usage

A subtle magenta tone, #5B515D has RGB (91, 81, 93) and HSL (290°, 7%, 34%). Known for evoking balance and subtlety, this desaturated neutral is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5B515D is #535D51, creating high-contrast pairings. For softer combinations, try analogous colors like #55515D.

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

Contrast with #5B515D

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5B515D?

#5B515D is a subtle magenta color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #5B515D?

#5B515D in RGB is (91, 81, 93) - 91 red, 81 green, and 93 blue.

How to use #5B515D in CSS?

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

What colors go well with #5B515D?

#535D51 (complementary), #55515D (analogous), and #332D34 (lighter shade) work well with #5B515D.