#5a2f7f Color Information

In a RGB color space, hex #5a2f7f is composed of 35.3% red, 18.4% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 29.1% cyan, 63% magenta, 0% yellow and 50.2% black. It has a hue angle of 272.3 degrees, a saturation of 46% and a lightness of 34.1%. #5a2f7f color hex could be obtained by blending #b45efe with #000000. Closest websafe color is: #663366.

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

#5a2f7f color description : Dark moderate violet.

#5a2f7f Color Conversion

The hexadecimal color #5a2f7f has RGB values of R:90, G:47, B:127 and CMYK values of C:0.29, M:0.63, Y:0, K:0.5. Its decimal value is 5910399.

Hex triplet 5a2f7f #5a2f7f
RGB Decimal 90, 47, 127 rgb(90,47,127)
RGB Percent 35.3, 18.4, 49.8 rgb(35.3%,18.4%,49.8%)
CMYK 29, 63, 0, 50
HSL 272.3°, 46, 34.1 hsl(272.3,46%,34.1%)
HSV (or HSB) 272.3°, 63, 49.8
Web Safe 663366 #663366
CIE-LAB 28.745, 35.564, -37.869
XYZ 9.063, 5.739, 20.708
xyY 0.255, 0.162, 5.739
CIE-LCH 28.745, 51.951, 313.202
CIE-LUV 28.745, 12.207, -52.283
Hunter-Lab 23.957, 25.606, -34.48
Binary 01011010, 00101111, 01111111

Color Schemes with #5a2f7f

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

Alternatives to #5a2f7f

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

Similar Colors

#5a2f7f Preview

Text with hexadecimal color #5a2f7f

This text has a font color of #5a2f7f.

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

This paragraph has a background color of #5a2f7f.

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

This element has a border color of #5a2f7f.

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

Shades and Tints of #5a2f7f

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

Shade Color Variation
Tint Color Variation

Tones of #5a2f7f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2f7f 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
  • #234e7e Deuteranopia 1% of men
  • #564a4f Tritanopia 0.001% of the population
Trichromacy
  • #20408c Protanomaly 1% of men, 0.01% of women
  • #37427e Deuteranomaly 6% of men, 0.4% of women
  • #584060 Tritanomaly 0.01% of the population