✓ Copied to clipboard
#40173D (Deep Purple) color swatch preview — Color From Pic.
#40173D — Deep Purple color swatch

Deep Purple

#40173D

📝 Color Information for #40173D

The hexadecimal color code #40173D represents a very dark shade in the purple family. In the RGB color model, this color is composed of 64 red, 23 green, and 61 blue, which translates to approximately 25% red, 9% green, and 24% blue. This makes it a slightly desaturated color with warm undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #40173D has a hue of 304 degrees, a saturation level of 47%, and a lightness value of 17%. The hue angle of 304° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 304°, saturation of 64%, and brightness/value of 25%. For print applications using the CMYK color model, #40173D would be reproduced using 0% cyan, 64% magenta, 5% yellow, and 75% black. The closest web-safe color is #330033, 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 moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #40173D with other colors, consider its complementary color at hue 124° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 4200253, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #40173D

Tailwind CSS
fuchsia-950
HEX
#40173D
RGB
rgb(64, 23, 61)
RGB %
25%, 9%, 24%
HSL
hsl(304, 47%, 17%)
HSV
hsv(304, 64%, 25%)
CMYK
0%, 64%, 5%, 75%
Decimal
4200253
Web Safe
#330033

🎨 Color Schemes for #40173D

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #40173D

🌗 Shades and Tints of #40173D

Shades (adding black)
Tints (adding white)

🎚️ Tones of #40173D

Tones (adding gray / desaturating)

🌈 Hue Variations of #40173D

Hue Variations (shifting the color spectrum)

👁️ Preview of #40173D in Use

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

👓 Color Blindness Simulation for #40173D

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 #40173D

:root { --color-hex: #40173D; --color-rgb: 64, 23, 61; --color-hsl: 304, 47%, 17%; } .bg-color { background-color: #40173D; } .text-color { color: #40173D; } .border-color { border-color: #40173D; }

🛠️ Use #40173D in Your Project

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

🔗 Related Colors to #40173D

#2E1740
Hue -30°
#381740
Hue -15°
#401733
Hue +15°
#401729
Hue +30°
#341332
85% L
#2D102B
70% L
#220C20
50% L
#130712
30% L
#7F2E7A
34% L
#BB44B3
50% L
#D283CD
67% L
#E8BFE5
83% L

About Deep Purple (#40173D)

Deep Purple is a dark, moderately saturated, warm purple color with a hue angle of 304°, saturation of 47%, and lightness of 17%. Its RGB value is (64, 23, 61) and its CMYK breakdown is C:0% M:64% Y:5% K:75%.

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 #40173D

What is the HEX code for Deep Purple? +

The HEX code for Deep Purple is #40173D. In CSS you can use it directly as color: #40173D; or as a background: background-color: #40173D;. 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 #40173D? +

The RGB value of #40173D is rgb(64, 23, 61). This means the color contains 64 out of 255 parts red, 23 out of 255 parts green, and 61 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(64, 23, 61);

What is the HSL value of #40173D? +

The HSL value of #40173D is hsl(304, 47%, 17%). The hue is 304°, placing it in the purple family on the color wheel. The saturation is 47%, making it moderately saturated. The lightness is 17%, 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 #40173D a warm or cool color? +

#40173D is classified as a warm color based on its hue angle of 304°. 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 #40173D? +

The approximate CMYK value of #40173D is C:0% M:64% Y:5% K:75%. 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 #40173D with Other Tools

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