#5a0271 Color Information

In a RGB color space, hex #5a0271 is composed of 35.3% red, 0.8% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 20.4% cyan, 98.2% magenta, 0% yellow and 55.7% black. It has a hue angle of 287.6 degrees, a saturation of 96.5% and a lightness of 22.5%. #5a0271 color hex could be obtained by blending #b404e2 with #000000. Closest websafe color is: #660066.

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

#5a0271 color description : Very dark magenta.

#5a0271 Color Conversion

The hexadecimal color #5a0271 has RGB values of R:90, G:2, B:113 and CMYK values of C:0.2, M:0.98, Y:0, K:0.56. Its decimal value is 5898865.

Hex triplet 5a0271 #5a0271
RGB Decimal 90, 2, 113 rgb(90,2,113)
RGB Percent 35.3, 0.8, 44.3 rgb(35.3%,0.8%,44.3%)
CMYK 20, 98, 0, 56
HSL 287.6°, 96.5, 22.5 hsl(287.6,96.5%,22.5%)
HSV (or HSB) 287.6°, 98.2, 44.3
Web Safe 660066 #660066
CIE-LAB 21.615, 49.607, -40.466
XYZ 7.218, 3.41, 15.9
xyY 0.272, 0.129, 3.41
CIE-LCH 21.615, 64.018, 320.795
CIE-LUV 21.615, 20.904, -50.3
Hunter-Lab 18.465, 37.465, -38.127
Binary 01011010, 00000010, 01110001

Color Schemes with #5a0271

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

Alternatives to #5a0271

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

Similar Colors

#5a0271 Preview

Text with hexadecimal color #5a0271

This text has a font color of #5a0271.

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

This paragraph has a background color of #5a0271.

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

This element has a border color of #5a0271.

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

Shades and Tints of #5a0271

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 #5a0271

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

Tone Color Variation

Color Blindness Simulator

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

  • #292929 Achromatopsia 0.005% of the population
  • #332137 Atypical Achromatopsia 0.001% of the population
  • #003c75 Protanopia 1% of men
  • #003f69 Deuteranopia 1% of men
  • #573337 Tritanopia 0.001% of the population
  • #202774 Protanomaly 1% of men, 0.01% of women
  • #20296c Deuteranomaly 6% of men, 0.4% of women
  • #58214c Tritanomaly 0.01% of the population