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

Cool Violet

#512AC6

📝 Color Information for #512AC6

The hexadecimal color code #512AC6 represents a medium shade in the blue family. In the RGB color model, this color is composed of 81 red, 42 green, and 198 blue, which translates to approximately 32% red, 16% green, and 78% 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, #512AC6 has a hue of 255 degrees, a saturation level of 65%, and a lightness value of 47%. The hue angle of 255° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 255°, saturation of 79%, and brightness/value of 78%. For print applications using the CMYK color model, #512AC6 would be reproduced using 59% cyan, 79% magenta, 0% yellow, and 22% black. The closest web-safe color is #6633CC, 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 #512AC6 with other colors, consider its complementary color at hue 75° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 5319366, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #512AC6

Tailwind CSS
indigo-700
HEX
#512AC6
RGB
rgb(81, 42, 198)
RGB %
32%, 16%, 78%
HSL
hsl(255, 65%, 47%)
HSV
hsv(255, 79%, 78%)
CMYK
59%, 79%, 0%, 22%
Decimal
5319366
Web Safe
#6633CC

🎨 Color Schemes for #512AC6

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #512AC6

🌗 Shades and Tints of #512AC6

Shades (adding black)
Tints (adding white)

🎚️ Tones of #512AC6

Tones (adding gray / desaturating)

🌈 Hue Variations of #512AC6

Hue Variations (shifting the color spectrum)

👁️ Preview of #512AC6 in Use

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

👓 Color Blindness Simulation for #512AC6

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 #512AC6

:root { --color-hex: #512AC6; --color-rgb: 81, 42, 198; --color-hsl: 255, 65%, 47%; } .bg-color { background-color: #512AC6; } .text-color { color: #512AC6; } .border-color { border-color: #512AC6; }

🛠️ Use #512AC6 in Your Project

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

🔗 Related Colors to #512AC6

#2A51C6
Hue -30°
#2A2AC6
Hue -15°
#782AC6
Hue +15°
#9F2AC6
Hue +30°
#4524A8
85% L
#391D8B
70% L
#291565
50% L
#180C3B
30% L
#714EDA
58% L
#9378E2
68% L
#B8A7EC
79% L
#DAD1F5
89% L

About Cool Violet (#512AC6)

Cool Violet is a medium, vibrant, cool blue color with a hue angle of 255°, saturation of 65%, and lightness of 47%. Its RGB value is (81, 42, 198) and its CMYK breakdown is C:59% M:79% Y:0% K:22%.

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 #512AC6

What is the HEX code for Cool Violet? +

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

The RGB value of #512AC6 is rgb(81, 42, 198). This means the color contains 81 out of 255 parts red, 42 out of 255 parts green, and 198 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(81, 42, 198);

What is the HSL value of #512AC6? +

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

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

The approximate CMYK value of #512AC6 is C:59% M:79% Y:0% K:22%. 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 #512AC6 with Other Tools

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