#5a1580 Color Information

In a RGB color space, hex #5a1580 is composed of 35.3% red, 8.2% green and 50.2% blue. Whereas in a CMYK color space, it is composed of 29.7% cyan, 83.6% magenta, 0% yellow and 49.8% black. It has a hue angle of 278.7 degrees, a saturation of 71.8% and a lightness of 29.2%. #5a1580 color hex could be obtained by blending #b42aff with #000001. Closest websafe color is: #660099.

    • R 35
    • G 8
    • B 50
    RGB color chart
    • C 30
    • M 84
    • Y 0
    • K 50
    CMYK color chart

#5a1580 color description : Dark violet.

#5a1580 Color Conversion

The hexadecimal color #5a1580 has RGB values of R:90, G:21, B:128 and CMYK values of C:0.3, M:0.84, Y:0, K:0.5. Its decimal value is 5903744.

Hex triplet 5a1580 #5a1580
RGB Decimal 90, 21, 128 rgb(90,21,128)
RGB Percent 35.3, 8.2, 50.2 rgb(35.3%,8.2%,50.2%)
CMYK 30, 84, 0, 50
HSL 278.7°, 71.8, 29.2 hsl(278.7,71.8%,29.2%)
HSV (or HSB) 278.7°, 83.6, 50.2
Web Safe 660099 #660099
CIE-LAB 24.541, 47.797, -45.294
XYZ 8.38, 4.269, 20.803
xyY 0.251, 0.128, 4.269
CIE-LCH 24.541, 65.849, 316.54
CIE-LUV 24.541, 16.205, -58.503
Hunter-Lab 20.661, 36.245, -45.236
Binary 01011010, 00010101, 10000000

Color Schemes with #5a1580

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

Alternatives to #5a1580

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

Similar Colors

#5a1580 Preview

Text with hexadecimal color #5a1580

This text has a font color of #5a1580.

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

This paragraph has a background color of #5a1580.

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

This element has a border color of #5a1580.

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

Shades and Tints of #5a1580

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, #07020a is the darkest color, while #fcf8fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1580

A tone is produced by adding gray to any pure hue. In this case, #4b494c is the less saturated color, while #5f0491 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1580 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
  • #363636 Achromatopsia 0.005% of the population
  • #3d2f45 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #004572 Deuteranopia 1% of men
  • #543e42 Tritanopia 0.001% of the population
Trichromacy
  • #203181 Protanomaly 1% of men, 0.01% of women
  • #203477 Deuteranomaly 6% of men, 0.4% of women
  • #562f59 Tritanomaly 0.01% of the population