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

Dark Violet

#342772

📝 Color Information for #342772

The hexadecimal color code #342772 represents a dark shade in the blue family. In the RGB color model, this color is composed of 52 red, 39 green, and 114 blue, which translates to approximately 20% red, 15% green, and 45% 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, #342772 has a hue of 250 degrees, a saturation level of 49%, and a lightness value of 30%. The hue angle of 250° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 250°, saturation of 66%, and brightness/value of 45%. For print applications using the CMYK color model, #342772 would be reproduced using 54% cyan, 66% magenta, 0% yellow, and 55% 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 #342772 with other colors, consider its complementary color at hue 70° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 3417970, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #342772

Tailwind CSS
indigo-900
HEX
#342772
RGB
rgb(52, 39, 114)
RGB %
20%, 15%, 45%
HSL
hsl(250, 49%, 30%)
HSV
hsv(250, 66%, 45%)
CMYK
54%, 66%, 0%, 55%
Decimal
3417970
Web Safe
#333366

🎨 Color Schemes for #342772

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #342772

🌗 Shades and Tints of #342772

Shades (adding black)
Tints (adding white)

🎚️ Tones of #342772

Tones (adding gray / desaturating)

🌈 Hue Variations of #342772

Hue Variations (shifting the color spectrum)

👁️ Preview of #342772 in Use

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

👓 Color Blindness Simulation for #342772

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

:root { --color-hex: #342772; --color-rgb: 52, 39, 114; --color-hsl: 250, 49%, 30%; } .bg-color { background-color: #342772; } .text-color { color: #342772; } .border-color { border-color: #342772; }

🛠️ Use #342772 in Your Project

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

🔗 Related Colors to #342772

#274072
Hue -30°
#272D72
Hue -15°
#462772
Hue +15°
#592772
Hue +30°
#2D2263
85% L
#241B50
70% L
#1A1439
50% L
#0F0C22
30% L
#4C39A7
44% L
#715FC8
58% L
#A095DB
72% L
#D0CAED
86% L

About Dark Violet (#342772)

Dark Violet is a medium, moderately saturated, cool blue color with a hue angle of 250°, saturation of 49%, and lightness of 30%. Its RGB value is (52, 39, 114) and its CMYK breakdown is C:54% M:66% Y:0% K:55%.

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

What is the HEX code for Dark Violet? +

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

The RGB value of #342772 is rgb(52, 39, 114). This means the color contains 52 out of 255 parts red, 39 out of 255 parts green, and 114 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(52, 39, 114);

What is the HSL value of #342772? +

The HSL value of #342772 is hsl(250, 49%, 30%). The hue is 250°, placing it in the blue family on the color wheel. The saturation is 49%, 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 #342772 a warm or cool color? +

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

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

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