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

Dark Cool Violet

#5B2187

📝 Color Information for #5B2187

The hexadecimal color code #5B2187 represents a dark shade in the purple family. In the RGB color model, this color is composed of 91 red, 33 green, and 135 blue, which translates to approximately 36% red, 13% green, and 53% 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, #5B2187 has a hue of 274 degrees, a saturation level of 61%, and a lightness value of 33%. The hue angle of 274° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 274°, saturation of 76%, and brightness/value of 53%. For print applications using the CMYK color model, #5B2187 would be reproduced using 33% cyan, 76% magenta, 0% yellow, and 47% 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 #5B2187 with other colors, consider its complementary color at hue 94° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 5972359, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #5B2187

Tailwind CSS
purple-900
HEX
#5B2187
RGB
rgb(91, 33, 135)
RGB %
36%, 13%, 53%
HSL
hsl(274, 61%, 33%)
HSV
hsv(274, 76%, 53%)
CMYK
33%, 76%, 0%, 47%
Decimal
5972359
Web Safe
#663399

🎨 Color Schemes for #5B2187

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #5B2187

🌗 Shades and Tints of #5B2187

Shades (adding black)
Tints (adding white)

🎚️ Tones of #5B2187

Tones (adding gray / desaturating)

🌈 Hue Variations of #5B2187

Hue Variations (shifting the color spectrum)

👁️ Preview of #5B2187 in Use

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

👓 Color Blindness Simulation for #5B2187

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

:root { --color-hex: #5B2187; --color-rgb: 91, 33, 135; --color-hsl: 274, 61%, 33%; } .bg-color { background-color: #5B2187; } .text-color { color: #5B2187; } .border-color { border-color: #5B2187; }

🛠️ Use #5B2187 in Your Project

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

🔗 Related Colors to #5B2187

#282187
Hue -30°
#412187
Hue -15°
#752187
Hue +15°
#872181
Hue +30°
#4D1C73
85% L
#3F175E
70% L
#2F1146
50% L
#1C0A29
30% L
#7F2EBD
46% L
#A15BD7
60% L
#C090E4
73% L
#E1CAF2
87% L

About Dark Cool Violet (#5B2187)

Dark Cool Violet is a medium, vibrant, cool purple color with a hue angle of 274°, saturation of 61%, and lightness of 33%. Its RGB value is (91, 33, 135) and its CMYK breakdown is C:33% M:76% Y:0% K:47%.

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

What is the HEX code for Dark Cool Violet? +

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

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

What is the HSL value of #5B2187? +

The HSL value of #5B2187 is hsl(274, 61%, 33%). The hue is 274°, placing it in the purple family on the color wheel. The saturation is 61%, making it vibrant. The lightness is 33%, 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 #5B2187 a warm or cool color? +

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

The approximate CMYK value of #5B2187 is C:33% M:76% Y:0% K:47%. 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 #5B2187 with Other Tools

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