colorhexa.com

#5a21c6 hex color

In a RGB color space, hex #5a21c6 is composed of 35.3% red, 12.9% green and 77.6% blue. Whereas in a CMYK color space, it is composed of 54.5% cyan, 83.3% magenta, 0% yellow and 22.4% black. It has a hue angle of 260.7 degrees, a saturation of 71.4% and a lightness of 45.3%. #5a21c6 color hex could be obtained by blending #b442ff with #00008d. Closest websafe color is: #6633cc.

    • R 35
    • G 13
    • B 78

    RGB color chart

    • C 55
    • M 83
    • Y 0
    • K 22

    CMYK color chart

#5a21c6 color description : Strong violet.

The hexadecimal color #5a21c6 has RGB values of R:90, G:33, B:198 and CMYK values of C:0.55, M:0.83, Y:0, K:0.22. Its decimal value is 5906886.

Hex triplet 5a21c6 #5a21c6
RGB Decimal 90, 33, 198 rgb(90,33,198)
RGB Percent 35.3, 12.9, 77.6 rgb(35.3%,12.9%,77.6%)
CMYK 55, 83, 0, 22
HSL 260.7°, 71.4, 45.3 hsl(260.7,71.4%,45.3%)
HSV (or HSB) 260.7°, 83.3, 77.6
Web Safe 6633cc #6633cc
CIE-LAB 32.565, 60.578, -74.628
XYZ 14.952, 7.338, 54.052
xyY 0.196, 0.096, 7.338
CIE-LCH 32.565, 96.12, 309.068
CIE-LUV 32.565, 4.408, -100.909
Hunter-Lab 27.089, 51.114, -99.34
Binary 01011010, 00100001, 11000110

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #5a21c6

This text has a font color of #5a21c6.

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

#5a21c6 background color

This paragraph has a background color of #5a21c6.

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

#5a21c6 border color

This element has a border color of #5a21c6.

<div style="border:1px solid #5a21c6;">Content here</div>

CSS codes

.text {color:#5a21c6;}
.background {background-color:#5a21c6;}
.border {border:1px solid #5a21c6;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #5a21c6 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

  • #454545 Achromatopsia 0.005% of the population
  • #493e5f Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #0053a2 Protanopia 1% of men
  • #00588c Deuteranopia 1% of men
  • #325b62 Tritanopia 0.001% of the population

Trichromacy

  • #2041af Protanomaly 1% of men, 0.01% of women
  • #2044a1 Deuteranomaly 6% of men, 0.4% of women
  • #414686 Tritanomaly 0.01% of the population