✓ Copied to clipboard
#540D42 (Deep Warm Magenta) color swatch preview — Color From Pic.
#540D42 — Deep Warm Magenta color swatch

Deep Warm Magenta

#540D42

📝 Color Information for #540D42

The hexadecimal color code #540D42 represents a very dark shade in the purple family. In the RGB color model, this color is composed of 84 red, 13 green, and 66 blue, which translates to approximately 33% red, 5% green, and 26% blue. This makes it a moderately saturated color with warm undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #540D42 has a hue of 315 degrees, a saturation level of 73%, and a lightness value of 19%. The hue angle of 315° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 315°, saturation of 85%, and brightness/value of 33%. For print applications using the CMYK color model, #540D42 would be reproduced using 0% cyan, 85% magenta, 21% yellow, and 67% black. The closest web-safe color is #660033, which may be useful for ensuring compatibility across older displays and systems. This color works well in various design contexts. As a darker shade, it works well for text, headers, and creating visual weight in compositions. The high saturation makes this color vibrant and attention-grabbing, ideal for call-to-action buttons, highlights, and accent elements. When pairing #540D42 with other colors, consider its complementary color at hue 135° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 5508418, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #540D42

Tailwind CSS
fuchsia-950
HEX
#540D42
RGB
rgb(84, 13, 66)
RGB %
33%, 5%, 26%
HSL
hsl(315, 73%, 19%)
HSV
hsv(315, 85%, 33%)
CMYK
0%, 85%, 21%, 67%
Decimal
5508418
Web Safe
#660033

🎨 Color Schemes for #540D42

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #540D42

🌗 Shades and Tints of #540D42

Shades (adding black)
Tints (adding white)

🎚️ Tones of #540D42

Tones (adding gray / desaturating)

🌈 Hue Variations of #540D42

Hue Variations (shifting the color spectrum)

👁️ Preview of #540D42 in Use

Text on #540D42
This demonstrates text readability on the color background. (Click to edit)
#540D42 as Text
This shows the color used as text on white. (Click to edit)

👓 Color Blindness Simulation for #540D42

Check how a color is perceived by people with different types of color blindness to create more accessible designs. Understanding color perception helps ensure your content is accessible to everyone.

📋 CSS Code for #540D42

:root { --color-hex: #540D42; --color-rgb: 84, 13, 66; --color-hsl: 315, 73%, 19%; } .bg-color { background-color: #540D42; } .text-color { color: #540D42; } .border-color { border-color: #540D42; }

🛠️ Use #540D42 in Your Project

🎨
Build a Palette with #540D42
Generate harmonious color schemes
⚖️
Check Contrast for #540D42
WCAG accessibility testing
🌈
Create a Gradient with #540D42
Beautiful CSS gradients

🔗 Related Colors to #540D42

#420D54
Hue -30°
#540D54
Hue -15°
#540D30
Hue +15°
#540D1F
Hue +30°
#470B38
85% L
#39092D
70% L
#2C0723
50% L
#1A0415
30% L
#9A187A
35% L
#DD27B0
51% L
#E972CB
68% L
#F4B8E5
84% L

About Deep Warm Magenta (#540D42)

Deep Warm Magenta is a dark, vibrant, warm purple color with a hue angle of 315°, saturation of 73%, and lightness of 19%. Its RGB value is (84, 13, 66) and its CMYK breakdown is C:0% M:85% Y:21% K:67%.

This is a Winter (Deep) color palette archetype. Royalty, Luxury, Ambition, Magic. Purple combines the stability of blue and the energy of red.

Frequently Asked Questions About #540D42

What is the HEX code for Deep Warm Magenta? +

The HEX code for Deep Warm Magenta is #540D42. In CSS you can use it directly as color: #540D42; or as a background: background-color: #540D42;. The three-character shorthand is not available for this color since it cannot be reduced without changing the value. Use the full six-character hex for accurate reproduction in any web or design project.

What is the RGB value of #540D42? +

The RGB value of #540D42 is rgb(84, 13, 66). This means the color contains 84 out of 255 parts red, 13 out of 255 parts green, and 66 out of 255 parts blue. Red is the strongest channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(84, 13, 66);

What is the HSL value of #540D42? +

The HSL value of #540D42 is hsl(315, 73%, 19%). The hue is 315°, placing it in the purple family on the color wheel. The saturation is 73%, making it vibrant. The lightness is 19%, making it dark. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.

Is #540D42 a warm or cool color? +

#540D42 is classified as a warm color based on its hue angle of 315°. Warm colors — reds, oranges, and yellows — evoke energy, enthusiasm, and urgency. They tend to advance visually and draw the eye. In design, warm colors are often used for calls-to-action, food and hospitality brands, and anywhere a feeling of warmth or excitement is desired.

What is the CMYK value of #540D42? +

The approximate CMYK value of #540D42 is C:0% M:85% Y:21% K:67%. CMYK (Cyan, Magenta, Yellow, Key/Black) is the color model used in physical printing. Unlike RGB which mixes light additively on screens, CMYK mixes inks subtractively on paper. Note that the RGB-to-CMYK conversion is an approximation — screen colors and print colors exist in different color gamuts, and some screen colors cannot be exactly reproduced in print. For precise print work, consult a professional print color profile or Pantone matching system.

Analyze #540D42 with Other Tools

🔢
Color Converter
Get all formats for #540D42 — HEX, RGB, HSL, HSV, CMYK, harmonies and shades.
Contrast Checker
Test whether #540D42 passes WCAG AA/AAA contrast requirements as text.
🎨
Palette Generator
Generate complementary, triadic, and analogous palettes starting from #540D42.
👓
Blindness Simulator
See how #540D42 appears to users with deuteranopia, protanopia, and tritanopia.
📊
Color Analysis
Deep analysis of luminance, temperature, psychology and harmonies for #540D42.
🎭
Creative Aspects
Explore the mood, psychology, seasonal meaning, and mixing guide for #540D42.
🌅
Gradient Maker
Create a beautiful CSS linear or radial gradient starting from #540D42.
🔬
Technical Formats
See #540D42 in OKLCH, Lab, HSV, XYZ, and other advanced color spaces.
🎨
Practical Formats
Get #540D42 as a CSS variable, Tailwind class, design token, and more.

More Color Tools

Explore our full suite of free color utilities for designers and developers.