#5a21b0 Color Information

In a RGB color space, hex #5a21b0 is composed of 35.3% red, 12.9% green and 69% blue. Whereas in a CMYK color space, it is composed of 48.9% cyan, 81.3% magenta, 0% yellow and 31% black. It has a hue angle of 263.9 degrees, a saturation of 68.4% and a lightness of 41%. #5a21b0 color hex could be obtained by blending #b442ff with #000061. 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

#5a21b0 color description : Dark violet.

#5a21b0 Color Conversion

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

Hex triplet 5a21b0 #5a21b0
RGB Decimal 90, 33, 176 rgb(90,33,176)
RGB Percent 35.3, 12.9, 69 rgb(35.3%,12.9%,69%)
CMYK 49, 81, 0, 31
HSL 263.9°, 68.4, 41 hsl(263.9,68.4%,41%)
HSV (or HSB) 263.9°, 81.3, 69
Web Safe 663399 #663399
CIE-LAB 30.39, 54.958, -65.192
XYZ 12.595, 6.396, 41.643
xyY 0.208, 0.105, 6.396
CIE-LCH 30.39, 85.266, 310.132
CIE-LUV 30.39, 7.097, -87.616
Hunter-Lab 25.29, 44.643, -79.925
Binary 01011010, 00100001, 10110000

Color Schemes with #5a21b0

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

Alternatives to #5a21b0

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

Similar Colors

#5a21b0 Preview

Text with hexadecimal color #5a21b0

This text has a font color of #5a21b0.

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

This paragraph has a background color of #5a21b0.

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

This element has a border color of #5a21b0.

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

Shades and Tints of #5a21b0

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, #06020b is the darkest color, while #fbf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a21b0

A tone is produced by adding gray to any pure hue. In this case, #676170 is the less saturated color, while #5301d0 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21b0 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
  • #004e99 Protanopia 1% of men
  • #005385 Deuteranopia 1% of men
  • #425359 Tritanopia 0.001% of the population
Trichromacy
  • #203ea1 Protanomaly 1% of men, 0.01% of women
  • #204095 Deuteranomaly 6% of men, 0.4% of women
  • #4b4179 Tritanomaly 0.01% of the population