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

Deep Purple

#40173E

📝 Color Information for #40173E

The hexadecimal color code #40173E represents a very dark shade in the purple family. In the RGB color model, this color is composed of 64 red, 23 green, and 62 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, #40173E has a hue of 303 degrees, a saturation level of 47%, and a lightness value of 17%. The hue angle of 303° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 303°, saturation of 64%, and brightness/value of 25%. For print applications using the CMYK color model, #40173E would be reproduced using 0% cyan, 64% magenta, 3% 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 #40173E with other colors, consider its complementary color at hue 123° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 4200254, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #40173E

Tailwind CSS
fuchsia-950
HEX
#40173E
RGB
rgb(64, 23, 62)
RGB %
25%, 9%, 24%
HSL
hsl(303, 47%, 17%)
HSV
hsv(303, 64%, 25%)
CMYK
0%, 64%, 3%, 75%
Decimal
4200254
Web Safe
#330033

🎨 Color Schemes for #40173E

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #40173E

🌗 Shades and Tints of #40173E

Shades (adding black)
Tints (adding white)

🎚️ Tones of #40173E

Tones (adding gray / desaturating)

🌈 Hue Variations of #40173E

Hue Variations (shifting the color spectrum)

👁️ Preview of #40173E in Use

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

👓 Color Blindness Simulation for #40173E

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

:root { --color-hex: #40173E; --color-rgb: 64, 23, 62; --color-hsl: 303, 47%, 17%; } .bg-color { background-color: #40173E; } .text-color { color: #40173E; } .border-color { border-color: #40173E; }

🛠️ Use #40173E in Your Project

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

🔗 Related Colors to #40173E

#2D1740
Hue -30°
#381740
Hue -15°
#401733
Hue +15°
#401729
Hue +30°
#341333
85% L
#2D102C
70% L
#220C21
50% L
#130712
30% L
#7F2E7B
34% L
#BB44B5
50% L
#D283CE
67% L
#E8BFE6
83% L

About Deep Purple (#40173E)

Deep Purple is a dark, moderately saturated, warm purple color with a hue angle of 303°, saturation of 47%, and lightness of 17%. Its RGB value is (64, 23, 62) and its CMYK breakdown is C:0% M:64% Y:3% 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 #40173E

What is the HEX code for Deep Purple? +

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

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

What is the HSL value of #40173E? +

The HSL value of #40173E is hsl(303, 47%, 17%). The hue is 303°, 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 #40173E a warm or cool color? +

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

The approximate CMYK value of #40173E is C:0% M:64% Y:3% 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 #40173E with Other Tools

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