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

Dark Violet

#5A338A

📝 Color Information for #5A338A

The hexadecimal color code #5A338A represents a dark shade in the blue family. In the RGB color model, this color is composed of 90 red, 51 green, and 138 blue, which translates to approximately 35% red, 20% green, and 54% 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, #5A338A has a hue of 267 degrees, a saturation level of 46%, and a lightness value of 37%. The hue angle of 267° places this color firmly in the blue spectrum. In the HSV/HSB color model, this translates to a hue of 267°, saturation of 63%, and brightness/value of 54%. For print applications using the CMYK color model, #5A338A would be reproduced using 35% cyan, 63% magenta, 0% yellow, and 46% 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 moderate to low saturation gives this color a sophisticated, muted quality that works well in professional and minimalist designs. When pairing #5A338A with other colors, consider its complementary color at hue 87° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 5911434, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #5A338A

Tailwind CSS
purple-900
HEX
#5A338A
RGB
rgb(90, 51, 138)
RGB %
35%, 20%, 54%
HSL
hsl(267, 46%, 37%)
HSV
hsv(267, 63%, 54%)
CMYK
35%, 63%, 0%, 46%
Decimal
5911434
Web Safe
#663399

🎨 Color Schemes for #5A338A

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #5A338A

🌗 Shades and Tints of #5A338A

Shades (adding black)
Tints (adding white)

🎚️ Tones of #5A338A

Tones (adding gray / desaturating)

🌈 Hue Variations of #5A338A

Hue Variations (shifting the color spectrum)

👁️ Preview of #5A338A in Use

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

👓 Color Blindness Simulation for #5A338A

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

:root { --color-hex: #5A338A; --color-rgb: 90, 51, 138; --color-hsl: 267, 46%, 37%; } .bg-color { background-color: #5A338A; } .text-color { color: #5A338A; } .border-color { border-color: #5A338A; }

🛠️ Use #5A338A in Your Project

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

🔗 Related Colors to #5A338A

#33378A
Hue -30°
#44338A
Hue -15°
#70338A
Hue +15°
#85338A
Hue +30°
#4B2B73
85% L
#3F2461
70% L
#2E1A47
50% L
#1B0F29
30% L
#7A45BA
50% L
#9A72CB
62% L
#BCA2DD
75% L
#DCCFED
87% L

About Dark Violet (#5A338A)

Dark Violet is a medium, moderately saturated, cool blue color with a hue angle of 267°, saturation of 46%, and lightness of 37%. Its RGB value is (90, 51, 138) and its CMYK breakdown is C:35% M:63% Y:0% K:46%.

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

What is the HEX code for Dark Violet? +

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

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

What is the HSL value of #5A338A? +

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

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

The approximate CMYK value of #5A338A is C:35% M:63% Y:0% K:46%. 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 #5A338A with Other Tools

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