#5a1a7c Color Information

In a RGB color space, hex #5a1a7c is composed of 35.3% red, 10.2% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 27.4% cyan, 79% magenta, 0% yellow and 51.4% black. It has a hue angle of 279.2 degrees, a saturation of 65.3% and a lightness of 29.4%. #5a1a7c color hex could be obtained by blending #b434f8 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 10
    • B 49
    RGB color chart
    • C 27
    • M 79
    • Y 0
    • K 51
    CMYK color chart

#5a1a7c color description : Dark violet.

#5a1a7c Color Conversion

The hexadecimal color #5a1a7c has RGB values of R:90, G:26, B:124 and CMYK values of C:0.27, M:0.79, Y:0, K:0.51. Its decimal value is 5905020.

Hex triplet 5a1a7c #5a1a7c
RGB Decimal 90, 26, 124 rgb(90,26,124)
RGB Percent 35.3, 10.2, 48.6 rgb(35.3%,10.2%,48.6%)
CMYK 27, 79, 0, 51
HSL 279.2°, 65.3, 29.4 hsl(279.2,65.3%,29.4%)
HSV (or HSB) 279.2°, 79, 48.6
Web Safe 663366 #663366
CIE-LAB 24.852, 45.056, -42.256
XYZ 8.223, 4.368, 19.478
xyY 0.256, 0.136, 4.368
CIE-LCH 24.852, 61.771, 316.837
CIE-LUV 24.852, 16.485, -55.22
Hunter-Lab 20.9, 33.661, -40.626
Binary 01011010, 00011010, 01111100

Color Schemes with #5a1a7c

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

Alternatives to #5a1a7c

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

Similar Colors

#5a1a7c Preview

Text with hexadecimal color #5a1a7c

This text has a font color of #5a1a7c.

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

This paragraph has a background color of #5a1a7c.

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

This element has a border color of #5a1a7c.

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

Shades and Tints of #5a1a7c

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

Shade Color Variation
Tint Color Variation

Tones of #5a1a7c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1a7c 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
  • #383838 Achromatopsia 0.005% of the population
  • #3f3246 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004382 Protanopia 1% of men
  • #004674 Deuteranopia 1% of men
  • #563f43 Tritanopia 0.001% of the population
Trichromacy
  • #203480 Protanomaly 1% of men, 0.01% of women
  • #203677 Deuteranomaly 6% of men, 0.4% of women
  • #573157 Tritanomaly 0.01% of the population