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

Deep Violet

#402456

📝 Color Information for #402456

The hexadecimal color code #402456 represents a dark shade in the purple family. In the RGB color model, this color is composed of 64 red, 36 green, and 86 blue, which translates to approximately 25% red, 14% green, and 34% 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, #402456 has a hue of 274 degrees, a saturation level of 41%, and a lightness value of 24%. The hue angle of 274° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 274°, saturation of 58%, and brightness/value of 34%. For print applications using the CMYK color model, #402456 would be reproduced using 26% cyan, 58% magenta, 0% yellow, and 66% black. The closest web-safe color is #333366, 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 #402456 with other colors, consider its complementary color at hue 94° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 4203606, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #402456

Tailwind CSS
gray-700
HEX
#402456
RGB
rgb(64, 36, 86)
RGB %
25%, 14%, 34%
HSL
hsl(274, 41%, 24%)
HSV
hsv(274, 58%, 34%)
CMYK
26%, 58%, 0%, 66%
Decimal
4203606
Web Safe
#333366

🎨 Color Schemes for #402456

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #402456

🌗 Shades and Tints of #402456

Shades (adding black)
Tints (adding white)

🎚️ Tones of #402456

Tones (adding gray / desaturating)

🌈 Hue Variations of #402456

Hue Variations (shifting the color spectrum)

👁️ Preview of #402456 in Use

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

👓 Color Blindness Simulation for #402456

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

:root { --color-hex: #402456; --color-rgb: 64, 36, 86; --color-hsl: 274, 41%, 24%; } .bg-color { background-color: #402456; } .text-color { color: #402456; } .border-color { border-color: #402456; }

🛠️ Use #402456 in Your Project

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

🔗 Related Colors to #402456

#272456
Hue -30°
#342456
Hue -15°
#4D2456
Hue +15°
#562453
Hue +30°
#361E48
85% L
#2E1A3D
70% L
#20122B
50% L
#130B19
30% L
#693B8C
39% L
#905ABA
54% L
#B793D2
70% L
#DBC9E8
85% L

About Deep Violet (#402456)

Deep Violet is a dark, moderately saturated, cool purple color with a hue angle of 274°, saturation of 41%, and lightness of 24%. Its RGB value is (64, 36, 86) and its CMYK breakdown is C:26% M:58% Y:0% K:66%.

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

What is the HEX code for Deep Violet? +

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

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

What is the HSL value of #402456? +

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

#402456 is classified as a cool color based on its hue angle of 274°. 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 #402456? +

The approximate CMYK value of #402456 is C:26% M:58% Y:0% K:66%. 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 #402456 with Other Tools

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