#5a1171 Color Information

In a RGB color space, hex #5a1171 is composed of 35.3% red, 6.7% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 20.4% cyan, 85% magenta, 0% yellow and 55.7% black. It has a hue angle of 285.6 degrees, a saturation of 73.8% and a lightness of 25.5%. #5a1171 color hex could be obtained by blending #b422e2 with #000000. Closest websafe color is: #660066.

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

#5a1171 color description : Very dark magenta.

#5a1171 Color Conversion

The hexadecimal color #5a1171 has RGB values of R:90, G:17, B:113 and CMYK values of C:0.2, M:0.85, Y:0, K:0.56. Its decimal value is 5902705.

Hex triplet 5a1171 #5a1171
RGB Decimal 90, 17, 113 rgb(90,17,113)
RGB Percent 35.3, 6.7, 44.3 rgb(35.3%,6.7%,44.3%)
CMYK 20, 85, 0, 56
HSL 285.6°, 73.8, 25.5 hsl(285.6,73.8%,25.5%)
HSV (or HSB) 285.6°, 85, 44.3
Web Safe 660066 #660066
CIE-LAB 22.886, 45.862, -38.405
XYZ 7.397, 3.767, 15.959
xyY 0.273, 0.139, 3.767
CIE-LCH 22.886, 59.819, 320.057
CIE-LUV 22.886, 19.892, -49.1
Hunter-Lab 19.409, 34.064, -35.166
Binary 01011010, 00010001, 01110001

Color Schemes with #5a1171

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

Alternatives to #5a1171

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

Similar Colors

#5a1171 Preview

Text with hexadecimal color #5a1171

This text has a font color of #5a1171.

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

This paragraph has a background color of #5a1171.

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

This element has a border color of #5a1171.

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

Shades and Tints of #5a1171

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, #09020b is the darkest color, while #fdf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1171

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1171 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
  • #323232 Achromatopsia 0.005% of the population
  • #3a2b3f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #05426e Deuteranopia 1% of men
  • #58373b Tritanopia 0.001% of the population
Trichromacy
  • #202e77 Protanomaly 1% of men, 0.01% of women
  • #24306f Deuteranomaly 6% of men, 0.4% of women
  • #58294f Tritanomaly 0.01% of the population