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

Dark Violet

#5A337B

📝 Color Information for #5A337B

The hexadecimal color code #5A337B represents a dark shade in the purple family. In the RGB color model, this color is composed of 90 red, 51 green, and 123 blue, which translates to approximately 35% red, 20% green, and 48% 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, #5A337B has a hue of 273 degrees, a saturation level of 41%, and a lightness value of 34%. The hue angle of 273° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 273°, saturation of 59%, and brightness/value of 48%. For print applications using the CMYK color model, #5A337B would be reproduced using 27% cyan, 59% magenta, 0% yellow, and 52% black. The closest web-safe color is #663366, 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 #5A337B with other colors, consider its complementary color at hue 93° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 5911419, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #5A337B

Tailwind CSS
purple-900
HEX
#5A337B
RGB
rgb(90, 51, 123)
RGB %
35%, 20%, 48%
HSL
hsl(273, 41%, 34%)
HSV
hsv(273, 59%, 48%)
CMYK
27%, 59%, 0%, 52%
Decimal
5911419
Web Safe
#663366

🎨 Color Schemes for #5A337B

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #5A337B

🌗 Shades and Tints of #5A337B

Shades (adding black)
Tints (adding white)

🎚️ Tones of #5A337B

Tones (adding gray / desaturating)

🌈 Hue Variations of #5A337B

Hue Variations (shifting the color spectrum)

👁️ Preview of #5A337B in Use

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

👓 Color Blindness Simulation for #5A337B

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 #5A337B

:root { --color-hex: #5A337B; --color-rgb: 90, 51, 123; --color-hsl: 273, 41%, 34%; } .bg-color { background-color: #5A337B; } .text-color { color: #5A337B; } .border-color { border-color: #5A337B; }

🛠️ Use #5A337B in Your Project

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

🔗 Related Colors to #5A337B

#37337A
Hue -30°
#48337A
Hue -15°
#6C337A
Hue +15°
#7A3377
Hue +30°
#4D2C68
85% L
#402456
70% L
#2D1A3D
50% L
#1B0F24
30% L
#7D47A9
47% L
#9D6FC3
60% L
#BFA2D8
74% L
#DFD0EB
87% L

About Dark Violet (#5A337B)

Dark Violet is a medium, moderately saturated, cool purple color with a hue angle of 273°, saturation of 41%, and lightness of 34%. Its RGB value is (90, 51, 123) and its CMYK breakdown is C:27% M:59% Y:0% K:52%.

This is a Summer (Cool) color palette archetype. Royalty, Luxury, Ambition, Magic. Purple combines the stability of blue and the energy of red.

Frequently Asked Questions About #5A337B

What is the HEX code for Dark Violet? +

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

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

What is the HSL value of #5A337B? +

The HSL value of #5A337B is hsl(273, 41%, 34%). The hue is 273°, placing it in the purple family on the color wheel. The saturation is 41%, making it moderately saturated. The lightness is 34%, 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 #5A337B a warm or cool color? +

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

The approximate CMYK value of #5A337B is C:27% M:59% 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.

Analyze #5A337B with Other Tools

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