#5a1f78 Color Information

In a RGB color space, hex #5a1f78 is composed of 35.3% red, 12.2% green and 47.1% blue. Whereas in a CMYK color space, it is composed of 25% cyan, 74.2% magenta, 0% yellow and 52.9% black. It has a hue angle of 279.8 degrees, a saturation of 58.9% and a lightness of 29.6%. #5a1f78 color hex could be obtained by blending #b43ef0 with #000000. Closest websafe color is: #663366.

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

#5a1f78 color description : Dark violet.

#5a1f78 Color Conversion

The hexadecimal color #5a1f78 has RGB values of R:90, G:31, B:120 and CMYK values of C:0.25, M:0.74, Y:0, K:0.53. Its decimal value is 5906296.

Hex triplet 5a1f78 #5a1f78
RGB Decimal 90, 31, 120 rgb(90,31,120)
RGB Percent 35.3, 12.2, 47.1 rgb(35.3%,12.2%,47.1%)
CMYK 25, 74, 0, 53
HSL 279.8°, 58.9, 29.6 hsl(279.8,58.9%,29.6%)
HSV (or HSB) 279.8°, 74.2, 47.1
Web Safe 663366 #663366
CIE-LAB 25.29, 42.021, -39.006
XYZ 8.096, 4.51, 18.212
xyY 0.263, 0.146, 4.51
CIE-LCH 25.29, 57.334, 317.132
CIE-LUV 25.29, 16.617, -51.626
Hunter-Lab 21.237, 30.886, -35.981
Binary 01011010, 00011111, 01111000

Color Schemes with #5a1f78

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

Alternatives to #5a1f78

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

Similar Colors

#5a1f78 Preview

Text with hexadecimal color #5a1f78

This text has a font color of #5a1f78.

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

This paragraph has a background color of #5a1f78.

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

This element has a border color of #5a1f78.

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

Shades and Tints of #5a1f78

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, #08030b is the darkest color, while #fdfafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1f78

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f78 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #413547 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004484 Protanopia 1% of men
  • #104776 Deuteranopia 1% of men
  • #573f44 Tritanopia 0.001% of the population
Trichromacy
  • #203680 Protanomaly 1% of men, 0.01% of women
  • #2b3876 Deuteranomaly 6% of men, 0.4% of women
  • #583357 Tritanomaly 0.01% of the population