#5a2f79 Color Information

In a RGB color space, hex #5a2f79 is composed of 35.3% red, 18.4% green and 47.5% blue. Whereas in a CMYK color space, it is composed of 25.6% cyan, 61.2% magenta, 0% yellow and 52.5% black. It has a hue angle of 274.9 degrees, a saturation of 44% and a lightness of 32.9%. #5a2f79 color hex could be obtained by blending #b45ef2 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 18
    • B 47
    RGB color chart
    • C 26
    • M 61
    • Y 0
    • K 53
    CMYK color chart

#5a2f79 color description : Dark moderate violet.

#5a2f79 Color Conversion

The hexadecimal color #5a2f79 has RGB values of R:90, G:47, B:121 and CMYK values of C:0.26, M:0.61, Y:0, K:0.53. Its decimal value is 5910393.

Hex triplet 5a2f79 #5a2f79
RGB Decimal 90, 47, 121 rgb(90,47,121)
RGB Percent 35.3, 18.4, 47.5 rgb(35.3%,18.4%,47.5%)
CMYK 26, 61, 0, 53
HSL 274.9°, 44, 32.9 hsl(274.9,44%,32.9%)
HSV (or HSB) 274.9°, 61.2, 47.5
Web Safe 663366 #663366
CIE-LAB 28.347, 34.046, -34.729
XYZ 8.684, 5.587, 18.709
xyY 0.263, 0.169, 5.587
CIE-LCH 28.347, 48.634, 314.431
CIE-LUV 28.347, 13.219, -47.9
Hunter-Lab 23.638, 24.209, -30.382
Binary 01011010, 00101111, 01111001

Color Schemes with #5a2f79

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

Alternatives to #5a2f79

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

Similar Colors

#5a2f79 Preview

Text with hexadecimal color #5a2f79

This text has a font color of #5a2f79.

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

This paragraph has a background color of #5a2f79.

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

This element has a border color of #5a2f79.

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

Shades and Tints of #5a2f79

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, #060308 is the darkest color, while #fbf9fd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a2f79

A tone is produced by adding gray to any pure hue. In this case, #554f59 is the less saturated color, while #6102a6 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2f79 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
  • #1a4a8e Protanopia 1% of men
  • #2b4d79 Deuteranopia 1% of men
  • #58484d Tritanopia 0.001% of the population
Trichromacy
  • #314086 Protanomaly 1% of men, 0.01% of women
  • #3c4279 Deuteranomaly 6% of men, 0.4% of women
  • #593f5d Tritanomaly 0.01% of the population