#5a218a Color Information

In a RGB color space, hex #5a218a is composed of 35.3% red, 12.9% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 34.8% cyan, 76.1% magenta, 0% yellow and 45.9% black. It has a hue angle of 272.6 degrees, a saturation of 61.4% and a lightness of 33.5%. #5a218a color hex could be obtained by blending #b442ff with #000015. Closest websafe color is: #663399.

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

#5a218a color description : Dark violet.

#5a218a Color Conversion

The hexadecimal color #5a218a has RGB values of R:90, G:33, B:138 and CMYK values of C:0.35, M:0.76, Y:0, K:0.46. Its decimal value is 5906826.

Hex triplet 5a218a #5a218a
RGB Decimal 90, 33, 138 rgb(90,33,138)
RGB Percent 35.3, 12.9, 54.1 rgb(35.3%,12.9%,54.1%)
CMYK 35, 76, 0, 46
HSL 272.6°, 61.4, 33.5 hsl(272.6,61.4%,33.5%)
HSV (or HSB) 272.6°, 76.1, 54.1
Web Safe 663399 #663399
CIE-LAB 27.008, 45.41, -47.552
XYZ 9.347, 5.096, 24.535
xyY 0.24, 0.131, 5.096
CIE-LCH 27.008, 65.752, 313.68
CIE-LUV 27.008, 12.892, -63.401
Hunter-Lab 22.575, 34.399, -48.633
Binary 01011010, 00100001, 10001010

Color Schemes with #5a218a

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

Alternatives to #5a218a

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

Similar Colors

#5a218a Preview

Text with hexadecimal color #5a218a

This text has a font color of #5a218a.

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

This paragraph has a background color of #5a218a.

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

This element has a border color of #5a218a.

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

Shades and Tints of #5a218a

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, #07030b is the darkest color, while #fcfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a218a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a218a 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #44384d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478b Protanopia 1% of men
  • #004b7b Deuteranopia 1% of men
  • #52464b Tritanopia 0.001% of the population
Trichromacy
  • #20398b Protanomaly 1% of men, 0.01% of women
  • #203b80 Deuteranomaly 6% of men, 0.4% of women
  • #553862 Tritanomaly 0.01% of the population