#545158 Color Information

Hex color code: #545158

#545158 is a balanced purple color. In RGB it is (84, 81, 88), and in HSL it is (266°, 4%, 33%). It is frequently seen in web interfaces.

Try:
Color NameDark Slate Gray
HEX
#545158
RGB
84, 81, 88
HSL
266°, 4%, 33%
CMYK
5%, 8%, 0%, 65%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #545158; 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 #545158; background-color: #54515815; }

Alert / Toast

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

Link / Accent

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

a { color: #545158; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #545158 in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

84, 81, 88

Red: 84 / Green: 81 / Blue: 88

HSL

266°, 4%, 33%

Hue: 266° / Saturation: 4% / Lightness: 33%

CMYK

5%, 8%, 0%, 65%

Cyan: 5% / Magenta: 8% / Yellow: 0% / Key: 65%

What color is #545158?

#545158 is a desaturated neutral associated with balance and subtlety.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #545158 to RGB:

rgb(84, 81, 88)HEX to RGB Converter →

HEX to HSL

Convert #545158 to HSL:

hsl(266, 4%, 33%)RGB to HSL Converter →

HEX to CMYK

Convert #545158 to CMYK:

cmyk(5%, 8%, 0%, 65%)Color Converter →

Color Meaning and Usage

A balanced purple tone, #545158 has RGB (84, 81, 88) and HSL (266°, 4%, 33%). Known for evoking balance and subtlety, this desaturated neutral is frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #545158 is #555851, creating high-contrast pairings. For softer combinations, try analogous colors like #515158.

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

Contrast with #545158

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #545158?

#545158 is a balanced purple color - a desaturated neutral that evokes balance and subtlety.

What is the RGB value of #545158?

#545158 in RGB is (84, 81, 88) - 84 red, 81 green, and 88 blue.

How to use #545158 in CSS?

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

What colors go well with #545158?

#555851 (complementary), #515158 (analogous), and #2E2C30 (lighter shade) work well with #545158.