#5a2157 Color Information

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

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

#5a2157 color description : Very dark magenta.

#5a2157 Color Conversion

The hexadecimal color #5a2157 has RGB values of R:90, G:33, B:87 and CMYK values of C:0, M:0.63, Y:0.03, K:0.65. Its decimal value is 5906775.

Hex triplet 5a2157 #5a2157
RGB Decimal 90, 33, 87 rgb(90,33,87)
RGB Percent 35.3, 12.9, 34.1 rgb(35.3%,12.9%,34.1%)
CMYK 0, 63, 3, 65
HSL 303.2°, 46.3, 24.1 hsl(303.2,46.3%,24.1%)
HSV (or HSB) 303.2°, 63.3, 35.3
Web Safe 663366 #663366
CIE-LAB 23.505, 33.984, -20.398
XYZ 6.48, 3.95, 9.437
xyY 0.326, 0.199, 3.95
CIE-LCH 23.505, 39.636, 329.027
CIE-LUV 23.505, 23.775, -27.599
Hunter-Lab 19.874, 23.424, -14.242
Binary 01011010, 00100001, 01010111

Color Schemes with #5a2157

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

Alternatives to #5a2157

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

Similar Colors

#5a2157 Preview

Text with hexadecimal color #5a2157

This text has a font color of #5a2157.

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

This paragraph has a background color of #5a2157.

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

This element has a border color of #5a2157.

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

Shades and Tints of #5a2157

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 #fbf5fb is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a2157

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2157 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
  • #3f333e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2b406e Protanopia 1% of men
  • #394159 Deuteranopia 1% of men
  • #5d373a Tritanopia 0.001% of the population
Trichromacy
  • #3c3566 Protanomaly 1% of men, 0.01% of women
  • #453558 Deuteranomaly 6% of men, 0.4% of women
  • #5c2f45 Tritanomaly 0.01% of the population