#540724 Color Information

Hex color code: #540724

#540724 is a rich magenta color. In RGB it is (84, 7, 36), and in HSL it is (337°, 85%, 18%). It is often used for branding and logos.

Try:
Color NameMaroon
HEX
#540724
RGB
84, 7, 36
HSL
337°, 85%, 18%
CMYK
0%, 92%, 57%, 67%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

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

Alert / Toast

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

Link / Accent

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

a { color: #540724; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

84, 7, 36

Red: 84 / Green: 7 / Blue: 36

HSL

337°, 85%, 18%

Hue: 337° / Saturation: 85% / Lightness: 18%

CMYK

0%, 92%, 57%, 67%

Cyan: 0% / Magenta: 92% / Yellow: 57% / Key: 67%

What color is #540724?

#540724 is a very dark shade associated with sophistication and elegance.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #540724 to RGB:

rgb(84, 7, 36)HEX to RGB Converter →

HEX to HSL

Convert #540724 to HSL:

hsl(337, 85%, 18%)RGB to HSL Converter →

HEX to CMYK

Convert #540724 to CMYK:

cmyk(0%, 92%, 57%, 67%)Color Converter →

Color Meaning and Usage

#540724 is a intense magenta color with RGB values of 84, 7, 36 and HSL of 337°, 85%, 18%. This very dark shade evokes sophistication and elegance, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #540724 is #075537, creating high-contrast pairings. For softer combinations, try analogous colors like #55074C.

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

Contrast with #540724

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #540724?

#540724 is a intense magenta color - a very dark shade that evokes sophistication and elegance.

What is the RGB value of #540724?

#540724 in RGB is (84, 7, 36) - 84 red, 7 green, and 36 blue.

How to use #540724 in CSS?

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

What colors go well with #540724?

#075537 (complementary), #55074C (analogous), and #0E0106 (lighter shade) work well with #540724.