#5a3172 Color Information

In a RGB color space, hex #5a3172 is composed of 35.3% red, 19.2% green and 44.7% blue. Whereas in a CMYK color space, it is composed of 21.1% cyan, 57% magenta, 0% yellow and 55.3% black. It has a hue angle of 277.8 degrees, a saturation of 39.9% and a lightness of 32%. #5a3172 color hex could be obtained by blending #b462e4 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 19
    • B 45
    RGB color chart
    • C 21
    • M 57
    • Y 0
    • K 55
    CMYK color chart

#5a3172 color description : Very dark desaturated violet.

#5a3172 Color Conversion

The hexadecimal color #5a3172 has RGB values of R:90, G:49, B:114 and CMYK values of C:0.21, M:0.57, Y:0, K:0.55. Its decimal value is 5910898.

Hex triplet 5a3172 #5a3172
RGB Decimal 90, 49, 114 rgb(90,49,114)
RGB Percent 35.3, 19.2, 44.7 rgb(35.3%,19.2%,44.7%)
CMYK 21, 57, 0, 55
HSL 277.8°, 39.9, 32 hsl(277.8,39.9%,32%)
HSV (or HSB) 277.8°, 57, 44.7
Web Safe 663366 #663366
CIE-LAB 28.341, 31.16, -30.3
XYZ 8.352, 5.585, 16.557
xyY 0.274, 0.183, 5.585
CIE-LCH 28.341, 43.463, 315.802
CIE-LUV 28.341, 13.906, -41.943
Hunter-Lab 23.633, 21.72, -24.993
Binary 01011010, 00110001, 01110010

Color Schemes with #5a3172

Complementary Color
Analogous Color
Split Complementary Color
Triadic Color
Tetradic Color
Monochromatic Color

Alternatives to #5a3172

Below, you can see some colors close to #5a3172. Having a set of related colors can be useful if you need an inspirational alternative to your original color choice.

Similar Colors

#5a3172 Preview

Text with hexadecimal color #5a3172

This text has a font color of #5a3172.

<span style="color:#5a3172;">Text here</span>
#5a3172 background color

This paragraph has a background color of #5a3172.

<p style="background-color:#5a3172;">Content here</p>
#5a3172 border color

This element has a border color of #5a3172.

<div style="border:1px solid #5a3172;">Content here</div>
CSS codes
.text {color:#5a3172;}
.background {background-color:#5a3172;}
.border {border:1px solid #5a3172;}

Shades and Tints of #5a3172

A shade is achieved by adding black to any pure hue, while a tint is created by mixing white to any pure color. In this example, #030204 is the darkest color, while #f9f6fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a3172

A tone is produced by adding gray to any pure hue. In this case, #525053 is the less saturated color, while #65059e is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a3172 is perceived by people affected by a color vision deficiency. This can be useful if you need to ensure your color combinations are accessible to color-blind users.

Monochromacy
  • #454545 Achromatopsia 0.005% of the population
  • #49414e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2b4a85 Protanopia 1% of men
  • #354c73 Deuteranopia 1% of men
  • #5a474c Tritanopia 0.001% of the population
Trichromacy
  • #3c417e Protanomaly 1% of men, 0.01% of women
  • #424273 Deuteranomaly 6% of men, 0.4% of women
  • #5a3f5a Tritanomaly 0.01% of the population