#5a21fa Color Information

In a RGB color space, hex #5a21fa is composed of 35.3% red, 12.9% green and 98% blue. Whereas in a CMYK color space, it is composed of 64% cyan, 86.8% magenta, 0% yellow and 2% black. It has a hue angle of 255.8 degrees, a saturation of 95.6% and a lightness of 55.5%. #5a21fa color hex could be obtained by blending #b442ff with #0000f5. Closest websafe color is: #6633ff.

    • R 35
    • G 13
    • B 98
    RGB color chart
    • C 64
    • M 87
    • Y 0
    • K 2
    CMYK color chart

#5a21fa color description : Vivid violet.

#5a21fa Color Conversion

The hexadecimal color #5a21fa has RGB values of R:90, G:33, B:250 and CMYK values of C:0.64, M:0.87, Y:0, K:0.02. Its decimal value is 5906938.

Hex triplet 5a21fa #5a21fa
RGB Decimal 90, 33, 250 rgb(90,33,250)
RGB Percent 35.3, 12.9, 98 rgb(35.3%,12.9%,98%)
CMYK 64, 87, 0, 2
HSL 255.8°, 95.6, 55.5 hsl(255.8,95.6%,55.5%)
HSV (or HSB) 255.8°, 86.8, 98
Web Safe 6633ff #6633ff
CIE-LAB 38.133, 73.722, -95.222
XYZ 22.012, 10.163, 91.239
xyY 0.178, 0.082, 10.163
CIE-LCH 38.133, 120.425, 307.747
CIE-LUV 38.133, -0.681, -130.997
Hunter-Lab 31.879, 67.466, -147.376
Binary 01011010, 00100001, 11111010

Color Schemes with #5a21fa

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

Alternatives to #5a21fa

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

Similar Colors

#5a21fa Preview

Text with hexadecimal color #5a21fa

This text has a font color of #5a21fa.

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

This paragraph has a background color of #5a21fa.

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

This element has a border color of #5a21fa.

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

Shades and Tints of #5a21fa

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

Shade Color Variation
Tint Color Variation

Tones of #5a21fa

A tone is produced by adding gray to any pure hue. In this case, #8c8a91 is the less saturated color, while #5a21fa is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21fa 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
  • #4b4b4b Achromatopsia 0.005% of the population
  • #4e436e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #005fb9 Protanopia 1% of men
  • #0065a0 Deuteranopia 1% of men
  • #006c72 Tritanopia 0.001% of the population
Trichromacy
  • #2048d0 Protanomaly 1% of men, 0.01% of women
  • #204cc1 Deuteranomaly 6% of men, 0.4% of women
  • #2050a3 Tritanomaly 0.01% of the population