✓ Copied to clipboard
#402277 (Dark Cool Violet) color swatch preview — Color From Pic.
#402277 — Dark Cool Violet color swatch

Dark Cool Violet

#402277

📝 Color Information for #402277

The hexadecimal color code #402277 represents a dark shade in the blue family. In the RGB color model, this color is composed of 64 red, 34 green, and 119 blue, which translates to approximately 25% red, 13% green, and 47% 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, #402277 has a hue of 261 degrees, a saturation level of 56%, and a lightness value of 30%. The hue angle of 261° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 261°, saturation of 71%, and brightness/value of 47%. For print applications using the CMYK color model, #402277 would be reproduced using 46% cyan, 71% magenta, 0% yellow, and 53% 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. 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 #402277 with other colors, consider its complementary color at hue 81° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 4203127, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #402277

Tailwind CSS
indigo-900
HEX
#402277
RGB
rgb(64, 34, 119)
RGB %
25%, 13%, 47%
HSL
hsl(261, 56%, 30%)
HSV
hsv(261, 71%, 47%)
CMYK
46%, 71%, 0%, 53%
Decimal
4203127
Web Safe
#333366

🎨 Color Schemes for #402277

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #402277

🌗 Shades and Tints of #402277

Shades (adding black)
Tints (adding white)

🎚️ Tones of #402277

Tones (adding gray / desaturating)

🌈 Hue Variations of #402277

Hue Variations (shifting the color spectrum)

👁️ Preview of #402277 in Use

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

👓 Color Blindness Simulation for #402277

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

:root { --color-hex: #402277; --color-rgb: 64, 34, 119; --color-hsl: 261, 56%, 30%; } .bg-color { background-color: #402277; } .text-color { color: #402277; } .border-color { border-color: #402277; }

🛠️ Use #402277 in Your Project

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

🔗 Related Colors to #402277

#222F77
Hue -30°
#2A2277
Hue -15°
#552277
Hue +15°
#6A2277
Hue +30°
#371D67
85% L
#2D1854
70% L
#20113C
50% L
#130A24
30% L
#5D31AF
44% L
#8258D0
58% L
#AC90E0
72% L
#D5C7EF
86% L

About Dark Cool Violet (#402277)

Dark Cool Violet is a medium, moderately saturated, cool blue color with a hue angle of 261°, saturation of 56%, and lightness of 30%. Its RGB value is (64, 34, 119) and its CMYK breakdown is C:46% M:71% Y:0% K:53%.

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

What is the HEX code for Dark Cool Violet? +

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

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

What is the HSL value of #402277? +

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

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

The approximate CMYK value of #402277 is C:46% M:71% Y:0% K:53%. 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 #402277 with Other Tools

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