#5a21e5 Color Information

In a RGB color space, hex #5a21e5 is composed of 35.3% red, 12.9% green and 89.8% blue. Whereas in a CMYK color space, it is composed of 60.7% cyan, 85.6% magenta, 0% yellow and 10.2% black. It has a hue angle of 257.4 degrees, a saturation of 79% and a lightness of 51.4%. #5a21e5 color hex could be obtained by blending #b442ff with #0000cb. Closest websafe color is: #6633cc.

    • R 35
    • G 13
    • B 90
    RGB color chart
    • C 61
    • M 86
    • Y 0
    • K 10
    CMYK color chart

#5a21e5 color description : Vivid violet.

#5a21e5 Color Conversion

The hexadecimal color #5a21e5 has RGB values of R:90, G:33, B:229 and CMYK values of C:0.61, M:0.86, Y:0, K:0.1. Its decimal value is 5906917.

Hex triplet 5a21e5 #5a21e5
RGB Decimal 90, 33, 229 rgb(90,33,229)
RGB Percent 35.3, 12.9, 89.8 rgb(35.3%,12.9%,89.8%)
CMYK 61, 86, 0, 10
HSL 257.4°, 79, 51.4 hsl(257.4,79%,51.4%)
HSV (or HSB) 257.4°, 85.6, 89.8
Web Safe 6633cc #6633cc
CIE-LAB 35.826, 68.456, -87.157
XYZ 18.901, 8.918, 74.85
xyY 0.184, 0.087, 8.918
CIE-LCH 35.826, 110.827, 308.147
CIE-LUV 35.826, 1.202, -119.026
Hunter-Lab 29.863, 60.715, -127.704
Binary 01011010, 00100001, 11100101

Color Schemes with #5a21e5

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

Alternatives to #5a21e5

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

Similar Colors

#5a21e5 Preview

Text with hexadecimal color #5a21e5

This text has a font color of #5a21e5.

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

This paragraph has a background color of #5a21e5.

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

This element has a border color of #5a21e5.

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

Shades and Tints of #5a21e5

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

Shade Color Variation
Tint Color Variation

Tones of #5a21e5

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21e5 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
  • #005aaf Protanopia 1% of men
  • #005f98 Deuteranopia 1% of men
  • #00666d Tritanopia 0.001% of the population
Trichromacy
  • #2045c3 Protanomaly 1% of men, 0.01% of women
  • #2048b4 Deuteranomaly 6% of men, 0.4% of women
  • #204d98 Tritanomaly 0.01% of the population