#5a15a2 Color Information

In a RGB color space, hex #5a15a2 is composed of 35.3% red, 8.2% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 44.4% cyan, 87% magenta, 0% yellow and 36.5% black. It has a hue angle of 269.4 degrees, a saturation of 77% and a lightness of 35.9%. #5a15a2 color hex could be obtained by blending #b42aff with #000045. Closest websafe color is: #660099.

    • R 35
    • G 8
    • B 64
    RGB color chart
    • C 44
    • M 87
    • Y 0
    • K 36
    CMYK color chart

#5a15a2 color description : Dark violet.

#5a15a2 Color Conversion

The hexadecimal color #5a15a2 has RGB values of R:90, G:21, B:162 and CMYK values of C:0.44, M:0.87, Y:0, K:0.36. Its decimal value is 5903778.

Hex triplet 5a15a2 #5a15a2
RGB Decimal 90, 21, 162 rgb(90,21,162)
RGB Percent 35.3, 8.2, 63.5 rgb(35.3%,8.2%,63.5%)
CMYK 44, 87, 0, 36
HSL 269.4°, 77, 35.9 hsl(269.4,77%,35.9%)
HSV (or HSB) 269.4°, 87, 63.5
Web Safe 660099 #660099
CIE-LAB 27.624, 55.666, -61.302
XYZ 11.005, 5.319, 34.627
xyY 0.216, 0.104, 5.319
CIE-LCH 27.624, 82.805, 312.241
CIE-LUV 27.624, 10.16, -79.881
Hunter-Lab 23.062, 44.82, -72.879
Binary 01011010, 00010101, 10100010

Color Schemes with #5a15a2

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

Alternatives to #5a15a2

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

Similar Colors

#5a15a2 Preview

Text with hexadecimal color #5a15a2

This text has a font color of #5a15a2.

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

This paragraph has a background color of #5a15a2.

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

This element has a border color of #5a15a2.

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

Shades and Tints of #5a15a2

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

Shade Color Variation
Tint Color Variation

Tones of #5a15a2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a15a2 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #40334f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498d Protanopia 1% of men
  • #004d7b Deuteranopia 1% of men
  • #494b50 Tritanopia 0.001% of the population
Trichromacy
  • #203695 Protanomaly 1% of men, 0.01% of women
  • #203889 Deuteranomaly 6% of men, 0.4% of women
  • #4f376e Tritanomaly 0.01% of the population