#5a1b54 Color Information

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

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

#5a1b54 color description : Very dark magenta.

#5a1b54 Color Conversion

The hexadecimal color #5a1b54 has RGB values of R:90, G:27, B:84 and CMYK values of C:0, M:0.7, Y:0.07, K:0.65. Its decimal value is 5905236.

Hex triplet 5a1b54 #5a1b54
RGB Decimal 90, 27, 84 rgb(90,27,84)
RGB Percent 35.3, 10.6, 32.9 rgb(35.3%,10.6%,32.9%)
CMYK 0, 70, 7, 65
HSL 305.7°, 53.8, 22.9 hsl(305.7,53.8%,22.9%)
HSV (or HSB) 305.7°, 70, 35.3
Web Safe 663366 #663366
CIE-LAB 22.295, 36.3, -20.295
XYZ 6.209, 3.598, 8.755
xyY 0.334, 0.194, 3.598
CIE-LCH 22.295, 41.588, 330.79
CIE-LUV 22.295, 25.926, -27.166
Hunter-Lab 18.968, 25.23, -14.086
Binary 01011010, 00011011, 01010100

Color Schemes with #5a1b54

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

Alternatives to #5a1b54

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

Similar Colors

#5a1b54 Preview

Text with hexadecimal color #5a1b54

This text has a font color of #5a1b54.

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

This paragraph has a background color of #5a1b54.

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

This element has a border color of #5a1b54.

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

Shades and Tints of #5a1b54

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

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1b54 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
  • #343434 Achromatopsia 0.005% of the population
  • #3c2f3a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #253e6e Protanopia 1% of men
  • #373f56 Deuteranopia 1% of men
  • #5d3236 Tritanopia 0.001% of the population
Trichromacy
  • #383164 Protanomaly 1% of men, 0.01% of women
  • #443255 Deuteranomaly 6% of men, 0.4% of women
  • #5c2a40 Tritanomaly 0.01% of the population