#5a2f80 Color Information

In a RGB color space, hex #5a2f80 is composed of 35.3% red, 18.4% green and 50.2% blue. Whereas in a CMYK color space, it is composed of 29.7% cyan, 63.3% magenta, 0% yellow and 49.8% black. It has a hue angle of 271.9 degrees, a saturation of 46.3% and a lightness of 34.3%. #5a2f80 color hex could be obtained by blending #b45eff with #000001. Closest websafe color is: #663399.

    • R 35
    • G 18
    • B 50
    RGB color chart
    • C 30
    • M 63
    • Y 0
    • K 50
    CMYK color chart

#5a2f80 color description : Dark moderate violet.

#5a2f80 Color Conversion

The hexadecimal color #5a2f80 has RGB values of R:90, G:47, B:128 and CMYK values of C:0.3, M:0.63, Y:0, K:0.5. Its decimal value is 5910400.

Hex triplet 5a2f80 #5a2f80
RGB Decimal 90, 47, 128 rgb(90,47,128)
RGB Percent 35.3, 18.4, 50.2 rgb(35.3%,18.4%,50.2%)
CMYK 30, 63, 0, 50
HSL 271.9°, 46.3, 34.3 hsl(271.9,46.3%,34.3%)
HSV (or HSB) 271.9°, 63.3, 50.2
Web Safe 663399 #663399
CIE-LAB 28.813, 35.82, -38.387
XYZ 9.129, 5.765, 21.053
xyY 0.254, 0.16, 5.765
CIE-LCH 28.813, 52.504, 313.019
CIE-LUV 28.813, 12.042, -53.007
Hunter-Lab 24.011, 25.843, -35.177
Binary 01011010, 00101111, 10000000

Color Schemes with #5a2f80

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

Alternatives to #5a2f80

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

Similar Colors

#5a2f80 Preview

Text with hexadecimal color #5a2f80

This text has a font color of #5a2f80.

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

This paragraph has a background color of #5a2f80.

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

This element has a border color of #5a2f80.

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

Shades and Tints of #5a2f80

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

Shade Color Variation
Tint Color Variation

Tones of #5a2f80

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2f80 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
  • #494151 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004b93 Protanopia 1% of men
  • #214e7f Deuteranopia 1% of men
  • #564a4f Tritanopia 0.001% of the population
Trichromacy
  • #20408c Protanomaly 1% of men, 0.01% of women
  • #36437f Deuteranomaly 6% of men, 0.4% of women
  • #574061 Tritanomaly 0.01% of the population