#5a1f6a Color Information

In a RGB color space, hex #5a1f6a is composed of 35.3% red, 12.2% green and 41.6% blue. Whereas in a CMYK color space, it is composed of 15.1% cyan, 70.8% magenta, 0% yellow and 58.4% black. It has a hue angle of 287.2 degrees, a saturation of 54.7% and a lightness of 26.9%. #5a1f6a color hex could be obtained by blending #b43ed4 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 12
    • B 42
    RGB color chart
    • C 15
    • M 71
    • Y 0
    • K 58
    CMYK color chart

#5a1f6a color description : Very dark magenta.

#5a1f6a Color Conversion

The hexadecimal color #5a1f6a has RGB values of R:90, G:31, B:106 and CMYK values of C:0.15, M:0.71, Y:0, K:0.58. Its decimal value is 5906282.

Hex triplet 5a1f6a #5a1f6a
RGB Decimal 90, 31, 106 rgb(90,31,106)
RGB Percent 35.3, 12.2, 41.6 rgb(35.3%,12.2%,41.6%)
CMYK 15, 71, 0, 58
HSL 287.2°, 54.7, 26.9 hsl(287.2,54.7%,26.9%)
HSV (or HSB) 287.2°, 70.8, 41.6
Web Safe 663366 #663366
CIE-LAB 24.304, 38.884, -31.598
XYZ 7.308, 4.195, 14.06
xyY 0.286, 0.164, 4.195
CIE-LCH 24.304, 50.104, 320.902
CIE-LUV 24.304, 19.655, -41.861
Hunter-Lab 20.481, 27.849, -26.365
Binary 01011010, 00011111, 01101010

Color Schemes with #5a1f6a

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

Alternatives to #5a1f6a

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

Similar Colors

#5a1f6a Preview

Text with hexadecimal color #5a1f6a

This text has a font color of #5a1f6a.

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

This paragraph has a background color of #5a1f6a.

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

This element has a border color of #5a1f6a.

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

Shades and Tints of #5a1f6a

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, #0d040f is the darkest color, while #ffffff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1f6a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f6a 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
  • #393939 Achromatopsia 0.005% of the population
  • #403443 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004181 Protanopia 1% of men
  • #2a446a Deuteranopia 1% of men
  • #5a3b3f Tritanopia 0.001% of the population
Trichromacy
  • #203578 Protanomaly 1% of men, 0.01% of women
  • #3b366a Deuteranomaly 6% of men, 0.4% of women
  • #5a314e Tritanomaly 0.01% of the population