#5a1158 Color Information

In a RGB color space, hex #5a1158 is composed of 35.3% red, 6.7% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 81.1% magenta, 2.2% yellow and 64.7% black. It has a hue angle of 301.6 degrees, a saturation of 68.2% and a lightness of 21%. #5a1158 color hex could be obtained by blending #b422b0 with #000000. Closest websafe color is: #660066.

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

#5a1158 color description : Very dark magenta.

#5a1158 Color Conversion

The hexadecimal color #5a1158 has RGB values of R:90, G:17, B:88 and CMYK values of C:0, M:0.81, Y:0.02, K:0.65. Its decimal value is 5902680.

Hex triplet 5a1158 #5a1158
RGB Decimal 90, 17, 88 rgb(90,17,88)
RGB Percent 35.3, 6.7, 34.5 rgb(35.3%,6.7%,34.5%)
CMYK 0, 81, 2, 65
HSL 301.6°, 68.2, 21 hsl(301.6,68.2%,21%)
HSV (or HSB) 301.6°, 81.1, 35.3
Web Safe 660066 #660066
CIE-LAB 21.13, 40.994, -24.811
XYZ 6.178, 3.28, 9.54
xyY 0.325, 0.173, 3.28
CIE-LCH 21.13, 47.917, 328.816
CIE-LUV 21.13, 26.479, -32.116
Hunter-Lab 18.11, 29.205, -18.556
Binary 01011010, 00010001, 01011000

Color Schemes with #5a1158

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

Alternatives to #5a1158

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

Similar Colors

#5a1158 Preview

Text with hexadecimal color #5a1158

This text has a font color of #5a1158.

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

This paragraph has a background color of #5a1158.

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

This element has a border color of #5a1158.

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

Shades and Tints of #5a1158

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

Shade Color Variation
Tint Color Variation

Tones of #5a1158

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1158 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
  • #003b74 Protanopia 1% of men
  • #2f3d58 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
  • #5b243f Tritanomaly 0.01% of the population