#5a1257 Color Information

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

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

#5a1257 color description : Very dark magenta.

#5a1257 Color Conversion

The hexadecimal color #5a1257 has RGB values of R:90, G:18, B:87 and CMYK values of C:0, M:0.8, Y:0.03, K:0.65. Its decimal value is 5902935.

Hex triplet 5a1257 #5a1257
RGB Decimal 90, 18, 87 rgb(90,18,87)
RGB Percent 35.3, 7.1, 34.1 rgb(35.3%,7.1%,34.1%)
CMYK 0, 80, 3, 65
HSL 302.5°, 66.7, 21.2 hsl(302.5,66.7%,21.2%)
HSV (or HSB) 302.5°, 80, 35.3
Web Safe 660066 #660066
CIE-LAB 21.188, 40.471, -24.051
XYZ 6.153, 3.295, 9.328
xyY 0.328, 0.175, 3.295
CIE-LCH 21.188, 47.078, 329.278
CIE-LUV 21.188, 26.636, -31.252
Hunter-Lab 18.152, 28.742, -17.763
Binary 01011010, 00010010, 01010111

Color Schemes with #5a1257

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

Alternatives to #5a1257

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

Similar Colors

#5a1257 Preview

Text with hexadecimal color #5a1257

This text has a font color of #5a1257.

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

This paragraph has a background color of #5a1257.

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

This element has a border color of #5a1257.

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

Shades and Tints of #5a1257

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 #5a1257

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1257 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
  • #382937 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b75 Protanopia 1% of men
  • #303d58 Deuteranopia 1% of men
  • #5d2f32 Tritanopia 0.001% of the population
Trichromacy
  • #202c6a Protanomaly 1% of men, 0.01% of women
  • #3f2d57 Deuteranomaly 6% of men, 0.4% of women
  • #5b243f Tritanomaly 0.01% of the population