#5a1f5d Color Information

In a RGB color space, hex #5a1f5d is composed of 35.3% red, 12.2% green and 36.5% blue. Whereas in a CMYK color space, it is composed of 3.2% cyan, 66.7% magenta, 0% yellow and 63.5% black. It has a hue angle of 297.1 degrees, a saturation of 50% and a lightness of 24.3%. #5a1f5d color hex could be obtained by blending #b43eba with #000000. Closest websafe color is: #663366.

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

#5a1f5d color description : Very dark magenta.

#5a1f5d Color Conversion

The hexadecimal color #5a1f5d has RGB values of R:90, G:31, B:93 and CMYK values of C:0.03, M:0.67, Y:0, K:0.64. Its decimal value is 5906269.

Hex triplet 5a1f5d #5a1f5d
RGB Decimal 90, 31, 93 rgb(90,31,93)
RGB Percent 35.3, 12.2, 36.5 rgb(35.3%,12.2%,36.5%)
CMYK 3, 67, 0, 64
HSL 297.1°, 50, 24.3 hsl(297.1,50%,24.3%)
HSV (or HSB) 297.1°, 66.7, 36.5
Web Safe 663366 #663366
CIE-LAB 23.486, 36.16, -24.399
XYZ 6.682, 3.944, 10.765
xyY 0.312, 0.184, 3.944
CIE-LCH 23.486, 43.622, 325.991
CIE-LUV 23.486, 22.748, -32.555
Hunter-Lab 19.86, 25.301, -18.234
Binary 01011010, 00011111, 01011101

Color Schemes with #5a1f5d

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

Alternatives to #5a1f5d

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

Similar Colors

#5a1f5d Preview

Text with hexadecimal color #5a1f5d

This text has a font color of #5a1f5d.

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

This paragraph has a background color of #5a1f5d.

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

This element has a border color of #5a1f5d.

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

Shades and Tints of #5a1f5d

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

Shade Color Variation
Tint Color Variation

Tones of #5a1f5d

A tone is produced by adding gray to any pure hue. In this case, #403c40 is the less saturated color, while #74027a is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f5d 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
  • #204076 Protanopia 1% of men
  • #34415e Deuteranopia 1% of men
  • #5c373b Tritanopia 0.001% of the population
Trichromacy
  • #35346d Protanomaly 1% of men, 0.01% of women
  • #42355e Deuteranomaly 6% of men, 0.4% of women
  • #5b2e47 Tritanomaly 0.01% of the population