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

Deep Violet

#040307

📝 Color Information for #040307

The hexadecimal color code #040307 represents a very dark shade in the blue family. In the RGB color model, this color is composed of 4 red, 3 green, and 7 blue, which translates to approximately 2% red, 1% green, and 3% blue. This makes it a slightly desaturated color with cool undertones that can evoke different emotional responses depending on its application. When analyzed in the HSL (Hue, Saturation, Lightness) color space, #040307 has a hue of 255 degrees, a saturation level of 40%, and a lightness value of 2%. The hue angle of 255° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 255°, saturation of 57%, and brightness/value of 3%. For print applications using the CMYK color model, #040307 would be reproduced using 43% cyan, 57% magenta, 0% yellow, and 97% 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 #040307 with other colors, consider its complementary color at hue 75° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 262919, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #040307

Tailwind CSS
black
HEX
#040307
RGB
rgb(4, 3, 7)
RGB %
2%, 1%, 3%
HSL
hsl(255, 40%, 2%)
HSV
hsv(255, 57%, 3%)
CMYK
43%, 57%, 0%, 97%
Decimal
262919
Web Safe
#000000

🎨 Color Schemes for #040307

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #040307

🌗 Shades and Tints of #040307

Shades (adding black)
Tints (adding white)

🎚️ Tones of #040307

Tones (adding gray / desaturating)

🌈 Hue Variations of #040307

Hue Variations (shifting the color spectrum)

👁️ Preview of #040307 in Use

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

👓 Color Blindness Simulation for #040307

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 #040307

:root { --color-hex: #040307; --color-rgb: 4, 3, 7; --color-hsl: 255, 40%, 2%; } .bg-color { background-color: #040307; } .text-color { color: #040307; } .border-color { border-color: #040307; }

🛠️ Use #040307 in Your Project

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

🔗 Related Colors to #040307

#030407
Hue -30°
#030307
Hue -15°
#050307
Hue +15°
#060307
Hue +30°
#040307
85% L
#020204
70% L
#020204
50% L
#020204
30% L
#2D224F
22% L
#543F92
41% L
#8874C3
61% L
#C2B8E0
80% L

About Deep Violet (#040307)

Deep Violet is a dark, moderately saturated, cool blue color with a hue angle of 255°, saturation of 40%, and lightness of 2%. Its RGB value is (4, 3, 7) and its CMYK breakdown is C:43% M:57% Y:0% K:97%.

This is a Winter (Deep) color palette archetype. Trust, Loyalty, Wisdom, Confidence. Blue is considered beneficial to the mind and body.

Frequently Asked Questions About #040307

What is the HEX code for Deep Violet? +

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

The RGB value of #040307 is rgb(4, 3, 7). This means the color contains 4 out of 255 parts red, 3 out of 255 parts green, and 7 out of 255 parts blue. Red is the moderate channel in this color mix. You can use the full RGB function in any CSS property: color: rgb(4, 3, 7);

What is the HSL value of #040307? +

The HSL value of #040307 is hsl(255, 40%, 2%). The hue is 255°, placing it in the blue family on the color wheel. The saturation is 40%, making it moderately saturated. The lightness is 2%, 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 #040307 a warm or cool color? +

#040307 is classified as a cool color based on its hue angle of 255°. Cool colors — blues, greens, and purples — evoke calm, trust, and professionalism. They tend to recede visually and create a feeling of space. In design, cool colors are often used for technology, healthcare, and finance brands, as well as anywhere a sense of calm or reliability is needed.

What is the CMYK value of #040307? +

The approximate CMYK value of #040307 is C:43% M:57% Y:0% K:97%. 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 #040307 with Other Tools

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