#5a2e7c Color Information

In a RGB color space, hex #5a2e7c is composed of 35.3% red, 18% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 27.4% cyan, 62.9% magenta, 0% yellow and 51.4% black. It has a hue angle of 273.8 degrees, a saturation of 45.9% and a lightness of 33.3%. #5a2e7c color hex could be obtained by blending #b45cf8 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 18
    • B 49
    RGB color chart
    • C 27
    • M 63
    • Y 0
    • K 51
    CMYK color chart

#5a2e7c color description : Dark moderate violet.

#5a2e7c Color Conversion

The hexadecimal color #5a2e7c has RGB values of R:90, G:46, B:124 and CMYK values of C:0.27, M:0.63, Y:0, K:0.51. Its decimal value is 5910140.

Hex triplet 5a2e7c #5a2e7c
RGB Decimal 90, 46, 124 rgb(90,46,124)
RGB Percent 35.3, 18, 48.6 rgb(35.3%,18%,48.6%)
CMYK 27, 63, 0, 51
HSL 273.8°, 45.9, 33.3 hsl(273.8,45.9%,33.3%)
HSV (or HSB) 273.8°, 62.9, 48.6
Web Safe 663366 #663366
CIE-LAB 28.335, 35.361, -36.64
XYZ 8.831, 5.583, 19.68
xyY 0.259, 0.164, 5.583
CIE-LCH 28.335, 50.921, 313.983
CIE-LUV 28.335, 12.945, -50.438
Hunter-Lab 23.628, 25.363, -32.843
Binary 01011010, 00101110, 01111100

Color Schemes with #5a2e7c

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

Alternatives to #5a2e7c

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

Similar Colors

#5a2e7c Preview

Text with hexadecimal color #5a2e7c

This text has a font color of #5a2e7c.

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

This paragraph has a background color of #5a2e7c.

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

This element has a border color of #5a2e7c.

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

Shades and Tints of #5a2e7c

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, #07040a is the darkest color, while #fcfafd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a2e7c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2e7c 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
  • #48404f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004a91 Protanopia 1% of men
  • #264d7b Deuteranopia 1% of men
  • #57484d Tritanopia 0.001% of the population
Trichromacy
  • #203f89 Protanomaly 1% of men, 0.01% of women
  • #39417b Deuteranomaly 6% of men, 0.4% of women
  • #583f5e Tritanomaly 0.01% of the population