#5a1f4e Color Information

In a RGB color space, hex #5a1f4e is composed of 35.3% red, 12.2% green and 30.6% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 65.6% magenta, 13.3% yellow and 64.7% black. It has a hue angle of 312.2 degrees, a saturation of 48.8% and a lightness of 23.7%. #5a1f4e color hex could be obtained by blending #b43e9c with #000000. Closest websafe color is: #663366.

    • R 35
    • G 12
    • B 31
    RGB color chart
    • C 0
    • M 66
    • Y 13
    • K 65
    CMYK color chart

#5a1f4e color description : Very dark magenta.

#5a1f4e Color Conversion

The hexadecimal color #5a1f4e has RGB values of R:90, G:31, B:78 and CMYK values of C:0, M:0.66, Y:0.13, K:0.65. Its decimal value is 5906254.

Hex triplet 5a1f4e #5a1f4e
RGB Decimal 90, 31, 78 rgb(90,31,78)
RGB Percent 35.3, 12.2, 30.6 rgb(35.3%,12.2%,30.6%)
CMYK 0, 66, 13, 65
HSL 312.2°, 48.8, 23.7 hsl(312.2,48.8%,23.7%)
HSV (or HSB) 312.2°, 65.6, 35.3
Web Safe 663366 #663366
CIE-LAB 22.668, 33.311, -15.685
XYZ 6.082, 3.704, 7.602
xyY 0.35, 0.213, 3.704
CIE-LCH 22.668, 36.819, 334.786
CIE-LUV 22.668, 26.586, -21.682
Hunter-Lab 19.246, 22.723, -9.947
Binary 01011010, 00011111, 01001110

Color Schemes with #5a1f4e

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

Alternatives to #5a1f4e

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

Similar Colors

#5a1f4e Preview

Text with hexadecimal color #5a1f4e

This text has a font color of #5a1f4e.

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

This paragraph has a background color of #5a1f4e.

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

This element has a border color of #5a1f4e.

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

Shades and Tints of #5a1f4e

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

Shade Color Variation
Tint Color Variation

Tones of #5a1f4e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f4e 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
  • #363636 Achromatopsia 0.005% of the population
  • #3d313b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #2f3f65 Protanopia 1% of men
  • #3c3f51 Deuteranopia 1% of men
  • #5e3336 Tritanopia 0.001% of the population
Trichromacy
  • #3f335d Protanomaly 1% of men, 0.01% of women
  • #473350 Deuteranomaly 6% of men, 0.4% of women
  • #5d2c3f Tritanomaly 0.01% of the population