#5a21e2 Color Information

In a RGB color space, hex #5a21e2 is composed of 35.3% red, 12.9% green and 88.6% blue. Whereas in a CMYK color space, it is composed of 60.2% cyan, 85.4% magenta, 0% yellow and 11.4% black. It has a hue angle of 257.7 degrees, a saturation of 76.9% and a lightness of 50.8%. #5a21e2 color hex could be obtained by blending #b442ff with #0000c5. Closest websafe color is: #6633cc.

    • R 35
    • G 13
    • B 89
    RGB color chart
    • C 60
    • M 85
    • Y 0
    • K 11
    CMYK color chart

#5a21e2 color description : Vivid violet.

#5a21e2 Color Conversion

The hexadecimal color #5a21e2 has RGB values of R:90, G:33, B:226 and CMYK values of C:0.6, M:0.85, Y:0, K:0.11. Its decimal value is 5906914.

Hex triplet 5a21e2 #5a21e2
RGB Decimal 90, 33, 226 rgb(90,33,226)
RGB Percent 35.3, 12.9, 88.6 rgb(35.3%,12.9%,88.6%)
CMYK 60, 85, 0, 11
HSL 257.7°, 76.9, 50.8 hsl(257.7,76.9%,50.8%)
HSV (or HSB) 257.7°, 85.4, 88.6
Web Safe 6633cc #6633cc
CIE-LAB 35.502, 67.698, -85.979
XYZ 18.485, 8.752, 72.663
xyY 0.185, 0.088, 8.752
CIE-LCH 35.502, 109.432, 308.216
CIE-LUV 35.502, 1.488, -117.298
Hunter-Lab 29.583, 59.765, -124.919
Binary 01011010, 00100001, 11100010

Color Schemes with #5a21e2

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

Alternatives to #5a21e2

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

Similar Colors

#5a21e2 Preview

Text with hexadecimal color #5a21e2

This text has a font color of #5a21e2.

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

This paragraph has a background color of #5a21e2.

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

This element has a border color of #5a21e2.

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

Shades and Tints of #5a21e2

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

Shade Color Variation
Tint Color Variation

Tones of #5a21e2

A tone is produced by adding gray to any pure hue. In this case, #7e788b is the less saturated color, while #4e04ff is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21e2 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
  • #484848 Achromatopsia 0.005% of the population
  • #4c4067 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #0059ae Protanopia 1% of men
  • #005f97 Deuteranopia 1% of men
  • #00656c Tritanopia 0.001% of the population
Trichromacy
  • #2045c1 Protanomaly 1% of men, 0.01% of women
  • #2048b2 Deuteranomaly 6% of men, 0.4% of women
  • #204c97 Tritanomaly 0.01% of the population