#5a2a8a Color Information

In a RGB color space, hex #5a2a8a is composed of 35.3% red, 16.5% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 34.8% cyan, 69.6% magenta, 0% yellow and 45.9% black. It has a hue angle of 270 degrees, a saturation of 53.3% and a lightness of 35.3%. #5a2a8a color hex could be obtained by blending #b454ff with #000015. Closest websafe color is: #663399.

    • R 35
    • G 16
    • B 54
    RGB color chart
    • C 35
    • M 70
    • Y 0
    • K 46
    CMYK color chart

#5a2a8a color description : Dark moderate violet.

#5a2a8a Color Conversion

The hexadecimal color #5a2a8a has RGB values of R:90, G:42, B:138 and CMYK values of C:0.35, M:0.7, Y:0, K:0.46. Its decimal value is 5909130.

Hex triplet 5a2a8a #5a2a8a
RGB Decimal 90, 42, 138 rgb(90,42,138)
RGB Percent 35.3, 16.5, 54.1 rgb(35.3%,16.5%,54.1%)
CMYK 35, 70, 0, 46
HSL 270°, 53.3, 35.3 hsl(270,53.3%,35.3%)
HSV (or HSB) 270°, 69.6, 54.1
Web Safe 663399 #663399
CIE-LAB 28.55, 41.077, -45.049
XYZ 9.631, 5.665, 24.629
xyY 0.241, 0.142, 5.665
CIE-LCH 28.55, 60.965, 312.36
CIE-LUV 28.55, 11.434, -61.52
Hunter-Lab 23.801, 30.581, -44.694
Binary 01011010, 00101010, 10001010

Color Schemes with #5a2a8a

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

Alternatives to #5a2a8a

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

Similar Colors

#5a2a8a Preview

Text with hexadecimal color #5a2a8a

This text has a font color of #5a2a8a.

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

This paragraph has a background color of #5a2a8a.

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

This element has a border color of #5a2a8a.

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

Shades and Tints of #5a2a8a

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

Shade Color Variation
Tint Color Variation

Tones of #5a2a8a

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

Tone Color Variation

Color Blindness Simulator

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

  • #434343 Achromatopsia 0.005% of the population
  • #483e51 Atypical Achromatopsia 0.001% of the population
  • #004a92 Protanopia 1% of men
  • #004e81 Deuteranopia 1% of men
  • #534a50 Tritanopia 0.001% of the population
  • #203e8f Protanomaly 1% of men, 0.01% of women
  • #204184 Deuteranomaly 6% of men, 0.4% of women
  • #553e65 Tritanomaly 0.01% of the population