#5a1c8b Color Information

In a RGB color space, hex #5a1c8b is composed of 35.3% red, 11% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 35.3% cyan, 79.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 273.5 degrees, a saturation of 66.5% and a lightness of 32.7%. #5a1c8b color hex could be obtained by blending #b438ff with #000017. Closest websafe color is: #663399.

    • R 35
    • G 11
    • B 55
    RGB color chart
    • C 35
    • M 80
    • Y 0
    • K 45
    CMYK color chart

#5a1c8b color description : Dark violet.

#5a1c8b Color Conversion

The hexadecimal color #5a1c8b has RGB values of R:90, G:28, B:139 and CMYK values of C:0.35, M:0.8, Y:0, K:0.45. Its decimal value is 5905547.

Hex triplet 5a1c8b #5a1c8b
RGB Decimal 90, 28, 139 rgb(90,28,139)
RGB Percent 35.3, 11, 54.5 rgb(35.3%,11%,54.5%)
CMYK 35, 80, 0, 45
HSL 273.5°, 66.5, 32.7 hsl(273.5,66.5%,32.7%)
HSV (or HSB) 273.5°, 79.9, 54.5
Web Safe 663399 #663399
CIE-LAB 26.356, 47.757, -49.235
XYZ 9.291, 4.868, 24.875
xyY 0.238, 0.125, 4.868
CIE-LCH 26.356, 68.592, 314.127
CIE-LUV 26.356, 13.351, -64.81
Hunter-Lab 22.064, 36.552, -51.397
Binary 01011010, 00011100, 10001011

Color Schemes with #5a1c8b

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

Alternatives to #5a1c8b

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

Similar Colors

#5a1c8b Preview

Text with hexadecimal color #5a1c8b

This text has a font color of #5a1c8b.

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

This paragraph has a background color of #5a1c8b.

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

This element has a border color of #5a1c8b.

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

Shades and Tints of #5a1c8b

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

Shade Color Variation
Tint Color Variation

Tones of #5a1c8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1c8b 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
  • #41354b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004688 Protanopia 1% of men
  • #004978 Deuteranopia 1% of men
  • #524449 Tritanopia 0.001% of the population
Trichromacy
  • #203689 Protanomaly 1% of men, 0.01% of women
  • #20397f Deuteranomaly 6% of men, 0.4% of women
  • #543661 Tritanomaly 0.01% of the population