#5a21ab Color Information

In a RGB color space, hex #5a21ab is composed of 35.3% red, 12.9% green and 67.1% blue. Whereas in a CMYK color space, it is composed of 47.4% cyan, 80.7% magenta, 0% yellow and 32.9% black. It has a hue angle of 264.8 degrees, a saturation of 67.6% and a lightness of 40%. #5a21ab color hex could be obtained by blending #b442ff with #000057. Closest websafe color is: #663399.

    • R 35
    • G 13
    • B 67
    RGB color chart
    • C 47
    • M 81
    • Y 0
    • K 33
    CMYK color chart

#5a21ab color description : Dark violet.

#5a21ab Color Conversion

The hexadecimal color #5a21ab has RGB values of R:90, G:33, B:171 and CMYK values of C:0.47, M:0.81, Y:0, K:0.33. Its decimal value is 5906859.

Hex triplet 5a21ab #5a21ab
RGB Decimal 90, 33, 171 rgb(90,33,171)
RGB Percent 35.3, 12.9, 67.1 rgb(35.3%,12.9%,67.1%)
CMYK 47, 81, 0, 33
HSL 264.8°, 67.6, 40 hsl(264.8,67.6%,40%)
HSV (or HSB) 264.8°, 80.7, 67.1
Web Safe 663399 #663399
CIE-LAB 29.915, 53.684, -62.974
XYZ 12.11, 6.202, 39.085
xyY 0.211, 0.108, 6.202
CIE-LCH 29.915, 82.751, 310.447
CIE-LUV 29.915, 7.768, -84.531
Hunter-Lab 24.903, 43.22, -75.623
Binary 01011010, 00100001, 10101011

Color Schemes with #5a21ab

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

Alternatives to #5a21ab

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

Similar Colors

#5a21ab Preview

Text with hexadecimal color #5a21ab

This text has a font color of #5a21ab.

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

This paragraph has a background color of #5a21ab.

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

This element has a border color of #5a21ab.

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

Shades and Tints of #5a21ab

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

Shade Color Variation
Tint Color Variation

Tones of #5a21ab

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21ab 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
  • #473b57 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004d97 Protanopia 1% of men
  • #005284 Deuteranopia 1% of men
  • #455257 Tritanopia 0.001% of the population
Trichromacy
  • #203d9e Protanomaly 1% of men, 0.01% of women
  • #204092 Deuteranomaly 6% of men, 0.4% of women
  • #4d4076 Tritanomaly 0.01% of the population