#5a2f7c Color Information

In a RGB color space, hex #5a2f7c is composed of 35.3% red, 18.4% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 27.4% cyan, 62.1% magenta, 0% yellow and 51.4% black. It has a hue angle of 273.5 degrees, a saturation of 45% and a lightness of 33.5%. #5a2f7c color hex could be obtained by blending #b45ef8 with #000000. Closest websafe color is: #663366.

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

#5a2f7c color description : Dark moderate violet.

#5a2f7c Color Conversion

The hexadecimal color #5a2f7c has RGB values of R:90, G:47, B:124 and CMYK values of C:0.27, M:0.62, Y:0, K:0.51. Its decimal value is 5910396.

Hex triplet 5a2f7c #5a2f7c
RGB Decimal 90, 47, 124 rgb(90,47,124)
RGB Percent 35.3, 18.4, 48.6 rgb(35.3%,18.4%,48.6%)
CMYK 27, 62, 0, 51
HSL 273.5°, 45, 33.5 hsl(273.5,45%,33.5%)
HSV (or HSB) 273.5°, 62.1, 48.6
Web Safe 663366 #663366
CIE-LAB 28.543, 34.801, -36.306
XYZ 8.871, 5.662, 19.693
xyY 0.259, 0.165, 5.662
CIE-LCH 28.543, 50.292, 313.787
CIE-LUV 28.543, 12.708, -50.099
Hunter-Lab 23.795, 24.901, -32.413
Binary 01011010, 00101111, 01111100

Color Schemes with #5a2f7c

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

Alternatives to #5a2f7c

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

Similar Colors

#5a2f7c Preview

Text with hexadecimal color #5a2f7c

This text has a font color of #5a2f7c.

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

This paragraph has a background color of #5a2f7c.

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

This element has a border color of #5a2f7c.

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

Shades and Tints of #5a2f7c

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 #fcfbfd is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a2f7c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2f7c 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
  • #104a91 Protanopia 1% of men
  • #274d7b Deuteranopia 1% of men
  • #57494e Tritanopia 0.001% of the population
Trichromacy
  • #2b4089 Protanomaly 1% of men, 0.01% of women
  • #3a427b Deuteranomaly 6% of men, 0.4% of women
  • #583f5f Tritanomaly 0.01% of the population