#5a2152 Color Information

In a RGB color space, hex #5a2152 is composed of 35.3% red, 12.9% green and 32.2% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 63.3% magenta, 8.9% yellow and 64.7% black. It has a hue angle of 308.4 degrees, a saturation of 46.3% and a lightness of 24.1%. #5a2152 color hex could be obtained by blending #b442a4 with #000000. Closest websafe color is: #663366.

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

#5a2152 color description : Very dark magenta.

#5a2152 Color Conversion

The hexadecimal color #5a2152 has RGB values of R:90, G:33, B:82 and CMYK values of C:0, M:0.63, Y:0.09, K:0.65. Its decimal value is 5906770.

Hex triplet 5a2152 #5a2152
RGB Decimal 90, 33, 82 rgb(90,33,82)
RGB Percent 35.3, 12.9, 32.2 rgb(35.3%,12.9%,32.2%)
CMYK 0, 63, 9, 65
HSL 308.4°, 46.3, 24.1 hsl(308.4,46.3%,24.1%)
HSV (or HSB) 308.4°, 63.3, 35.3
Web Safe 663366 #663366
CIE-LAB 23.24, 33.032, -17.48
XYZ 6.283, 3.871, 8.398
xyY 0.339, 0.209, 3.871
CIE-LCH 23.24, 37.372, 332.113
CIE-LUV 23.24, 25.028, -23.947
Hunter-Lab 19.675, 22.574, -11.536
Binary 01011010, 00100001, 01010010

Color Schemes with #5a2152

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

Alternatives to #5a2152

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

Similar Colors

#5a2152 Preview

Text with hexadecimal color #5a2152

This text has a font color of #5a2152.

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

This paragraph has a background color of #5a2152.

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

This element has a border color of #5a2152.

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

Shades and Tints of #5a2152

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

Shade Color Variation
Tint Color Variation

Tones of #5a2152

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2152 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
  • #383838 Achromatopsia 0.005% of the population
  • #3f333d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2f4069 Protanopia 1% of men
  • #3c4055 Deuteranopia 1% of men
  • #5e3539 Tritanopia 0.001% of the population
Trichromacy
  • #3e3560 Protanomaly 1% of men, 0.01% of women
  • #473554 Deuteranomaly 6% of men, 0.4% of women
  • #5c2e42 Tritanomaly 0.01% of the population