#5a1252 Color Information

In a RGB color space, hex #5a1252 is composed of 35.3% red, 7.1% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 80% magenta, 8.9% yellow and 64.7% black. It has a hue angle of 306.7 degrees, a saturation of 66.7% and a lightness of 21.2%. #5a1252 color hex could be obtained by blending #b424a4 with #000000. Closest websafe color is: #660066.

    • R 35
    • G 7
    • B 32
    RGB color chart
    • C 0
    • M 80
    • Y 9
    • K 65
    CMYK color chart

#5a1252 color description : Very dark magenta.

#5a1252 Color Conversion

The hexadecimal color #5a1252 has RGB values of R:90, G:18, B:82 and CMYK values of C:0, M:0.8, Y:0.09, K:0.65. Its decimal value is 5902930.

Hex triplet 5a1252 #5a1252
RGB Decimal 90, 18, 82 rgb(90,18,82)
RGB Percent 35.3, 7.1, 32.2 rgb(35.3%,7.1%,32.2%)
CMYK 0, 80, 9, 65
HSL 306.7°, 66.7, 21.2 hsl(306.7,66.7%,21.2%)
HSV (or HSB) 306.7°, 80, 35.3
Web Safe 660066 #660066
CIE-LAB 20.889, 39.592, -21.164
XYZ 5.956, 3.216, 8.289
xyY 0.341, 0.184, 3.216
CIE-LCH 20.889, 44.894, 331.874
CIE-LUV 20.889, 28.099, -27.768
Hunter-Lab 17.933, 27.899, -14.853
Binary 01011010, 00010010, 01010010

Color Schemes with #5a1252

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

Alternatives to #5a1252

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

Similar Colors

#5a1252 Preview

Text with hexadecimal color #5a1252

This text has a font color of #5a1252.

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

This paragraph has a background color of #5a1252.

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

This element has a border color of #5a1252.

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

Shades and Tints of #5a1252

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, #080208 is the darkest color, while #fdf7fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1252

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1252 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
  • #2f2f2f Achromatopsia 0.005% of the population
  • #382936 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #173b70 Protanopia 1% of men
  • #333c53 Deuteranopia 1% of men
  • #5d2d30 Tritanopia 0.001% of the population
Trichromacy
  • #2f2c65 Protanomaly 1% of men, 0.01% of women
  • #412c53 Deuteranomaly 6% of men, 0.4% of women
  • #5c233c Tritanomaly 0.01% of the population