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

Dark Cool Violet

#511FA8

📝 Color Information for #511FA8

The hexadecimal color code #511FA8 represents a dark shade in the blue family. In the RGB color model, this color is composed of 81 red, 31 green, and 168 blue, which translates to approximately 32% red, 12% green, and 66% 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, #511FA8 has a hue of 262 degrees, a saturation level of 69%, and a lightness value of 39%. The hue angle of 262° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 262°, saturation of 82%, and brightness/value of 66%. For print applications using the CMYK color model, #511FA8 would be reproduced using 52% cyan, 82% magenta, 0% yellow, and 34% black. The closest web-safe color is #663399, 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 #511FA8 with other colors, consider its complementary color at hue 82° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 5316520, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #511FA8

Tailwind CSS
violet-800
HEX
#511FA8
RGB
rgb(81, 31, 168)
RGB %
32%, 12%, 66%
HSL
hsl(262, 69%, 39%)
HSV
hsv(262, 82%, 66%)
CMYK
52%, 82%, 0%, 34%
Decimal
5316520
Web Safe
#663399

🎨 Color Schemes for #511FA8

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #511FA8

🌗 Shades and Tints of #511FA8

Shades (adding black)
Tints (adding white)

🎚️ Tones of #511FA8

Tones (adding gray / desaturating)

🌈 Hue Variations of #511FA8

Hue Variations (shifting the color spectrum)

👁️ Preview of #511FA8 in Use

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

👓 Color Blindness Simulation for #511FA8

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 #511FA8

:root { --color-hex: #511FA8; --color-rgb: 81, 31, 168; --color-hsl: 262, 69%, 39%; } .bg-color { background-color: #511FA8; } .text-color { color: #511FA8; } .border-color { border-color: #511FA8; }

🛠️ Use #511FA8 in Your Project

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

🔗 Related Colors to #511FA8

#1F31A8
Hue -30°
#2F1FA8
Hue -15°
#731FA8
Hue +15°
#961FA8
Hue +30°
#451A8E
85% L
#381574
70% L
#2A1056
50% L
#190934
30% L
#6B2CD8
51% L
#8F60E2
63% L
#B798EC
76% L
#DBCBF6
88% L

About Dark Cool Violet (#511FA8)

Dark Cool Violet is a medium, vibrant, cool blue color with a hue angle of 262°, saturation of 69%, and lightness of 39%. Its RGB value is (81, 31, 168) and its CMYK breakdown is C:52% M:82% Y:0% K:34%.

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 #511FA8

What is the HEX code for Dark Cool Violet? +

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

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

What is the HSL value of #511FA8? +

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

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

The approximate CMYK value of #511FA8 is C:52% M:82% Y:0% K:34%. 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 #511FA8 with Other Tools

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