#5a21f0 Color Information

In a RGB color space, hex #5a21f0 is composed of 35.3% red, 12.9% green and 94.1% blue. Whereas in a CMYK color space, it is composed of 62.5% cyan, 86.3% magenta, 0% yellow and 5.9% black. It has a hue angle of 256.5 degrees, a saturation of 87.3% and a lightness of 53.5%. #5a21f0 color hex could be obtained by blending #b442ff with #0000e1. Closest websafe color is: #6633ff.

    • R 35
    • G 13
    • B 94
    RGB color chart
    • C 63
    • M 86
    • Y 0
    • K 6
    CMYK color chart

#5a21f0 color description : Vivid violet.

#5a21f0 Color Conversion

The hexadecimal color #5a21f0 has RGB values of R:90, G:33, B:240 and CMYK values of C:0.63, M:0.86, Y:0, K:0.06. Its decimal value is 5906928.

Hex triplet 5a21f0 #5a21f0
RGB Decimal 90, 33, 240 rgb(90,33,240)
RGB Percent 35.3, 12.9, 94.1 rgb(35.3%,12.9%,94.1%)
CMYK 63, 86, 0, 6
HSL 256.5°, 87.3, 53.5 hsl(256.5,87.3%,53.5%)
HSV (or HSB) 256.5°, 86.3, 94.1
Web Safe 6633ff #6633ff
CIE-LAB 37.026, 71.223, -91.42
XYZ 20.486, 9.552, 83.197
xyY 0.181, 0.084, 9.552
CIE-LCH 37.026, 115.889, 307.921
CIE-LUV 37.026, 0.191, -125.322
Hunter-Lab 30.906, 64.23, -137.971
Binary 01011010, 00100001, 11110000

Color Schemes with #5a21f0

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

Alternatives to #5a21f0

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

Similar Colors

#5a21f0 Preview

Text with hexadecimal color #5a21f0

This text has a font color of #5a21f0.

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

This paragraph has a background color of #5a21f0.

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

This element has a border color of #5a21f0.

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

Shades and Tints of #5a21f0

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

Shade Color Variation
Tint Color Variation

Tones of #5a21f0

A tone is produced by adding gray to any pure hue. In this case, #87858c is the less saturated color, while #5618f9 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21f0 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
  • #4a4a4a Achromatopsia 0.005% of the population
  • #4d426b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005db4 Protanopia 1% of men
  • #00629c Deuteranopia 1% of men
  • #00696f Tritanopia 0.001% of the population
Trichromacy
  • #2047ca Protanomaly 1% of men, 0.01% of women
  • #204aba Deuteranomaly 6% of men, 0.4% of women
  • #204e9e Tritanomaly 0.01% of the population