#5a2f74 Color Information

In a RGB color space, hex #5a2f74 is composed of 35.3% red, 18.4% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 22.4% cyan, 59.5% magenta, 0% yellow and 54.5% black. It has a hue angle of 277.4 degrees, a saturation of 42.3% and a lightness of 32%. #5a2f74 color hex could be obtained by blending #b45ee8 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 18
    • B 45
    RGB color chart
    • C 22
    • M 59
    • Y 0
    • K 55
    CMYK color chart

#5a2f74 color description : Dark moderate violet.

#5a2f74 Color Conversion

The hexadecimal color #5a2f74 has RGB values of R:90, G:47, B:116 and CMYK values of C:0.22, M:0.59, Y:0, K:0.55. Its decimal value is 5910388.

Hex triplet 5a2f74 #5a2f74
RGB Decimal 90, 47, 116 rgb(90,47,116)
RGB Percent 35.3, 18.4, 45.5 rgb(35.3%,18.4%,45.5%)
CMYK 22, 59, 0, 55
HSL 277.4°, 42.3, 32 hsl(277.4,42.3%,32%)
HSV (or HSB) 277.4°, 59.5, 45.5
Web Safe 663366 #663366
CIE-LAB 28.028, 32.806, -32.07
XYZ 8.385, 5.468, 17.136
xyY 0.271, 0.176, 5.468
CIE-LCH 28.028, 45.877, 315.65
CIE-LUV 28.028, 14.091, -44.204
Hunter-Lab 23.383, 23.086, -27.08
Binary 01011010, 00101111, 01110100

Color Schemes with #5a2f74

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

Alternatives to #5a2f74

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

Similar Colors

#5a2f74 Preview

Text with hexadecimal color #5a2f74

This text has a font color of #5a2f74.

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

This paragraph has a background color of #5a2f74.

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

This element has a border color of #5a2f74.

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

Shades and Tints of #5a2f74

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

Shade Color Variation
Tint Color Variation

Tones of #5a2f74

A tone is produced by adding gray to any pure hue. In this case, #524e55 is the less saturated color, while #6503a0 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a2f74 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
  • #48404e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #244988 Protanopia 1% of men
  • #314c75 Deuteranopia 1% of men
  • #59474c Tritanopia 0.001% of the population
Trichromacy
  • #374081 Protanomaly 1% of men, 0.01% of women
  • #404174 Deuteranomaly 6% of men, 0.4% of women
  • #593e5a Tritanomaly 0.01% of the population