#5a2151 Color Information

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

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

#5a2151 color description : Very dark magenta.

#5a2151 Color Conversion

The hexadecimal color #5a2151 has RGB values of R:90, G:33, B:81 and CMYK values of C:0, M:0.63, Y:0.1, K:0.65. Its decimal value is 5906769.

Hex triplet 5a2151 #5a2151
RGB Decimal 90, 33, 81 rgb(90,33,81)
RGB Percent 35.3, 12.9, 31.8 rgb(35.3%,12.9%,31.8%)
CMYK 0, 63, 10, 65
HSL 309.5°, 46.3, 24.1 hsl(309.5,46.3%,24.1%)
HSV (or HSB) 309.5°, 63.3, 35.3
Web Safe 663366 #663366
CIE-LAB 23.189, 32.846, -16.89
XYZ 6.245, 3.856, 8.199
xyY 0.341, 0.211, 3.856
CIE-LCH 23.189, 36.934, 332.787
CIE-LUV 23.189, 25.281, -23.218
Hunter-Lab 19.636, 22.409, -11.012
Binary 01011010, 00100001, 01010001

Color Schemes with #5a2151

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

Alternatives to #5a2151

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

Similar Colors

#5a2151 Preview

Text with hexadecimal color #5a2151

This text has a font color of #5a2151.

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

This paragraph has a background color of #5a2151.

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

This element has a border color of #5a2151.

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

Shades and Tints of #5a2151

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

Shade Color Variation
Tint Color Variation

Tones of #5a2151

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2151 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.

  • #383838 Achromatopsia 0.005% of the population
  • #3f333d Atypical Achromatopsia 0.001% of the population
  • #2f4068 Protanopia 1% of men
  • #3c4054 Deuteranopia 1% of men
  • #5e3539 Tritanopia 0.001% of the population
  • #3f345f Protanomaly 1% of men, 0.01% of women
  • #473553 Deuteranomaly 6% of men, 0.4% of women
  • #5c2e41 Tritanomaly 0.01% of the population