#5a2a9e Color Information

In a RGB color space, hex #5a2a9e is composed of 35.3% red, 16.5% green and 62% blue. Whereas in a CMYK color space, it is composed of 43% cyan, 73.4% magenta, 0% yellow and 38% black. It has a hue angle of 264.8 degrees, a saturation of 58% and a lightness of 39.2%. #5a2a9e color hex could be obtained by blending #b454ff with #00003d. Closest websafe color is: #663399.

    • R 35
    • G 16
    • B 62
    RGB color chart
    • C 43
    • M 73
    • Y 0
    • K 38
    CMYK color chart

#5a2a9e color description : Dark violet.

#5a2a9e Color Conversion

The hexadecimal color #5a2a9e has RGB values of R:90, G:42, B:158 and CMYK values of C:0.43, M:0.73, Y:0, K:0.38. Its decimal value is 5909150.

Hex triplet 5a2a9e #5a2a9e
RGB Decimal 90, 42, 158 rgb(90,42,158)
RGB Percent 35.3, 16.5, 62 rgb(35.3%,16.5%,62%)
CMYK 43, 73, 0, 38
HSL 264.8°, 58, 39.2 hsl(264.8,58%,39.2%)
HSV (or HSB) 264.8°, 73.4, 62
Web Safe 663399 #663399
CIE-LAB 30.153, 46.305, -54.73
XYZ 11.215, 6.298, 32.971
xyY 0.222, 0.125, 6.298
CIE-LCH 30.153, 71.69, 310.234
CIE-LUV 30.153, 8.395, -74.983
Hunter-Lab 25.096, 35.849, -60.326
Binary 01011010, 00101010, 10011110

Color Schemes with #5a2a9e

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

Alternatives to #5a2a9e

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

Similar Colors

#5a2a9e Preview

Text with hexadecimal color #5a2a9e

This text has a font color of #5a2a9e.

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

This paragraph has a background color of #5a2a9e.

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

This element has a border color of #5a2a9e.

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

Shades and Tints of #5a2a9e

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 #f6f3fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a2a9e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2a9e 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
  • #464646 Achromatopsia 0.005% of the population
  • #4a4058 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e98 Protanopia 1% of men
  • #005286 Deuteranopia 1% of men
  • #4c5156 Tritanopia 0.001% of the population
Trichromacy
  • #20419a Protanomaly 1% of men, 0.01% of women
  • #20438e Deuteranomaly 6% of men, 0.4% of women
  • #514270 Tritanomaly 0.01% of the population