#542641 Color Information

Hex color code: #542641

The hex color #542641 is a dark magenta with RGB values of (84, 38, 65) and HSL of (325°, 38%, 24%). It is often used for branding and logos.

Try:
Color NameDark Slate Gray
HEX
#542641
RGB
84, 38, 65
HSL
325°, 38%, 24%
CMYK
0%, 55%, 23%, 67%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #542641; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

84, 38, 65

Red: 84 / Green: 38 / Blue: 65

HSL

325°, 38%, 24%

Hue: 325° / Saturation: 38% / Lightness: 24%

CMYK

0%, 55%, 23%, 67%

Cyan: 0% / Magenta: 55% / Yellow: 23% / Key: 67%

What color is #542641?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #542641 to RGB:

rgb(84, 38, 65)HEX to RGB Converter →

HEX to HSL

Convert #542641 to HSL:

hsl(325, 38%, 24%)RGB to HSL Converter →

HEX to CMYK

Convert #542641 to CMYK:

cmyk(0%, 55%, 23%, 67%)Color Converter →

Color Meaning and Usage

#542641 is a dramatic magenta color with RGB values of 84, 38, 65 and HSL of 325°, 38%, 24%. This magenta-red hue evokes romance and playfulness, making it suitable for frequently chosen for fintech and productivity apps. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #542641 is #265439, creating high-contrast pairings. For softer combinations, try analogous colors like #512654.

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

Contrast with #542641

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #542641?

#542641 is a dramatic magenta color - a magenta-red hue that evokes romance and playfulness.

What is the RGB value of #542641?

#542641 in RGB is (84, 38, 65) - 84 red, 38 green, and 65 blue.

How to use #542641 in CSS?

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

What colors go well with #542641?

#265439 (complementary), #512654 (analogous), and #200E18 (lighter shade) work well with #542641.