#5a228a Color Information

In a RGB color space, hex #5a228a is composed of 35.3% red, 13.3% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 34.8% cyan, 75.4% magenta, 0% yellow and 45.9% black. It has a hue angle of 272.3 degrees, a saturation of 60.5% and a lightness of 33.7%. #5a228a color hex could be obtained by blending #b444ff with #000015. Closest websafe color is: #663399.

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

#5a228a color description : Dark violet.

#5a228a Color Conversion

The hexadecimal color #5a228a has RGB values of R:90, G:34, B:138 and CMYK values of C:0.35, M:0.75, Y:0, K:0.46. Its decimal value is 5907082.

Hex triplet 5a228a #5a228a
RGB Decimal 90, 34, 138 rgb(90,34,138)
RGB Percent 35.3, 13.3, 54.1 rgb(35.3%,13.3%,54.1%)
CMYK 35, 75, 0, 46
HSL 272.3°, 60.5, 33.7 hsl(272.3,60.5%,33.7%)
HSV (or HSB) 272.3°, 75.4, 54.1
Web Safe 663399 #663399
CIE-LAB 27.166, 44.961, -47.295
XYZ 9.375, 5.153, 24.544
xyY 0.24, 0.132, 5.153
CIE-LCH 27.166, 65.256, 313.551
CIE-LUV 27.166, 12.75, -63.226
Hunter-Lab 22.7, 33.997, -48.217
Binary 01011010, 00100010, 10001010

Color Schemes with #5a228a

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

Alternatives to #5a228a

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

Similar Colors

#5a228a Preview

Text with hexadecimal color #5a228a

This text has a font color of #5a228a.

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

This paragraph has a background color of #5a228a.

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

This element has a border color of #5a228a.

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

Shades and Tints of #5a228a

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, #08030c is the darkest color, while #fdfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a228a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a228a 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
  • #3f3f3f Achromatopsia 0.005% of the population
  • #44394e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478c Protanopia 1% of men
  • #004b7c Deuteranopia 1% of men
  • #52474c Tritanopia 0.001% of the population
Trichromacy
  • #203a8b Protanomaly 1% of men, 0.01% of women
  • #203c81 Deuteranomaly 6% of men, 0.4% of women
  • #553962 Tritanomaly 0.01% of the population