#5a21ac Color Information

In a RGB color space, hex #5a21ac is composed of 35.3% red, 12.9% green and 67.5% blue. Whereas in a CMYK color space, it is composed of 47.7% cyan, 80.8% magenta, 0% yellow and 32.5% black. It has a hue angle of 264.6 degrees, a saturation of 67.8% and a lightness of 40.2%. #5a21ac color hex could be obtained by blending #b442ff with #000059. Closest websafe color is: #663399.

    • R 35
    • G 13
    • B 67
    RGB color chart
    • C 48
    • M 81
    • Y 0
    • K 33
    CMYK color chart

#5a21ac color description : Dark violet.

#5a21ac Color Conversion

The hexadecimal color #5a21ac has RGB values of R:90, G:33, B:172 and CMYK values of C:0.48, M:0.81, Y:0, K:0.33. Its decimal value is 5906860.

Hex triplet 5a21ac #5a21ac
RGB Decimal 90, 33, 172 rgb(90,33,172)
RGB Percent 35.3, 12.9, 67.5 rgb(35.3%,12.9%,67.5%)
CMYK 48, 81, 0, 33
HSL 264.6°, 67.8, 40.2 hsl(264.6,67.8%,40.2%)
HSV (or HSB) 264.6°, 80.8, 67.5
Web Safe 663399 #663399
CIE-LAB 30.01, 53.938, -63.42
XYZ 12.205, 6.24, 39.589
xyY 0.21, 0.108, 6.24
CIE-LCH 30.01, 83.255, 310.381
CIE-LUV 30.01, 7.631, -85.15
Hunter-Lab 24.98, 43.503, -76.479
Binary 01011010, 00100001, 10101100

Color Schemes with #5a21ac

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

Alternatives to #5a21ac

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

Similar Colors

#5a21ac Preview

Text with hexadecimal color #5a21ac

This text has a font color of #5a21ac.

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

This paragraph has a background color of #5a21ac.

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

This element has a border color of #5a21ac.

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

Shades and Tints of #5a21ac

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 #5a21ac

A tone is produced by adding gray to any pure hue. In this case, #65606d is the less saturated color, while #5401cc is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21ac 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
  • #424242 Achromatopsia 0.005% of the population
  • #473b57 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e97 Protanopia 1% of men
  • #005284 Deuteranopia 1% of men
  • #455258 Tritanopia 0.001% of the population
Trichromacy
  • #203d9f Protanomaly 1% of men, 0.01% of women
  • #204092 Deuteranomaly 6% of men, 0.4% of women
  • #4c4076 Tritanomaly 0.01% of the population