#5a159c Color Information

In a RGB color space, hex #5a159c is composed of 35.3% red, 8.2% green and 61.2% blue. Whereas in a CMYK color space, it is composed of 42.3% cyan, 86.5% magenta, 0% yellow and 38.8% black. It has a hue angle of 270.7 degrees, a saturation of 76.3% and a lightness of 34.7%. #5a159c color hex could be obtained by blending #b42aff with #000039. Closest websafe color is: #660099.

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

#5a159c color description : Dark violet.

#5a159c Color Conversion

The hexadecimal color #5a159c has RGB values of R:90, G:21, B:156 and CMYK values of C:0.42, M:0.87, Y:0, K:0.39. Its decimal value is 5903772.

Hex triplet 5a159c #5a159c
RGB Decimal 90, 21, 156 rgb(90,21,156)
RGB Percent 35.3, 8.2, 61.2 rgb(35.3%,8.2%,61.2%)
CMYK 42, 87, 0, 39
HSL 270.7°, 76.3, 34.7 hsl(270.7,76.3%,34.7%)
HSV (or HSB) 270.7°, 86.5, 61.2
Web Safe 660099 #660099
CIE-LAB 27.047, 54.247, -58.593
XYZ 10.484, 5.11, 31.885
xyY 0.221, 0.108, 5.11
CIE-LCH 27.047, 79.849, 312.794
CIE-LUV 27.047, 11.106, -76.202
Hunter-Lab 22.606, 43.225, -67.801
Binary 01011010, 00010101, 10011100

Color Schemes with #5a159c

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

Alternatives to #5a159c

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

Similar Colors

#5a159c Preview

Text with hexadecimal color #5a159c

This text has a font color of #5a159c.

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

This paragraph has a background color of #5a159c.

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

This element has a border color of #5a159c.

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

Shades and Tints of #5a159c

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

Shade Color Variation
Tint Color Variation

Tones of #5a159c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a159c 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
  • #393939 Achromatopsia 0.005% of the population
  • #40324d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478b Protanopia 1% of men
  • #004b7a Deuteranopia 1% of men
  • #4b484e Tritanopia 0.001% of the population
Trichromacy
  • #203591 Protanomaly 1% of men, 0.01% of women
  • #203786 Deuteranomaly 6% of men, 0.4% of women
  • #50366a Tritanomaly 0.01% of the population