#5a2a8c Color Information

In a RGB color space, hex #5a2a8c is composed of 35.3% red, 16.5% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 35.7% cyan, 70% magenta, 0% yellow and 45.1% black. It has a hue angle of 269.4 degrees, a saturation of 53.8% and a lightness of 35.7%. #5a2a8c color hex could be obtained by blending #b454ff with #000019. Closest websafe color is: #663399.

    • R 35
    • G 16
    • B 55
    RGB color chart
    • C 36
    • M 70
    • Y 0
    • K 45
    CMYK color chart

#5a2a8c color description : Dark violet.

#5a2a8c Color Conversion

The hexadecimal color #5a2a8c has RGB values of R:90, G:42, B:140 and CMYK values of C:0.36, M:0.7, Y:0, K:0.45. Its decimal value is 5909132.

Hex triplet 5a2a8c #5a2a8c
RGB Decimal 90, 42, 140 rgb(90,42,140)
RGB Percent 35.3, 16.5, 54.9 rgb(35.3%,16.5%,54.9%)
CMYK 36, 70, 0, 45
HSL 269.4°, 53.8, 35.7 hsl(269.4,53.8%,35.7%)
HSV (or HSB) 269.4°, 70, 54.9
Web Safe 663399 #663399
CIE-LAB 28.703, 41.592, -46.042
XYZ 9.777, 5.723, 25.399
xyY 0.239, 0.14, 5.723
CIE-LCH 28.703, 62.047, 312.093
CIE-LUV 28.703, 11.11, -62.896
Hunter-Lab 23.923, 31.087, -46.202
Binary 01011010, 00101010, 10001100

Color Schemes with #5a2a8c

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

Alternatives to #5a2a8c

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

Similar Colors

#5a2a8c Preview

Text with hexadecimal color #5a2a8c

This text has a font color of #5a2a8c.

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

This paragraph has a background color of #5a2a8c.

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

This element has a border color of #5a2a8c.

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

Shades and Tints of #5a2a8c

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

Shade Color Variation
Tint Color Variation

Tones of #5a2a8c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2a8c 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
  • #444444 Achromatopsia 0.005% of the population
  • #483f52 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004b92 Protanopia 1% of men
  • #004e82 Deuteranopia 1% of men
  • #524b50 Tritanopia 0.001% of the population
Trichromacy
  • #203f90 Protanomaly 1% of men, 0.01% of women
  • #204185 Deuteranomaly 6% of men, 0.4% of women
  • #553f66 Tritanomaly 0.01% of the population