#5a1878 Color Information

In a RGB color space, hex #5a1878 is composed of 35.3% red, 9.4% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 25% cyan, 80% magenta, 0% yellow and 52.9% black. It has a hue angle of 281.3 degrees, a saturation of 66.7% and a lightness of 28.2%. #5a1878 color hex could be obtained by blending #b430f0 with #000000. Closest websafe color is: #660066.

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

#5a1878 color description : Dark violet.

#5a1878 Color Conversion

The hexadecimal color #5a1878 has RGB values of R:90, G:24, B:120 and CMYK values of C:0.25, M:0.8, Y:0, K:0.53. Its decimal value is 5904504.

Hex triplet 5a1878 #5a1878
RGB Decimal 90, 24, 120 rgb(90,24,120)
RGB Percent 35.3, 9.4, 47.1 rgb(35.3%,9.4%,47.1%)
CMYK 25, 80, 0, 53
HSL 281.3°, 66.7, 28.2 hsl(281.3,66.7%,28.2%)
HSV (or HSB) 281.3°, 80, 47.1
Web Safe 660066 #660066
CIE-LAB 24.268, 44.937, -40.658
XYZ 7.933, 4.183, 18.158
xyY 0.262, 0.138, 4.183
CIE-LCH 24.268, 60.6, 317.862
CIE-LUV 24.268, 17.571, -52.849
Hunter-Lab 20.453, 33.439, -38.32
Binary 01011010, 00011000, 01111000

Color Schemes with #5a1878

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

Alternatives to #5a1878

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

Similar Colors

#5a1878 Preview

Text with hexadecimal color #5a1878

This text has a font color of #5a1878.

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

This paragraph has a background color of #5a1878.

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

This element has a border color of #5a1878.

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

Shades and Tints of #5a1878

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

Shade Color Variation
Tint Color Variation

Tones of #5a1878

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1878 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
  • #004180 Protanopia 1% of men
  • #004572 Deuteranopia 1% of men
  • #573c41 Tritanopia 0.001% of the population
Trichromacy
  • #20327d Protanomaly 1% of men, 0.01% of women
  • #203474 Deuteranomaly 6% of men, 0.4% of women
  • #582f55 Tritanomaly 0.01% of the population