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

Dark Cool Violet

#331A84

📝 Color Information for #331A84

The hexadecimal color code #331A84 represents a dark shade in the blue family. In the RGB color model, this color is composed of 51 red, 26 green, and 132 blue, which translates to approximately 20% red, 10% green, and 52% 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, #331A84 has a hue of 254 degrees, a saturation level of 67%, and a lightness value of 31%. 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 80%, and brightness/value of 52%. For print applications using the CMYK color model, #331A84 would be reproduced using 61% cyan, 80% magenta, 0% yellow, and 48% 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 high saturation makes this color vibrant and attention-grabbing, ideal for call-to-action buttons, highlights, and accent elements. When pairing #331A84 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 3349124, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #331A84

Tailwind CSS
indigo-900
HEX
#331A84
RGB
rgb(51, 26, 132)
RGB %
20%, 10%, 52%
HSL
hsl(254, 67%, 31%)
HSV
hsv(254, 80%, 52%)
CMYK
61%, 80%, 0%, 48%
Decimal
3349124
Web Safe
#333399

🎨 Color Schemes for #331A84

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #331A84

🌗 Shades and Tints of #331A84

Shades (adding black)
Tints (adding white)

🎚️ Tones of #331A84

Tones (adding gray / desaturating)

🌈 Hue Variations of #331A84

Hue Variations (shifting the color spectrum)

👁️ Preview of #331A84 in Use

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

👓 Color Blindness Simulation for #331A84

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 #331A84

:root { --color-hex: #331A84; --color-rgb: 51, 26, 132; --color-hsl: 254, 67%, 31%; } .bg-color { background-color: #331A84; } .text-color { color: #331A84; } .border-color { border-color: #331A84; }

🛠️ Use #331A84 in Your Project

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

🔗 Related Colors to #331A84

#1A3684
Hue -30°
#1A1C84
Hue -15°
#4D1A84
Hue +15°
#681A84
Hue +30°
#2B166F
85% L
#24135E
70% L
#1A0D44
50% L
#0F0826
30% L
#4A26C0
45% L
#7150DC
59% L
#9E88E7
72% L
#CFC3F3
86% L

About Dark Cool Violet (#331A84)

Dark Cool Violet is a medium, vibrant, cool blue color with a hue angle of 254°, saturation of 67%, and lightness of 31%. Its RGB value is (51, 26, 132) and its CMYK breakdown is C:61% M:80% Y:0% K:48%.

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 #331A84

What is the HEX code for Dark Cool Violet? +

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

The RGB value of #331A84 is rgb(51, 26, 132). This means the color contains 51 out of 255 parts red, 26 out of 255 parts green, and 132 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(51, 26, 132);

What is the HSL value of #331A84? +

The HSL value of #331A84 is hsl(254, 67%, 31%). The hue is 254°, placing it in the blue family on the color wheel. The saturation is 67%, making it vibrant. The lightness is 31%, 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 #331A84 a warm or cool color? +

#331A84 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 #331A84? +

The approximate CMYK value of #331A84 is C:61% M:80% Y:0% K:48%. 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 #331A84 with Other Tools

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