The hexadecimal color code #52157A represents a dark shade in the purple family. In the RGB color model, this color is composed of 82 red, 21 green, and 122 blue, which translates to approximately 32% red, 8% green, and 48% 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, #52157A has a hue of 276 degrees, a saturation level of 71%, and a lightness value of 28%. The hue angle of 276° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 276°, saturation of 83%, and brightness/value of 48%.
For print applications using the CMYK color model, #52157A would be reproduced using 33% cyan, 83% magenta, 0% yellow, and 52% black. The closest web-safe color is #660066, 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 high saturation makes this color vibrant and attention-grabbing, ideal for call-to-action buttons, highlights, and accent elements. When pairing #52157A with other colors, consider its complementary color at hue 96° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 5379450, which can be useful in certain programming contexts.
🔢 Color Conversion Codes for #52157A
Tailwind CSS
purple-900
HEX
#52157A
RGB
rgb(82, 21, 122)
RGB %
32%, 8%, 48%
HSL
hsl(276, 71%, 28%)
HSV
hsv(276, 83%, 48%)
CMYK
33%, 83%, 0%, 52%
Decimal
5379450
Web Safe
#660066
🎨 Color Schemes for #52157A
Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)
🔄 Alternatives to #52157A
🌗 Shades and Tints of #52157A
Shades (adding black)
Tints (adding white)
🎚️ Tones of #52157A
Tones (adding gray / desaturating)
🌈 Hue Variations of #52157A
Hue Variations (shifting the color spectrum)
👁️ Preview of #52157A in Use
Text on #52157A
This demonstrates text readability on the color background. (Click to edit)
#52157A as Text
This shows the color used as text on white. (Click to edit)
👓 Color Blindness Simulation for #52157A
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 dark, vibrant, cool purple color with a hue angle of 276°, saturation of 71%, and lightness of 28%. Its RGB value is (82, 21, 122) and its CMYK breakdown is C:33% M:83% Y:0% K:52%.
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 #52157A
What is the HEX code for Dark Cool Violet? +
The HEX code for Dark Cool Violet is #52157A. In CSS you can use it directly as color: #52157A; or as a background: background-color: #52157A;. 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 #52157A? +
The RGB value of #52157A is rgb(82, 21, 122). This means the color contains 82 out of 255 parts red, 21 out of 255 parts green, and 122 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(82, 21, 122);
What is the HSL value of #52157A? +
The HSL value of #52157A is hsl(276, 71%, 28%). The hue is 276°, placing it in the purple family on the color wheel. The saturation is 71%, making it vibrant. The lightness is 28%, 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 #52157A a warm or cool color? +
#52157A is classified as a cool color based on its hue angle of 276°. 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 #52157A? +
The approximate CMYK value of #52157A is C:33% M:83% Y:0% K:52%. 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.