#5a2166 Color Information

In a RGB color space, hex #5a2166 is composed of 35.3% red, 12.9% green and 40% blue. Whereas in a CMYK color space, it is composed of 11.8% cyan, 67.6% magenta, 0% yellow and 60% black. It has a hue angle of 289.6 degrees, a saturation of 51.1% and a lightness of 26.5%. #5a2166 color hex could be obtained by blending #b442cc with #000000. Closest websafe color is: #663366.

    • R 35
    • G 13
    • B 40
    RGB color chart
    • C 12
    • M 68
    • Y 0
    • K 60
    CMYK color chart

#5a2166 color description : Very dark magenta.

#5a2166 Color Conversion

The hexadecimal color #5a2166 has RGB values of R:90, G:33, B:102 and CMYK values of C:0.12, M:0.68, Y:0, K:0.6. Its decimal value is 5906790.

Hex triplet 5a2166 #5a2166
RGB Decimal 90, 33, 102 rgb(90,33,102)
RGB Percent 35.3, 12.9, 40 rgb(35.3%,12.9%,40%)
CMYK 12, 68, 0, 60
HSL 289.6°, 51.1, 26.5 hsl(289.6,51.1%,26.5%)
HSV (or HSB) 289.6°, 67.6, 40
Web Safe 663366 #663366
CIE-LAB 24.389, 37.061, -28.864
XYZ 7.158, 4.221, 13.007
xyY 0.294, 0.173, 4.221
CIE-LCH 24.389, 46.975, 322.087
CIE-LUV 24.389, 20.185, -38.488
Hunter-Lab 20.545, 26.239, -23.156
Binary 01011010, 00100001, 01100110

Color Schemes with #5a2166

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

Alternatives to #5a2166

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

Similar Colors

#5a2166 Preview

Text with hexadecimal color #5a2166

This text has a font color of #5a2166.

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

This paragraph has a background color of #5a2166.

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

This element has a border color of #5a2166.

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

Shades and Tints of #5a2166

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, #0c040d is the darkest color, while #fefdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a2166

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2166 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #403543 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #13427f Protanopia 1% of men
  • #2f4466 Deuteranopia 1% of men
  • #5b3b3f Tritanopia 0.001% of the population
Trichromacy
  • #2d3676 Protanomaly 1% of men, 0.01% of women
  • #3f3766 Deuteranomaly 6% of men, 0.4% of women
  • #5a314d Tritanomaly 0.01% of the population