#5a0172 Color Information

In a RGB color space, hex #5a0172 is composed of 35.3% red, 0.4% green and 44.7% blue. Whereas in a CMYK color space, it is composed of 21.1% cyan, 99.1% magenta, 0% yellow and 55.3% black. It has a hue angle of 287.3 degrees, a saturation of 98.3% and a lightness of 22.5%. #5a0172 color hex could be obtained by blending #b402e4 with #000000. Closest websafe color is: #660066.

    • R 35
    • G 0
    • B 45
    RGB color chart
    • C 21
    • M 99
    • Y 0
    • K 55
    CMYK color chart

#5a0172 color description : Very dark magenta.

#5a0172 Color Conversion

The hexadecimal color #5a0172 has RGB values of R:90, G:1, B:114 and CMYK values of C:0.21, M:0.99, Y:0, K:0.55. Its decimal value is 5898610.

Hex triplet 5a0172 #5a0172
RGB Decimal 90, 1, 114 rgb(90,1,114)
RGB Percent 35.3, 0.4, 44.7 rgb(35.3%,0.4%,44.7%)
CMYK 21, 99, 0, 55
HSL 287.3°, 98.3, 22.5 hsl(287.3,98.3%,22.5%)
HSV (or HSB) 287.3°, 99.1, 44.7
Web Safe 660066 #660066
CIE-LAB 21.619, 50.039, -41.106
XYZ 7.264, 3.411, 16.194
xyY 0.27, 0.127, 3.411
CIE-LCH 21.619, 64.758, 320.598
CIE-LUV 21.619, 20.714, -51.003
Hunter-Lab 18.468, 37.893, -39.064
Binary 01011010, 00000001, 01110010

Color Schemes with #5a0172

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

Alternatives to #5a0172

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

Similar Colors

#5a0172 Preview

Text with hexadecimal color #5a0172

This text has a font color of #5a0172.

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

This paragraph has a background color of #5a0172.

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

This element has a border color of #5a0172.

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

Shades and Tints of #5a0172

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

Shade Color Variation
Tint Color Variation

Tones of #5a0172

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a0172 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
  • #282828 Achromatopsia 0.005% of the population
  • #322037 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003c75 Protanopia 1% of men
  • #003f69 Deuteranopia 1% of men
  • #573437 Tritanopia 0.001% of the population
Trichromacy
  • #202674 Protanomaly 1% of men, 0.01% of women
  • #20286c Deuteranomaly 6% of men, 0.4% of women
  • #58214c Tritanomaly 0.01% of the population