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

Deep Purple

#040204

📝 Color Information for #040204

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.

📋 CSS Code for #040204

:root { --color-hex: #040204; --color-rgb: 4, 2, 4; --color-hsl: 300, 33%, 1%; } .bg-color { background-color: #040204; } .text-color { color: #040204; } .border-color { border-color: #040204; }

🛠️ Use #040204 in Your Project

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

🔗 Related Colors to #040204

#030203
Hue -30°
#030203
Hue -15°
#030203
Hue +15°
#030203
Hue +30°
#030203
85% L
#030203
70% L
#030203
50% L
#000000
30% L
#472447
21% L
#8B468B
41% L
#BB77BB
60% L
#DDBBDD
80% L

About Deep Purple (#040204)

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.

Analyze #040204 with Other Tools

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