#5a1b58 Color Information

In a RGB color space, hex #5a1b58 is composed of 35.3% red, 10.6% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 70% magenta, 2.2% yellow and 64.7% black. It has a hue angle of 301.9 degrees, a saturation of 53.8% and a lightness of 22.9%. #5a1b58 color hex could be obtained by blending #b436b0 with #000000. Closest websafe color is: #663366.

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

#5a1b58 color description : Very dark magenta.

#5a1b58 Color Conversion

The hexadecimal color #5a1b58 has RGB values of R:90, G:27, B:88 and CMYK values of C:0, M:0.7, Y:0.02, K:0.65. Its decimal value is 5905240.

Hex triplet 5a1b58 #5a1b58
RGB Decimal 90, 27, 88 rgb(90,27,88)
RGB Percent 35.3, 10.6, 34.5 rgb(35.3%,10.6%,34.5%)
CMYK 0, 70, 2, 65
HSL 301.9°, 53.8, 22.9 hsl(301.9,53.8%,22.9%)
HSV (or HSB) 301.9°, 70, 35.3
Web Safe 663366 #663366
CIE-LAB 22.523, 37.048, -22.608
XYZ 6.37, 3.662, 9.603
xyY 0.324, 0.187, 3.662
CIE-LCH 22.523, 43.401, 328.607
CIE-LUV 22.523, 24.855, -30.03
Hunter-Lab 19.138, 25.92, -16.356
Binary 01011010, 00011011, 01011000

Color Schemes with #5a1b58

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

Alternatives to #5a1b58

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

Similar Colors

#5a1b58 Preview

Text with hexadecimal color #5a1b58

This text has a font color of #5a1b58.

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

This paragraph has a background color of #5a1b58.

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

This element has a border color of #5a1b58.

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

Shades and Tints of #5a1b58

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, #0f040e is the darkest color, while #fffeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1b58

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1b58 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
  • #353535 Achromatopsia 0.005% of the population
  • #3c303c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #203e72 Protanopia 1% of men
  • #353f5a Deuteranopia 1% of men
  • #5d3337 Tritanopia 0.001% of the population
Trichromacy
  • #353169 Protanomaly 1% of men, 0.01% of women
  • #423259 Deuteranomaly 6% of men, 0.4% of women
  • #5c2a43 Tritanomaly 0.01% of the population