#5a2172 Color Information

In a RGB color space, hex #5a2172 is composed of 35.3% red, 12.9% green and 44.7% blue. Whereas in a CMYK color space, it is composed of 21.1% cyan, 71.1% magenta, 0% yellow and 55.3% black. It has a hue angle of 282.2 degrees, a saturation of 55.1% and a lightness of 28.8%. #5a2172 color hex could be obtained by blending #b442e4 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 13
    • B 45
    RGB color chart
    • C 21
    • M 71
    • Y 0
    • K 55
    CMYK color chart

#5a2172 color description : Very dark violet.

#5a2172 Color Conversion

The hexadecimal color #5a2172 has RGB values of R:90, G:33, B:114 and CMYK values of C:0.21, M:0.71, Y:0, K:0.55. Its decimal value is 5906802.

Hex triplet 5a2172 #5a2172
RGB Decimal 90, 33, 114 rgb(90,33,114)
RGB Percent 35.3, 12.9, 44.7 rgb(35.3%,12.9%,44.7%)
CMYK 21, 71, 0, 55
HSL 282.2°, 55.1, 28.8 hsl(282.2,55.1%,28.8%)
HSV (or HSB) 282.2°, 71.1, 44.7
Web Safe 663366 #663366
CIE-LAB 25.188, 39.72, -35.338
XYZ 7.797, 4.477, 16.372
xyY 0.272, 0.156, 4.477
CIE-LCH 25.188, 53.164, 318.341
CIE-LUV 25.188, 17.537, -47.017
Hunter-Lab 21.158, 28.755, -31.068
Binary 01011010, 00100001, 01110010

Color Schemes with #5a2172

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

Alternatives to #5a2172

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

Similar Colors

#5a2172 Preview

Text with hexadecimal color #5a2172

This text has a font color of #5a2172.

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

This paragraph has a background color of #5a2172.

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

This element has a border color of #5a2172.

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

Shades and Tints of #5a2172

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

Shade Color Variation
Tint Color Variation

Tones of #5a2172

A tone is produced by adding gray to any pure hue. In this case, #4a494a is the less saturated color, while #66058e is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2172 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
  • #3b3b3b Achromatopsia 0.005% of the population
  • #413646 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004384 Protanopia 1% of men
  • #224671 Deuteranopia 1% of men
  • #583e43 Tritanopia 0.001% of the population
Trichromacy
  • #20377d Protanomaly 1% of men, 0.01% of women
  • #363871 Deuteranomaly 6% of men, 0.4% of women
  • #593454 Tritanomaly 0.01% of the population