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

Dark Violet

#5B307E

📝 Color Information for #5B307E

The hexadecimal color code #5B307E represents a dark shade in the purple family. In the RGB color model, this color is composed of 91 red, 48 green, and 126 blue, which translates to approximately 36% red, 19% green, and 49% 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, #5B307E has a hue of 273 degrees, a saturation level of 45%, 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 62%, and brightness/value of 49%. For print applications using the CMYK color model, #5B307E would be reproduced using 28% cyan, 62% magenta, 0% yellow, and 51% 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 #5B307E 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 5976190, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #5B307E

Tailwind CSS
purple-900
HEX
#5B307E
RGB
rgb(91, 48, 126)
RGB %
36%, 19%, 49%
HSL
hsl(273, 45%, 34%)
HSV
hsv(273, 62%, 49%)
CMYK
28%, 62%, 0%, 51%
Decimal
5976190
Web Safe
#663366

🎨 Color Schemes for #5B307E

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #5B307E

🌗 Shades and Tints of #5B307E

Shades (adding black)
Tints (adding white)

🎚️ Tones of #5B307E

Tones (adding gray / desaturating)

🌈 Hue Variations of #5B307E

Hue Variations (shifting the color spectrum)

👁️ Preview of #5B307E in Use

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

👓 Color Blindness Simulation for #5B307E

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

:root { --color-hex: #5B307E; --color-rgb: 91, 48, 126; --color-hsl: 273, 45%, 34%; } .bg-color { background-color: #5B307E; } .text-color { color: #5B307E; } .border-color { border-color: #5B307E; }

🛠️ Use #5B307E in Your Project

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

🔗 Related Colors to #5B307E

#34307E
Hue -30°
#47307E
Hue -15°
#6E307E
Hue +15°
#7E307A
Hue +30°
#4D296B
85% L
#402259
70% L
#2D183F
50% L
#1B0E25
30% L
#7D42AE
47% L
#9E6BC7
60% L
#C09FDB
74% L
#DFCFED
87% L

About Dark Violet (#5B307E)

Dark Violet is a medium, moderately saturated, cool purple color with a hue angle of 273°, saturation of 45%, and lightness of 34%. Its RGB value is (91, 48, 126) and its CMYK breakdown is C:28% M:62% Y:0% K:51%.

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

What is the HEX code for Dark Violet? +

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

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

What is the HSL value of #5B307E? +

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

#5B307E 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 #5B307E? +

The approximate CMYK value of #5B307E is C:28% M:62% Y:0% K:51%. 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 #5B307E with Other Tools

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