The hexadecimal color code #040204 represents a very dark shade in the purple family. In the RGB color model, this color is composed of 4 red, 2 green, and 4 blue, which translates to approximately 2% red, 1% green, and 2% 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, #040204 has a hue of 300 degrees, a saturation level of 33%, and a lightness value of 1%. The hue angle of 300° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 300°, saturation of 50%, and brightness/value of 2%.
For print applications using the CMYK color model, #040204 would be reproduced using 0% cyan, 50% magenta, 0% yellow, and 98% black. The closest web-safe color is #000000, 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 #040204 with other colors, consider its complementary color at hue 120° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 262660, which can be useful in certain programming contexts.
🔢 Color Conversion Codes for #040204
Tailwind CSS
black
HEX
#040204
RGB
rgb(4, 2, 4)
RGB %
2%, 1%, 2%
HSL
hsl(300, 33%, 1%)
HSV
hsv(300, 50%, 2%)
CMYK
0%, 50%, 0%, 98%
Decimal
262660
Web Safe
#000000
🎨 Color Schemes for #040204
Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)
🔄 Alternatives to #040204
🌗 Shades and Tints of #040204
Shades (adding black)
Tints (adding white)
🎚️ Tones of #040204
Tones (adding gray / desaturating)
🌈 Hue Variations of #040204
Hue Variations (shifting the color spectrum)
👁️ Preview of #040204 in Use
Text on #040204
This demonstrates text readability on the color background. (Click to edit)
#040204 as Text
This shows the color used as text on white. (Click to edit)
👓 Color Blindness Simulation for #040204
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.
Deep Purple is a dark, moderately saturated, warm purple color with a hue angle of 300°, saturation of 33%, and lightness of 1%. Its RGB value is (4, 2, 4) and its CMYK breakdown is C:0% M:50% Y:0% K:98%.
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 #040204
What is the HEX code for Deep Purple? +
The HEX code for Deep Purple is #040204. In CSS you can use it directly as color: #040204; or as a background: background-color: #040204;. 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 #040204? +
The RGB value of #040204 is rgb(4, 2, 4). This means the color contains 4 out of 255 parts red, 2 out of 255 parts green, and 4 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(4, 2, 4);
What is the HSL value of #040204? +
The HSL value of #040204 is hsl(300, 33%, 1%). The hue is 300°, placing it in the purple family on the color wheel. The saturation is 33%, making it moderately saturated. The lightness is 1%, 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 #040204 a warm or cool color? +
#040204 is classified as a warm color based on its hue angle of 300°. 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 #040204? +
The approximate CMYK value of #040204 is C:0% M:50% Y:0% K:98%. 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.