#5a0c52 Color Information

In a RGB color space, hex #5a0c52 is composed of 35.3% red, 4.7% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 86.7% magenta, 8.9% yellow and 64.7% black. It has a hue angle of 306.2 degrees, a saturation of 76.5% and a lightness of 20%. #5a0c52 color hex could be obtained by blending #b418a4 with #000000. Closest websafe color is: #660066.

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

#5a0c52 color description : Very dark magenta.

#5a0c52 Color Conversion

The hexadecimal color #5a0c52 has RGB values of R:90, G:12, B:82 and CMYK values of C:0, M:0.87, Y:0.09, K:0.65. Its decimal value is 5901394.

Hex triplet 5a0c52 #5a0c52
RGB Decimal 90, 12, 82 rgb(90,12,82)
RGB Percent 35.3, 4.7, 32.2 rgb(35.3%,4.7%,32.2%)
CMYK 0, 87, 9, 65
HSL 306.2°, 76.5, 20 hsl(306.2,76.5%,20%)
HSV (or HSB) 306.2°, 86.7, 35.3
Web Safe 660066 #660066
CIE-LAB 20.228, 41.492, -22.206
XYZ 5.871, 3.046, 8.261
xyY 0.342, 0.177, 3.046
CIE-LCH 20.228, 47.06, 331.845
CIE-LUV 20.228, 28.86, -28.726
Hunter-Lab 17.453, 29.499, -15.845
Binary 01011010, 00001100, 01010010

Color Schemes with #5a0c52

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

Alternatives to #5a0c52

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

Similar Colors

#5a0c52 Preview

Text with hexadecimal color #5a0c52

This text has a font color of #5a0c52.

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

This paragraph has a background color of #5a0c52.

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

This element has a border color of #5a0c52.

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

Shades and Tints of #5a0c52

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

Shade Color Variation
Tint Color Variation

Tones of #5a0c52

A tone is produced by adding gray to any pure hue. In this case, #372f36 is the less saturated color, while #66005b is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a0c52 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
  • #2b2b2b Achromatopsia 0.005% of the population
  • #342533 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003971 Protanopia 1% of men
  • #313b53 Deuteranopia 1% of men
  • #5d2b2d Tritanopia 0.001% of the population
Trichromacy
  • #202965 Protanomaly 1% of men, 0.01% of women
  • #402952 Deuteranomaly 6% of men, 0.4% of women
  • #5c1f3a Tritanomaly 0.01% of the population