#5a1258 Color Information

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

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

#5a1258 color description : Very dark magenta.

#5a1258 Color Conversion

The hexadecimal color #5a1258 has RGB values of R:90, G:18, B:88 and CMYK values of C:0, M:0.8, Y:0.02, K:0.65. Its decimal value is 5902936.

Hex triplet 5a1258 #5a1258
RGB Decimal 90, 18, 88 rgb(90,18,88)
RGB Percent 35.3, 7.1, 34.5 rgb(35.3%,7.1%,34.5%)
CMYK 0, 80, 2, 65
HSL 301.7°, 66.7, 21.2 hsl(301.7,66.7%,21.2%)
HSV (or HSB) 301.7°, 80, 35.3
Web Safe 660066 #660066
CIE-LAB 21.25, 40.651, -24.622
XYZ 6.194, 3.311, 9.545
xyY 0.325, 0.174, 3.311
CIE-LCH 21.25, 47.526, 328.798
CIE-LUV 21.25, 26.348, -31.947
Hunter-Lab 18.197, 28.916, -18.362
Binary 01011010, 00010010, 01011000

Color Schemes with #5a1258

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

Alternatives to #5a1258

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

Similar Colors

#5a1258 Preview

Text with hexadecimal color #5a1258

This text has a font color of #5a1258.

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

This paragraph has a background color of #5a1258.

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

This element has a border color of #5a1258.

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

Shades and Tints of #5a1258

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

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1258 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
  • #303030 Achromatopsia 0.005% of the population
  • #382a38 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003b75 Protanopia 1% of men
  • #303d59 Deuteranopia 1% of men
  • #5c2f32 Tritanopia 0.001% of the population
Trichromacy
  • #202c6a Protanomaly 1% of men, 0.01% of women
  • #3f2d58 Deuteranomaly 6% of men, 0.4% of women
  • #5b2440 Tritanomaly 0.01% of the population