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

Dark Cool Violet

#5F238B

📝 Color Information for #5F238B

The hexadecimal color code #5F238B represents a dark shade in the purple family. In the RGB color model, this color is composed of 95 red, 35 green, and 139 blue, which translates to approximately 37% red, 14% green, and 55% 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, #5F238B has a hue of 275 degrees, a saturation level of 60%, and a lightness value of 34%. The hue angle of 275° places this color firmly in the purple spectrum. In the HSV/HSB color model, this translates to a hue of 275°, saturation of 75%, and brightness/value of 55%. For print applications using the CMYK color model, #5F238B would be reproduced using 32% cyan, 75% magenta, 0% yellow, and 45% 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 #5F238B with other colors, consider its complementary color at hue 95° for maximum contrast, or use analogous colors within 30° of its hue for harmonious combinations. The decimal representation of this color is 6235019, which can be useful in certain programming contexts.

🔢 Color Conversion Codes for #5F238B

Tailwind CSS
purple-900
HEX
#5F238B
RGB
rgb(95, 35, 139)
RGB %
37%, 14%, 55%
HSL
hsl(275, 60%, 34%)
HSV
hsv(275, 75%, 55%)
CMYK
32%, 75%, 0%, 45%
Decimal
6235019
Web Safe
#663399

🎨 Color Schemes for #5F238B

Complementary
Analogous
Triadic
Split Complementary
Tetradic (Rectangle)

🔄 Alternatives to #5F238B

🌗 Shades and Tints of #5F238B

Shades (adding black)
Tints (adding white)

🎚️ Tones of #5F238B

Tones (adding gray / desaturating)

🌈 Hue Variations of #5F238B

Hue Variations (shifting the color spectrum)

👁️ Preview of #5F238B in Use

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

👓 Color Blindness Simulation for #5F238B

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

:root { --color-hex: #5F238B; --color-rgb: 95, 35, 139; --color-hsl: 275, 60%, 34%; } .bg-color { background-color: #5F238B; } .text-color { color: #5F238B; } .border-color { border-color: #5F238B; }

🛠️ Use #5F238B in Your Project

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

🔗 Related Colors to #5F238B

#2B238B
Hue -30°
#45238B
Hue -15°
#79238B
Hue +15°
#8B2382
Hue +30°
#511E76
85% L
#431862
70% L
#301145
50% L
#1C0A29
30% L
#8430C0
47% L
#A35CD6
60% L
#C395E4
74% L
#E1CAF2
87% L

About Dark Cool Violet (#5F238B)

Dark Cool Violet is a medium, moderately saturated, cool purple color with a hue angle of 275°, saturation of 60%, and lightness of 34%. Its RGB value is (95, 35, 139) and its CMYK breakdown is C:32% M:75% Y:0% K:45%.

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

What is the HEX code for Dark Cool Violet? +

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

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

What is the HSL value of #5F238B? +

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

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

The approximate CMYK value of #5F238B is C:32% M:75% Y:0% K:45%. 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 #5F238B with Other Tools

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