#5a1978 Color Information

In a RGB color space, hex #5a1978 is composed of 35.3% red, 9.8% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 25% cyan, 79.2% magenta, 0% yellow and 52.9% black. It has a hue angle of 281.1 degrees, a saturation of 65.5% and a lightness of 28.4%. #5a1978 color hex could be obtained by blending #b432f0 with #000000. Closest websafe color is: #660066.

    • R 35
    • G 10
    • B 47
    RGB color chart
    • C 25
    • M 79
    • Y 0
    • K 53
    CMYK color chart

#5a1978 color description : Dark violet.

#5a1978 Color Conversion

The hexadecimal color #5a1978 has RGB values of R:90, G:25, B:120 and CMYK values of C:0.25, M:0.79, Y:0, K:0.53. Its decimal value is 5904760.

Hex triplet 5a1978 #5a1978
RGB Decimal 90, 25, 120 rgb(90,25,120)
RGB Percent 35.3, 9.8, 47.1 rgb(35.3%,9.8%,47.1%)
CMYK 25, 79, 0, 53
HSL 281.1°, 65.5, 28.4 hsl(281.1,65.5%,28.4%)
HSV (or HSB) 281.1°, 79.2, 47.1
Web Safe 660066 #660066
CIE-LAB 24.403, 44.551, -40.44
XYZ 7.954, 4.225, 18.165
xyY 0.262, 0.139, 4.225
CIE-LCH 24.403, 60.168, 317.769
CIE-LUV 24.403, 17.451, -52.698
Hunter-Lab 20.555, 33.098, -38.006
Binary 01011010, 00011001, 01111000

Color Schemes with #5a1978

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

Alternatives to #5a1978

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

Similar Colors

#5a1978 Preview

Text with hexadecimal color #5a1978

This text has a font color of #5a1978.

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

This paragraph has a background color of #5a1978.

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

This element has a border color of #5a1978.

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

Shades and Tints of #5a1978

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

Shade Color Variation
Tint Color Variation

Tones of #5a1978

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1978 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
  • #373737 Achromatopsia 0.005% of the population
  • #3e3144 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #004573 Deuteranopia 1% of men
  • #573d41 Tritanopia 0.001% of the population
Trichromacy
  • #20337d Protanomaly 1% of men, 0.01% of women
  • #203575 Deuteranomaly 6% of men, 0.4% of women
  • #583055 Tritanomaly 0.01% of the population