#5a1f5e Color Information

In a RGB color space, hex #5a1f5e is composed of 35.3% red, 12.2% green and 36.9% blue. Whereas in a CMYK color space, it is composed of 4.3% cyan, 67% magenta, 0% yellow and 63.1% black. It has a hue angle of 296.2 degrees, a saturation of 50.4% and a lightness of 24.5%. #5a1f5e color hex could be obtained by blending #b43ebc with #000000. Closest websafe color is: #663366.

    • R 35
    • G 12
    • B 37
    RGB color chart
    • C 4
    • M 67
    • Y 0
    • K 63
    CMYK color chart

#5a1f5e color description : Very dark magenta.

#5a1f5e Color Conversion

The hexadecimal color #5a1f5e has RGB values of R:90, G:31, B:94 and CMYK values of C:0.04, M:0.67, Y:0, K:0.63. Its decimal value is 5906270.

Hex triplet 5a1f5e #5a1f5e
RGB Decimal 90, 31, 94 rgb(90,31,94)
RGB Percent 35.3, 12.2, 36.9 rgb(35.3%,12.2%,36.9%)
CMYK 4, 67, 0, 63
HSL 296.2°, 50.4, 24.5 hsl(296.2,50.4%,24.5%)
HSV (or HSB) 296.2°, 67, 36.9
Web Safe 663366 #663366
CIE-LAB 23.546, 36.362, -24.964
XYZ 6.727, 3.962, 11
xyY 0.31, 0.183, 3.962
CIE-LCH 23.546, 44.107, 325.529
CIE-LUV 23.546, 22.502, -33.277
Hunter-Lab 19.905, 25.487, -18.83
Binary 01011010, 00011111, 01011110

Color Schemes with #5a1f5e

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

Alternatives to #5a1f5e

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

Similar Colors

#5a1f5e Preview

Text with hexadecimal color #5a1f5e

This text has a font color of #5a1f5e.

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

This paragraph has a background color of #5a1f5e.

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

This element has a border color of #5a1f5e.

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

Shades and Tints of #5a1f5e

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

Shade Color Variation
Tint Color Variation

Tones of #5a1f5e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f5e 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
  • #3f3340 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #1f4077 Protanopia 1% of men
  • #34425f Deuteranopia 1% of men
  • #5c373b Tritanopia 0.001% of the population
Trichromacy
  • #34346e Protanomaly 1% of men, 0.01% of women
  • #41355f Deuteranomaly 6% of men, 0.4% of women
  • #5b2e48 Tritanomaly 0.01% of the population