The hexadecimal color code #40288F represents a dark shade in the blue family. In the RGB color model, this color is composed of 64 red, 40 green, and 143 blue, which translates to approximately 25% red, 16% green, and 56% blue. This makes it a moderately saturated color with cool undertones that can evoke different emotional responses depending on its application.
When analyzed in the HSL (Hue, Saturation, Lightness) color space, #40288F has a hue of 254 degrees, a saturation level of 56%, and a lightness value of 36%. The hue angle of 254° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 254°, saturation of 72%, and brightness/value of 56%.
For print applications using the CMYK color model, #40288F would be reproduced using 55% cyan, 72% magenta, 0% yellow, and 44% black. The closest web-safe color is #333399, which may be useful for ensuring compatibility across older displays and systems.
This color works well in various design contexts. With its medium lightness, it's versatile enough for both foreground elements and subtle backgrounds. The moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #40288F with other colors, consider its complementary color at hue 74° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 4204687, which can be useful in certain programming contexts.
🔢 Color Conversion Codes for #40288F
Tailwind CSS
violet-900
HEX
#40288F
RGB
rgb(64, 40, 143)
RGB %
25%, 16%, 56%
HSL
hsl(254, 56%, 36%)
HSV
hsv(254, 72%, 56%)
CMYK
55%, 72%, 0%, 44%
Decimal
4204687
Web Safe
#333399
🎨 Color Schemes for #40288F
Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)
🔄 Alternatives to #40288F
🌗 Shades and Tints of #40288F
Shades (adding black)
Tints (adding white)
🎚️ Tones of #40288F
Tones (adding gray / desaturating)
🌈 Hue Variations of #40288F
Hue Variations (shifting the color spectrum)
👁️ Preview of #40288F in Use
Text on #40288F
This demonstrates text readability on the color background. (Click to edit)
#40288F as Text
This shows the color used as text on white. (Click to edit)
👓 Color Blindness Simulation for #40288F
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.
Dark Cool Violet is a medium, moderately saturated, cool blue color with a hue angle of 254°, saturation of 56%, and lightness of 36%. Its RGB value is (64, 40, 143) and its CMYK breakdown is C:55% M:72% Y:0% K:44%.
This is a Summer (Cool) color palette archetype. Trust, Loyalty, Wisdom, Confidence. Blue is considered beneficial to the mind and body.
Frequently Asked Questions About #40288F
What is the HEX code for Dark Cool Violet? +
The HEX code for Dark Cool Violet is #40288F. In CSS you can use it directly as color: #40288F; or as a background: background-color: #40288F;. 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 #40288F? +
The RGB value of #40288F is rgb(64, 40, 143). This means the color contains 64 out of 255 parts red, 40 out of 255 parts green, and 143 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(64, 40, 143);
What is the HSL value of #40288F? +
The HSL value of #40288F is hsl(254, 56%, 36%). The hue is 254°, placing it in the blue family on the color wheel. The saturation is 56%, making it moderately saturated. The lightness is 36%, making it medium. HSL is the most useful format for programmatic color manipulation in CSS, as you can easily adjust lightness to create tints and shades.
Is #40288F a warm or cool color? +
#40288F is classified as a cool color based on its hue angle of 254°. 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 #40288F? +
The approximate CMYK value of #40288F is C:55% M:72% Y:0% K:44%. 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.