#5a218c Color Information

In a RGB color space, hex #5a218c is composed of 35.3% red, 12.9% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 35.7% cyan, 76.4% magenta, 0% yellow and 45.1% black. It has a hue angle of 272 degrees, a saturation of 61.8% and a lightness of 33.9%. #5a218c color hex could be obtained by blending #b442ff with #000019. Closest websafe color is: #663399.

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

#5a218c color description : Dark violet.

#5a218c Color Conversion

The hexadecimal color #5a218c has RGB values of R:90, G:33, B:140 and CMYK values of C:0.36, M:0.76, Y:0, K:0.45. Its decimal value is 5906828.

Hex triplet 5a218c #5a218c
RGB Decimal 90, 33, 140 rgb(90,33,140)
RGB Percent 35.3, 12.9, 54.9 rgb(35.3%,12.9%,54.9%)
CMYK 36, 76, 0, 45
HSL 272°, 61.8, 33.9 hsl(272,61.8%,33.9%)
HSV (or HSB) 272°, 76.4, 54.9
Web Safe 663399 #663399
CIE-LAB 27.172, 45.901, -48.529
XYZ 9.493, 5.155, 25.304
xyY 0.238, 0.129, 5.155
CIE-LCH 27.172, 66.798, 313.406
CIE-LUV 27.172, 12.542, -64.725
Hunter-Lab 22.705, 34.901, -50.186
Binary 01011010, 00100001, 10001100

Color Schemes with #5a218c

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

Alternatives to #5a218c

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

Similar Colors

#5a218c Preview

Text with hexadecimal color #5a218c

This text has a font color of #5a218c.

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

This paragraph has a background color of #5a218c.

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

This element has a border color of #5a218c.

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

Shades and Tints of #5a218c

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

Shade Color Variation
Tint Color Variation

Tones of #5a218c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a218c 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
  • #44384e 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
  • #20398c Protanomaly 1% of men, 0.01% of women
  • #203c81 Deuteranomaly 6% of men, 0.4% of women
  • #543963 Tritanomaly 0.01% of the population