#5a5162 Color Information

In a RGB color space, hex #5a5162 is composed of 35.3% red, 31.8% green and 38.4% blue. Whereas in a CMYK color space, it is composed of 8.2% cyan, 17.3% magenta, 0% yellow and 61.6% black. It has a hue angle of 271.8 degrees, a saturation of 9.5% and a lightness of 35.1%. #5a5162 color hex could be obtained by blending #b4a2c4 with #000000. Closest websafe color is: #666666.

    • R 35
    • G 32
    • B 38
    RGB color chart
    • C 8
    • M 17
    • Y 0
    • K 62
    CMYK color chart

#5a5162 color description : Very dark grayish violet.

#5a5162 Color Conversion

The hexadecimal color #5a5162 has RGB values of R:90, G:81, B:98 and CMYK values of C:0.08, M:0.17, Y:0, K:0.62. Its decimal value is 5919074.

Hex triplet 5a5162 #5a5162
RGB Decimal 90, 81, 98 rgb(90,81,98)
RGB Percent 35.3, 31.8, 38.4 rgb(35.3%,31.8%,38.4%)
CMYK 8, 17, 0, 62
HSL 271.8°, 9.5, 35.1 hsl(271.8,9.5%,35.1%)
HSV (or HSB) 271.8°, 17.3, 38.4
Web Safe 666666 #666666
CIE-LAB 35.869, 7.347, -8.512
XYZ 9.363, 8.94, 12.787
xyY 0.301, 0.288, 8.94
CIE-LCH 35.869, 11.244, 310.799
CIE-LUV 35.869, 3.793, -12.038
Hunter-Lab 29.901, 3.57, -4.425
Binary 01011010, 01010001, 01100010

Color Schemes with #5a5162

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

Alternatives to #5a5162

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

Similar Colors

#5a5162 Preview

Text with hexadecimal color #5a5162

This text has a font color of #5a5162.

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

This paragraph has a background color of #5a5162.

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

This element has a border color of #5a5162.

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

Shades and Tints of #5a5162

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

Shade Color Variation
Tint Color Variation

Tones of #5a5162

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a5162 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
  • #565656 Achromatopsia 0.005% of the population
  • #575558 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #5a5c6b Protanopia 1% of men
  • #5f5b69 Deuteranopia 1% of men
  • #615b62 Tritanopia 0.001% of the population
Trichromacy
  • #5a5868 Protanomaly 1% of men, 0.01% of women
  • #5d5766 Deuteranomaly 6% of men, 0.4% of women
  • #5e5762 Tritanomaly 0.01% of the population