#5a159f Color Information

In a RGB color space, hex #5a159f is composed of 35.3% red, 8.2% green and 62.4% blue. Whereas in a CMYK color space, it is composed of 43.4% cyan, 86.8% magenta, 0% yellow and 37.6% black. It has a hue angle of 270 degrees, a saturation of 76.7% and a lightness of 35.3%. #5a159f color hex could be obtained by blending #b42aff with #00003f. Closest websafe color is: #660099.

    • R 35
    • G 8
    • B 62
    RGB color chart
    • C 43
    • M 87
    • Y 0
    • K 38
    CMYK color chart

#5a159f color description : Dark violet.

#5a159f Color Conversion

The hexadecimal color #5a159f has RGB values of R:90, G:21, B:159 and CMYK values of C:0.43, M:0.87, Y:0, K:0.38. Its decimal value is 5903775.

Hex triplet 5a159f #5a159f
RGB Decimal 90, 21, 159 rgb(90,21,159)
RGB Percent 35.3, 8.2, 62.4 rgb(35.3%,8.2%,62.4%)
CMYK 43, 87, 0, 38
HSL 270°, 76.7, 35.3 hsl(270,76.7%,35.3%)
HSV (or HSB) 270°, 86.8, 62.4
Web Safe 660099 #660099
CIE-LAB 27.334, 54.955, -59.953
XYZ 10.742, 5.213, 33.239
xyY 0.218, 0.106, 5.213
CIE-LCH 27.334, 81.33, 312.509
CIE-LUV 27.334, 10.627, -78.046
Hunter-Lab 22.833, 44.019, -70.331
Binary 01011010, 00010101, 10011111

Color Schemes with #5a159f

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

Alternatives to #5a159f

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

Similar Colors

#5a159f Preview

Text with hexadecimal color #5a159f

This text has a font color of #5a159f.

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

This paragraph has a background color of #5a159f.

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

This element has a border color of #5a159f.

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

Shades and Tints of #5a159f

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

Shade Color Variation
Tint Color Variation

Tones of #5a159f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a159f 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
  • #00488c Protanopia 1% of men
  • #004c7b Deuteranopia 1% of men
  • #4a494f Tritanopia 0.001% of the population
Trichromacy
  • #203593 Protanomaly 1% of men, 0.01% of women
  • #203888 Deuteranomaly 6% of men, 0.4% of women
  • #50366c Tritanomaly 0.01% of the population