#5a5174 Color Information

In a RGB color space, hex #5a5174 is composed of 35.3% red, 31.8% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 22.4% cyan, 30.2% magenta, 0% yellow and 54.5% black. It has a hue angle of 255.4 degrees, a saturation of 17.8% and a lightness of 38.6%. #5a5174 color hex could be obtained by blending #b4a2e8 with #000000. Closest websafe color is: #666666.

    • R 35
    • G 32
    • B 45
    RGB color chart
    • C 22
    • M 30
    • Y 0
    • K 55
    CMYK color chart

#5a5174 color description : Mostly desaturated dark violet.

#5a5174 Color Conversion

The hexadecimal color #5a5174 has RGB values of R:90, G:81, B:116 and CMYK values of C:0.22, M:0.3, Y:0, K:0.55. Its decimal value is 5919092.

Hex triplet 5a5174 #5a5174
RGB Decimal 90, 81, 116 rgb(90,81,116)
RGB Percent 35.3, 31.8, 45.5 rgb(35.3%,31.8%,45.5%)
CMYK 22, 30, 0, 55
HSL 255.4°, 17.8, 38.6 hsl(255.4,17.8%,38.6%)
HSV (or HSB) 255.4°, 30.2, 45.5
Web Safe 666666 #666666
CIE-LAB 36.592, 11.772, -18.636
XYZ 10.311, 9.319, 17.778
xyY 0.276, 0.249, 9.319
CIE-LCH 36.592, 22.043, 302.28
CIE-LUV 36.592, 2.327, -26.66
Hunter-Lab 30.528, 6.865, -13.158
Binary 01011010, 01010001, 01110100

Color Schemes with #5a5174

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

Alternatives to #5a5174

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

Similar Colors

#5a5174 Preview

Text with hexadecimal color #5a5174

This text has a font color of #5a5174.

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

This paragraph has a background color of #5a5174.

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

This element has a border color of #5a5174.

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

Shades and Tints of #5a5174

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, #000000 is the darkest color, while #f5f4f7 is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a5174

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5174 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
  • #585858 Achromatopsia 0.005% of the population
  • #58575e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #545d7d Protanopia 1% of men
  • #575d7a Deuteranopia 1% of men
  • #5d5e65 Tritanopia 0.001% of the population
Trichromacy
  • #56597a Protanomaly 1% of men, 0.01% of women
  • #585877 Deuteranomaly 6% of men, 0.4% of women
  • #5c596a Tritanomaly 0.01% of the population