#5a5178 Color Information

In a RGB color space, hex #5a5178 is composed of 35.3% red, 31.8% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 25% cyan, 32.5% magenta, 0% yellow and 52.9% black. It has a hue angle of 253.8 degrees, a saturation of 19.4% and a lightness of 39.4%. #5a5178 color hex could be obtained by blending #b4a2f0 with #000000. Closest websafe color is: #666666.

    • R 35
    • G 32
    • B 47
    RGB color chart
    • C 25
    • M 33
    • Y 0
    • K 53
    CMYK color chart

#5a5178 color description : Mostly desaturated dark blue.

#5a5178 Color Conversion

The hexadecimal color #5a5178 has RGB values of R:90, G:81, B:120 and CMYK values of C:0.25, M:0.33, Y:0, K:0.53. Its decimal value is 5919096.

Hex triplet 5a5178 #5a5178
RGB Decimal 90, 81, 120 rgb(90,81,120)
RGB Percent 35.3, 31.8, 47.1 rgb(35.3%,31.8%,47.1%)
CMYK 25, 33, 0, 53
HSL 253.8°, 19.4, 39.4 hsl(253.8,19.4%,39.4%)
HSV (or HSB) 253.8°, 32.5, 47.1
Web Safe 666666 #666666
CIE-LAB 36.77, 12.822, -20.837
XYZ 10.548, 9.415, 19.03
xyY 0.271, 0.241, 9.415
CIE-LCH 36.77, 24.466, 301.607
CIE-LUV 36.77, 2, -29.946
Hunter-Lab 30.683, 7.67, -15.294
Binary 01011010, 01010001, 01111000

Color Schemes with #5a5178

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

Alternatives to #5a5178

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

Similar Colors

#5a5178 Preview

Text with hexadecimal color #5a5178

This text has a font color of #5a5178.

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

This paragraph has a background color of #5a5178.

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

This element has a border color of #5a5178.

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

Shades and Tints of #5a5178

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

Shade Color Variation
Tint Color Variation

Tones of #5a5178

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5178 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.

  • #585858 Achromatopsia 0.005% of the population
  • #58575e Atypical Achromatopsia 0.001% of the population
  • #535e81 Protanopia 1% of men
  • #555e7d Deuteranopia 1% of men
  • #5c5f66 Tritanopia 0.001% of the population
  • #55597e Protanomaly 1% of men, 0.01% of women
  • #57597b Deuteranomaly 6% of men, 0.4% of women
  • #5b5a6c Tritanomaly 0.01% of the population