#5a1271 Color Information

In a RGB color space, hex #5a1271 is composed of 35.3% red, 7.1% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 20.4% cyan, 84.1% magenta, 0% yellow and 55.7% black. It has a hue angle of 285.5 degrees, a saturation of 72.5% and a lightness of 25.7%. #5a1271 color hex could be obtained by blending #b424e2 with #000000. Closest websafe color is: #660066.

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

#5a1271 color description : Very dark magenta.

#5a1271 Color Conversion

The hexadecimal color #5a1271 has RGB values of R:90, G:18, B:113 and CMYK values of C:0.2, M:0.84, Y:0, K:0.56. Its decimal value is 5902961.

Hex triplet 5a1271 #5a1271
RGB Decimal 90, 18, 113 rgb(90,18,113)
RGB Percent 35.3, 7.1, 44.3 rgb(35.3%,7.1%,44.3%)
CMYK 20, 84, 0, 56
HSL 285.5°, 72.5, 25.7 hsl(285.5,72.5%,25.7%)
HSV (or HSB) 285.5°, 84.1, 44.3
Web Safe 660066 #660066
CIE-LAB 22.995, 45.545, -38.229
XYZ 7.413, 3.799, 15.965
xyY 0.273, 0.14, 3.799
CIE-LCH 22.995, 59.463, 319.991
CIE-LUV 22.995, 19.798, -48.983
Hunter-Lab 19.491, 33.782, -34.921
Binary 01011010, 00010010, 01110001

Color Schemes with #5a1271

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

Alternatives to #5a1271

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

Similar Colors

#5a1271 Preview

Text with hexadecimal color #5a1271

This text has a font color of #5a1271.

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

This paragraph has a background color of #5a1271.

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

This element has a border color of #5a1271.

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

Shades and Tints of #5a1271

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 #fdfafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1271

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1271 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
  • #3a2c3f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #0a426e Deuteranopia 1% of men
  • #58383c Tritanopia 0.001% of the population
Trichromacy
  • #202e77 Protanomaly 1% of men, 0.01% of women
  • #27306f Deuteranomaly 6% of men, 0.4% of women
  • #582a4f Tritanomaly 0.01% of the population