#5a2f7e Color Information

In a RGB color space, hex #5a2f7e is composed of 35.3% red, 18.4% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 28.6% cyan, 62.7% magenta, 0% yellow and 50.6% black. It has a hue angle of 272.7 degrees, a saturation of 45.7% and a lightness of 33.9%. #5a2f7e color hex could be obtained by blending #b45efc with #000000. Closest websafe color is: #663366.

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

#5a2f7e color description : Dark moderate violet.

#5a2f7e Color Conversion

The hexadecimal color #5a2f7e has RGB values of R:90, G:47, B:126 and CMYK values of C:0.29, M:0.63, Y:0, K:0.51. Its decimal value is 5910398.

Hex triplet 5a2f7e #5a2f7e
RGB Decimal 90, 47, 126 rgb(90,47,126)
RGB Percent 35.3, 18.4, 49.4 rgb(35.3%,18.4%,49.4%)
CMYK 29, 63, 0, 51
HSL 272.7°, 45.7, 33.9 hsl(272.7,45.7%,33.9%)
HSV (or HSB) 272.7°, 62.7, 49.4
Web Safe 663366 #663366
CIE-LAB 28.677, 35.309, -37.35
XYZ 8.998, 5.713, 20.366
xyY 0.257, 0.163, 5.713
CIE-LCH 28.677, 51.398, 313.391
CIE-LUV 28.677, 12.373, -51.557
Hunter-Lab 23.902, 25.369, -33.787
Binary 01011010, 00101111, 01111110

Color Schemes with #5a2f7e

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

Alternatives to #5a2f7e

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

Similar Colors

#5a2f7e Preview

Text with hexadecimal color #5a2f7e

This text has a font color of #5a2f7e.

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

This paragraph has a background color of #5a2f7e.

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

This element has a border color of #5a2f7e.

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

Shades and Tints of #5a2f7e

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

Shade Color Variation
Tint Color Variation

Tones of #5a2f7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2f7e 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
  • #454545 Achromatopsia 0.005% of the population
  • #494150 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004a93 Protanopia 1% of men
  • #244e7d Deuteranopia 1% of men
  • #57494f Tritanopia 0.001% of the population
Trichromacy
  • #20408b Protanomaly 1% of men, 0.01% of women
  • #38427d Deuteranomaly 6% of men, 0.4% of women
  • #584060 Tritanomaly 0.01% of the population