#5a5171 Color Information

In a RGB color space, hex #5a5171 is composed of 35.3% red, 31.8% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 20.4% cyan, 28.3% magenta, 0% yellow and 55.7% black. It has a hue angle of 256.9 degrees, a saturation of 16.5% and a lightness of 38%. #5a5171 color hex could be obtained by blending #b4a2e2 with #000000. Closest websafe color is: #666666.

    • R 35
    • G 32
    • B 44
    RGB color chart
    • C 20
    • M 28
    • Y 0
    • K 56
    CMYK color chart

#5a5171 color description : Very dark grayish violet.

#5a5171 Color Conversion

The hexadecimal color #5a5171 has RGB values of R:90, G:81, B:113 and CMYK values of C:0.2, M:0.28, Y:0, K:0.56. Its decimal value is 5919089.

Hex triplet 5a5171 #5a5171
RGB Decimal 90, 81, 113 rgb(90,81,113)
RGB Percent 35.3, 31.8, 44.3 rgb(35.3%,31.8%,44.3%)
CMYK 20, 28, 0, 56
HSL 256.9°, 16.5, 38 hsl(256.9,16.5%,38%)
HSV (or HSB) 256.9°, 28.3, 44.3
Web Safe 666666 #666666
CIE-LAB 36.463, 10.999, -16.973
XYZ 10.139, 9.251, 16.873
xyY 0.28, 0.255, 9.251
CIE-LCH 36.463, 20.225, 302.944
CIE-LUV 36.463, 2.573, -24.199
Hunter-Lab 30.415, 6.277, -11.602
Binary 01011010, 01010001, 01110001

Color Schemes with #5a5171

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

Alternatives to #5a5171

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

Similar Colors

#5a5171 Preview

Text with hexadecimal color #5a5171

This text has a font color of #5a5171.

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

This paragraph has a background color of #5a5171.

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

This element has a border color of #5a5171.

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

Shades and Tints of #5a5171

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, #08070a is the darkest color, while #fefefe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a5171

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5171 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
  • #575757 Achromatopsia 0.005% of the population
  • #58565c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #555d7a Protanopia 1% of men
  • #595d77 Deuteranopia 1% of men
  • #5e5d64 Tritanopia 0.001% of the population
Trichromacy
  • #575877 Protanomaly 1% of men, 0.01% of women
  • #595875 Deuteranomaly 6% of men, 0.4% of women
  • #5c5969 Tritanomaly 0.01% of the population