#5a21ba Color Information

In a RGB color space, hex #5a21ba is composed of 35.3% red, 12.9% green and 72.9% blue. Whereas in a CMYK color space, it is composed of 51.6% cyan, 82.3% magenta, 0% yellow and 27.1% black. It has a hue angle of 262.4 degrees, a saturation of 69.9% and a lightness of 42.9%. #5a21ba color hex could be obtained by blending #b442ff with #000075. Closest websafe color is: #6633cc.

    • R 35
    • G 13
    • B 73
    RGB color chart
    • C 52
    • M 82
    • Y 0
    • K 27
    CMYK color chart

#5a21ba color description : Strong violet.

#5a21ba Color Conversion

The hexadecimal color #5a21ba has RGB values of R:90, G:33, B:186 and CMYK values of C:0.52, M:0.82, Y:0, K:0.27. Its decimal value is 5906874.

Hex triplet 5a21ba #5a21ba
RGB Decimal 90, 33, 186 rgb(90,33,186)
RGB Percent 35.3, 12.9, 72.9 rgb(35.3%,12.9%,72.9%)
CMYK 52, 82, 0, 27
HSL 262.4°, 69.9, 42.9 hsl(262.4,69.9%,42.9%)
HSV (or HSB) 262.4°, 82.3, 72.9
Web Safe 6633cc #6633cc
CIE-LAB 31.362, 57.512, -69.543
XYZ 13.622, 6.806, 47.048
xyY 0.202, 0.101, 6.806
CIE-LCH 31.362, 90.243, 309.591
CIE-LUV 31.362, 5.825, -93.712
Hunter-Lab 26.089, 47.543, -88.659
Binary 01011010, 00100001, 10111010

Color Schemes with #5a21ba

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

Alternatives to #5a21ba

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

Similar Colors

#5a21ba Preview

Text with hexadecimal color #5a21ba

This text has a font color of #5a21ba.

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

This paragraph has a background color of #5a21ba.

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

This element has a border color of #5a21ba.

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

Shades and Tints of #5a21ba

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

Shade Color Variation
Tint Color Variation

Tones of #5a21ba

A tone is produced by adding gray to any pure hue. In this case, #6d6d6e is the less saturated color, while #5408d3 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a21ba 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
  • #434343 Achromatopsia 0.005% of the population
  • #483c5b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00509d Protanopia 1% of men
  • #005588 Deuteranopia 1% of men
  • #3c575d Tritanopia 0.001% of the population
Trichromacy
  • #203fa7 Protanomaly 1% of men, 0.01% of women
  • #20429a Deuteranomaly 6% of men, 0.4% of women
  • #47437f Tritanomaly 0.01% of the population