#5a229a Color Information

In a RGB color space, hex #5a229a is composed of 35.3% red, 13.3% green and 60.4% blue. Whereas in a CMYK color space, it is composed of 41.6% cyan, 77.9% magenta, 0% yellow and 39.6% black. It has a hue angle of 268 degrees, a saturation of 63.8% and a lightness of 36.9%. #5a229a color hex could be obtained by blending #b444ff with #000035. Closest websafe color is: #663399.

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

#5a229a color description : Dark violet.

#5a229a Color Conversion

The hexadecimal color #5a229a has RGB values of R:90, G:34, B:154 and CMYK values of C:0.42, M:0.78, Y:0, K:0.4. Its decimal value is 5907098.

Hex triplet 5a229a #5a229a
RGB Decimal 90, 34, 154 rgb(90,34,154)
RGB Percent 35.3, 13.3, 60.4 rgb(35.3%,13.3%,60.4%)
CMYK 42, 78, 0, 40
HSL 268°, 63.8, 36.9 hsl(268,63.8%,36.9%)
HSV (or HSB) 268°, 77.9, 60.4
Web Safe 663399 #663399
CIE-LAB 28.514, 48.955, -54.967
XYZ 10.62, 5.651, 31.101
xyY 0.224, 0.119, 5.651
CIE-LCH 28.514, 73.607, 311.689
CIE-LUV 28.514, 10.12, -73.692
Hunter-Lab 23.772, 38.147, -60.932
Binary 01011010, 00100010, 10011010

Color Schemes with #5a229a

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

Alternatives to #5a229a

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

Similar Colors

#5a229a Preview

Text with hexadecimal color #5a229a

This text has a font color of #5a229a.

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

This paragraph has a background color of #5a229a.

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

This element has a border color of #5a229a.

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

Shades and Tints of #5a229a

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

Shade Color Variation
Tint Color Variation

Tones of #5a229a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a229a 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
  • #404040 Achromatopsia 0.005% of the population
  • #453a52 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004a91 Protanopia 1% of men
  • #004e7f Deuteranopia 1% of men
  • #4d4c51 Tritanopia 0.001% of the population
Trichromacy
  • #203b94 Protanomaly 1% of men, 0.01% of women
  • #203e89 Deuteranomaly 6% of men, 0.4% of women
  • #513c6c Tritanomaly 0.01% of the population