#4D4851 Color Information

Hex color code: #4D4851

The hex color #4D4851 is a muted purple with RGB values of (77, 72, 81) and HSL of (273°, 6%, 30%). It is typically applied in digital products.

Try:
Color NameDark Slate Gray
HEX
#4D4851
RGB
77, 72, 81
HSL
273°, 6%, 30%
CMYK
5%, 11%, 0%, 68%

Shades

CSS Usage
color: #4D4851;
background-color: #4D4851;
border-color: #4D4851;
box-shadow: 0 0 10px #4D4851;
border: 2px solid #4D4851;
Tailwind Usage
bg-[#4D4851]
text-[#4D4851]
border-[#4D4851]
shadow-[0_0_10px_4D4851]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #4D4851, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #4D4851; color: #FFFFFF; }

Badge

New Feature
.badge { background-color: #4D4851; 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 #4D4851; background-color: #4D485115; }

Alert / Toast

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

Link / Accent

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

a { color: #4D4851; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #4D4851 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

77, 72, 81

Red: 77 / Green: 72 / Blue: 81

HSL

273°, 6%, 30%

Hue: 273° / Saturation: 6% / Lightness: 30%

CMYK

5%, 11%, 0%, 68%

Cyan: 5% / Magenta: 11% / Yellow: 0% / Key: 68%

What color is #4D4851?

#4D4851 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #4D4851 to RGB:

rgb(77, 72, 81)HEX to RGB Converter →

HEX to HSL

Convert #4D4851 to HSL:

hsl(273, 6%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #4D4851 to CMYK:

cmyk(5%, 11%, 0%, 68%)Color Converter →

Color Meaning and Usage

#4D4851 is a understated purple color with RGB values of 77, 72, 81 and HSL of 273°, 6%, 30%. This desaturated neutral evokes balance and subtlety, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #4D4851 is #4C5148, creating high-contrast pairings. For softer combinations, try analogous colors like #484851.

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

Contrast with #4D4851

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #4D4851?

#4D4851 is a understated purple color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #4D4851?

#4D4851 in RGB is (77, 72, 81) - 77 red, 72 green, and 81 blue.

How to use #4D4851 in CSS?

Use #4D4851 directly in your CSS properties like color or background-color.

What colors go well with #4D4851?

#4C5148 (complementary), #484851 (analogous), and #262429 (lighter shade) work well with #4D4851.