#5a21e8 Color Information

In a RGB color space, hex #5a21e8 is composed of 35.3% red, 12.9% green and 91% blue. Whereas in a CMYK color space, it is composed of 61.2% cyan, 85.8% magenta, 0% yellow and 9% black. It has a hue angle of 257.2 degrees, a saturation of 81.2% and a lightness of 52%. #5a21e8 color hex could be obtained by blending #b442ff with #0000d1. Closest websafe color is: #6633ff.

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

#5a21e8 color description : Vivid violet.

#5a21e8 Color Conversion

The hexadecimal color #5a21e8 has RGB values of R:90, G:33, B:232 and CMYK values of C:0.61, M:0.86, Y:0, K:0.09. Its decimal value is 5906920.

Hex triplet 5a21e8 #5a21e8
RGB Decimal 90, 33, 232 rgb(90,33,232)
RGB Percent 35.3, 12.9, 91 rgb(35.3%,12.9%,91%)
CMYK 61, 86, 0, 9
HSL 257.2°, 81.2, 52 hsl(257.2,81.2%,52%)
HSV (or HSB) 257.2°, 85.8, 91
Web Safe 6633ff #6633ff
CIE-LAB 36.151, 69.212, -88.328
XYZ 19.323, 9.087, 77.075
xyY 0.183, 0.086, 9.087
CIE-LCH 36.151, 112.215, 308.082
CIE-LUV 36.151, 0.92, -120.749
Hunter-Lab 30.145, 61.668, -130.495
Binary 01011010, 00100001, 11101000

Color Schemes with #5a21e8

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

Alternatives to #5a21e8

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

Similar Colors

#5a21e8 Preview

Text with hexadecimal color #5a21e8

This text has a font color of #5a21e8.

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

This paragraph has a background color of #5a21e8.

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

This element has a border color of #5a21e8.

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

Shades and Tints of #5a21e8

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

Shade Color Variation
Tint Color Variation

Tones of #5a21e8

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21e8 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
  • #494949 Achromatopsia 0.005% of the population
  • #4c4169 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005bb1 Protanopia 1% of men
  • #006099 Deuteranopia 1% of men
  • #00676d Tritanopia 0.001% of the population
Trichromacy
  • #2046c5 Protanomaly 1% of men, 0.01% of women
  • #2049b6 Deuteranomaly 6% of men, 0.4% of women
  • #204d9a Tritanomaly 0.01% of the population