#5a21af Color Information

In a RGB color space, hex #5a21af is composed of 35.3% red, 12.9% green and 68.6% blue. Whereas in a CMYK color space, it is composed of 48.6% cyan, 81.1% magenta, 0% yellow and 31.4% black. It has a hue angle of 264.1 degrees, a saturation of 68.3% and a lightness of 40.8%. #5a21af color hex could be obtained by blending #b442ff with #00005f. Closest websafe color is: #663399.

    • R 35
    • G 13
    • B 69
    RGB color chart
    • C 49
    • M 81
    • Y 0
    • K 31
    CMYK color chart

#5a21af color description : Dark violet.

#5a21af Color Conversion

The hexadecimal color #5a21af has RGB values of R:90, G:33, B:175 and CMYK values of C:0.49, M:0.81, Y:0, K:0.31. Its decimal value is 5906863.

Hex triplet 5a21af #5a21af
RGB Decimal 90, 33, 175 rgb(90,33,175)
RGB Percent 35.3, 12.9, 68.6 rgb(35.3%,12.9%,68.6%)
CMYK 49, 81, 0, 31
HSL 264.1°, 68.3, 40.8 hsl(264.1,68.3%,40.8%)
HSV (or HSB) 264.1°, 81.1, 68.6
Web Safe 663399 #663399
CIE-LAB 30.294, 54.703, -64.751
XYZ 12.497, 6.356, 41.124
xyY 0.208, 0.106, 6.356
CIE-LCH 30.294, 84.765, 310.192
CIE-LUV 30.294, 7.229, -87.002
Hunter-Lab 25.212, 44.357, -79.061
Binary 01011010, 00100001, 10101111

Color Schemes with #5a21af

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

Alternatives to #5a21af

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

Similar Colors

#5a21af Preview

Text with hexadecimal color #5a21af

This text has a font color of #5a21af.

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

This paragraph has a background color of #5a21af.

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

This element has a border color of #5a21af.

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

Shades and Tints of #5a21af

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, #05020a is the darkest color, while #fbf8fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a21af

A tone is produced by adding gray to any pure hue. In this case, #67616f is the less saturated color, while #5401cf is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21af 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
  • #424242 Achromatopsia 0.005% of the population
  • #473b58 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e98 Protanopia 1% of men
  • #005285 Deuteranopia 1% of men
  • #435359 Tritanopia 0.001% of the population
Trichromacy
  • #203ea0 Protanomaly 1% of men, 0.01% of women
  • #204094 Deuteranomaly 6% of men, 0.4% of women
  • #4b4178 Tritanomaly 0.01% of the population