#5a1f5c Color Information

In a RGB color space, hex #5a1f5c is composed of 35.3% red, 12.2% green and 36.1% blue. Whereas in a CMYK color space, it is composed of 2.2% cyan, 66.3% magenta, 0% yellow and 63.9% black. It has a hue angle of 298 degrees, a saturation of 49.6% and a lightness of 24.1%. #5a1f5c color hex could be obtained by blending #b43eb8 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 12
    • B 36
    RGB color chart
    • C 2
    • M 66
    • Y 0
    • K 64
    CMYK color chart

#5a1f5c color description : Very dark magenta.

#5a1f5c Color Conversion

The hexadecimal color #5a1f5c has RGB values of R:90, G:31, B:92 and CMYK values of C:0.02, M:0.66, Y:0, K:0.64. Its decimal value is 5906268.

Hex triplet 5a1f5c #5a1f5c
RGB Decimal 90, 31, 92 rgb(90,31,92)
RGB Percent 35.3, 12.2, 36.1 rgb(35.3%,12.2%,36.1%)
CMYK 2, 66, 0, 64
HSL 298°, 49.6, 24.1 hsl(298,49.6%,24.1%)
HSV (or HSB) 298°, 66.3, 36.1
Web Safe 663366 #663366
CIE-LAB 23.428, 35.96, -23.832
XYZ 6.638, 3.927, 10.533
xyY 0.315, 0.186, 3.927
CIE-LCH 23.428, 43.14, 326.466
CIE-LUV 23.428, 22.996, -31.832
Hunter-Lab 19.816, 25.117, -17.644
Binary 01011010, 00011111, 01011100

Color Schemes with #5a1f5c

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

Alternatives to #5a1f5c

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

Similar Colors

#5a1f5c Preview

Text with hexadecimal color #5a1f5c

This text has a font color of #5a1f5c.

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

This paragraph has a background color of #5a1f5c.

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

This element has a border color of #5a1f5c.

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

Shades and Tints of #5a1f5c

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

Shade Color Variation
Tint Color Variation

Tones of #5a1f5c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f5c 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
  • #383838 Achromatopsia 0.005% of the population
  • #3f333f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #224075 Protanopia 1% of men
  • #35415d Deuteranopia 1% of men
  • #5c373a Tritanopia 0.001% of the population
Trichromacy
  • #36346c Protanomaly 1% of men, 0.01% of women
  • #42355d Deuteranomaly 6% of men, 0.4% of women
  • #5b2e46 Tritanomaly 0.01% of the population