#5a1d9c Color Information

In a RGB color space, hex #5a1d9c is composed of 35.3% red, 11.4% green and 61.2% blue. Whereas in a CMYK color space, it is composed of 42.3% cyan, 81.4% magenta, 0% yellow and 38.8% black. It has a hue angle of 268.8 degrees, a saturation of 68.6% and a lightness of 36.3%. #5a1d9c color hex could be obtained by blending #b43aff with #000039. Closest websafe color is: #663399.

    • R 35
    • G 11
    • B 61
    RGB color chart
    • C 42
    • M 81
    • Y 0
    • K 39
    CMYK color chart

#5a1d9c color description : Dark violet.

#5a1d9c Color Conversion

The hexadecimal color #5a1d9c has RGB values of R:90, G:29, B:156 and CMYK values of C:0.42, M:0.81, Y:0, K:0.39. Its decimal value is 5905820.

Hex triplet 5a1d9c #5a1d9c
RGB Decimal 90, 29, 156 rgb(90,29,156)
RGB Percent 35.3, 11.4, 61.2 rgb(35.3%,11.4%,61.2%)
CMYK 42, 81, 0, 39
HSL 268.8°, 68.6, 36.3 hsl(268.8,68.6%,36.3%)
HSV (or HSB) 268.8°, 81.4, 61.2
Web Safe 663399 #663399
CIE-LAB 27.988, 51.491, -57.051
XYZ 10.656, 5.453, 31.942
xyY 0.222, 0.113, 5.453
CIE-LCH 27.988, 76.851, 312.068
CIE-LUV 27.988, 10.387, -75.561
Hunter-Lab 23.351, 40.589, -64.757
Binary 01011010, 00011101, 10011100

Color Schemes with #5a1d9c

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

Alternatives to #5a1d9c

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

Similar Colors

#5a1d9c Preview

Text with hexadecimal color #5a1d9c

This text has a font color of #5a1d9c.

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

This paragraph has a background color of #5a1d9c.

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

This element has a border color of #5a1d9c.

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

Shades and Tints of #5a1d9c

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

Shade Color Variation
Tint Color Variation

Tones of #5a1d9c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1d9c 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #443751 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498f Protanopia 1% of men
  • #004d7d Deuteranopia 1% of men
  • #4c4b50 Tritanopia 0.001% of the population
Trichromacy
  • #203993 Protanomaly 1% of men, 0.01% of women
  • #203c88 Deuteranomaly 6% of men, 0.4% of women
  • #513a6c Tritanomaly 0.01% of the population