#5a175a Color Information

In a RGB color space, hex #5a175a is composed of 35.3% red, 9% green and 35.3% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 74.4% magenta, 0% yellow and 64.7% black. It has a hue angle of 300 degrees, a saturation of 59.3% and a lightness of 22.2%. #5a175a color hex could be obtained by blending #b42eb4 with #000000. Closest websafe color is: #660066.

    • R 35
    • G 9
    • B 35
    RGB color chart
    • C 0
    • M 74
    • Y 0
    • K 65
    CMYK color chart

#5a175a color description : Very dark magenta.

#5a175a Color Conversion

The hexadecimal color #5a175a has RGB values of R:90, G:23, B:90 and CMYK values of C:0, M:0.74, Y:0, K:0.65. Its decimal value is 5904218.

Hex triplet 5a175a #5a175a
RGB Decimal 90, 23, 90 rgb(90,23,90)
RGB Percent 35.3, 9, 35.3 rgb(35.3%,9%,35.3%)
CMYK 0, 74, 0, 65
HSL 300°, 59.3, 22.2 hsl(300,59.3%,22.2%)
HSV (or HSB) 300°, 74.4, 35.3
Web Safe 660066 #660066
CIE-LAB 22.035, 39.135, -24.71
XYZ 6.368, 3.525, 10.017
xyY 0.32, 0.177, 3.525
CIE-LCH 22.035, 46.284, 327.731
CIE-LUV 22.035, 25.042, -32.384
Hunter-Lab 18.775, 27.688, -18.491
Binary 01011010, 00010111, 01011010

Color Schemes with #5a175a

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

Alternatives to #5a175a

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

Similar Colors

#5a175a Preview

Text with hexadecimal color #5a175a

This text has a font color of #5a175a.

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

This paragraph has a background color of #5a175a.

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

This element has a border color of #5a175a.

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

Shades and Tints of #5a175a

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, #0c030c is the darkest color, while #fefbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a175a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a175a 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
  • #333333 Achromatopsia 0.005% of the population
  • #3b2d3b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #103d76 Protanopia 1% of men
  • #313f5b Deuteranopia 1% of men
  • #5c3235 Tritanopia 0.001% of the population
Trichromacy
  • #2b2f6c Protanomaly 1% of men, 0.01% of women
  • #40305a Deuteranomaly 6% of men, 0.4% of women
  • #5b2842 Tritanomaly 0.01% of the population