#5a1270 Color Information

In a RGB color space, hex #5a1270 is composed of 35.3% red, 7.1% green and 43.9% blue. Whereas in a CMYK color space, it is composed of 19.6% cyan, 83.9% magenta, 0% yellow and 56.1% black. It has a hue angle of 286 degrees, a saturation of 72.3% and a lightness of 25.5%. #5a1270 color hex could be obtained by blending #b424e0 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

#5a1270 color description : Very dark magenta.

#5a1270 Color Conversion

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

Hex triplet 5a1270 #5a1270
RGB Decimal 90, 18, 112 rgb(90,18,112)
RGB Percent 35.3, 7.1, 43.9 rgb(35.3%,7.1%,43.9%)
CMYK 20, 84, 0, 56
HSL 286°, 72.3, 25.5 hsl(286,72.3%,25.5%)
HSV (or HSB) 286°, 83.9, 43.9
Web Safe 660066 #660066
CIE-LAB 22.918, 45.337, -37.708
XYZ 7.357, 3.776, 15.67
xyY 0.274, 0.141, 3.776
CIE-LCH 22.918, 58.969, 320.248
CIE-LUV 22.918, 20.036, -48.317
Hunter-Lab 19.433, 33.569, -34.205
Binary 01011010, 00010010, 01110000

Color Schemes with #5a1270

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

Alternatives to #5a1270

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

Similar Colors

#5a1270 Preview

Text with hexadecimal color #5a1270

This text has a font color of #5a1270.

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

This paragraph has a background color of #5a1270.

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

This element has a border color of #5a1270.

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

Shades and Tints of #5a1270

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

A tone is produced by adding gray to any pure hue. In this case, #423f43 is the less saturated color, while #62037f is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1270 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
  • #3a2c3e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003f7b Protanopia 1% of men
  • #0f426d Deuteranopia 1% of men
  • #58373b Tritanopia 0.001% of the population
Trichromacy
  • #202e77 Protanomaly 1% of men, 0.01% of women
  • #2a306e Deuteranomaly 6% of men, 0.4% of women
  • #592a4e Tritanomaly 0.01% of the population