#5a1f6b Color Information

In a RGB color space, hex #5a1f6b is composed of 35.3% red, 12.2% green and 42% blue. Whereas in a CMYK color space, it is composed of 15.9% cyan, 71% magenta, 0% yellow and 58% black. It has a hue angle of 286.6 degrees, a saturation of 55.1% and a lightness of 27.1%. #5a1f6b color hex could be obtained by blending #b43ed6 with #000000. Closest websafe color is: #663366.

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

#5a1f6b color description : Very dark magenta.

#5a1f6b Color Conversion

The hexadecimal color #5a1f6b has RGB values of R:90, G:31, B:107 and CMYK values of C:0.16, M:0.71, Y:0, K:0.58. Its decimal value is 5906283.

Hex triplet 5a1f6b #5a1f6b
RGB Decimal 90, 31, 107 rgb(90,31,107)
RGB Percent 35.3, 12.2, 42 rgb(35.3%,12.2%,42%)
CMYK 16, 71, 0, 58
HSL 286.6°, 55.1, 27.1 hsl(286.6,55.1%,27.1%)
HSV (or HSB) 286.6°, 71, 42
Web Safe 663366 #663366
CIE-LAB 24.371, 39.101, -32.139
XYZ 7.36, 4.215, 14.335
xyY 0.284, 0.163, 4.215
CIE-LCH 24.371, 50.614, 320.582
CIE-LUV 24.371, 19.428, -42.568
Hunter-Lab 20.532, 28.057, -27.024
Binary 01011010, 00011111, 01101011

Color Schemes with #5a1f6b

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

Alternatives to #5a1f6b

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

Similar Colors

#5a1f6b Preview

Text with hexadecimal color #5a1f6b

This text has a font color of #5a1f6b.

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

This paragraph has a background color of #5a1f6b.

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

This element has a border color of #5a1f6b.

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

Shades and Tints of #5a1f6b

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

Shade Color Variation
Tint Color Variation

Tones of #5a1f6b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f6b 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
  • #004281 Protanopia 1% of men
  • #28446a Deuteranopia 1% of men
  • #5a3b3f Tritanopia 0.001% of the population
Trichromacy
  • #203579 Protanomaly 1% of men, 0.01% of women
  • #3a366a Deuteranomaly 6% of men, 0.4% of women
  • #5a314f Tritanomaly 0.01% of the population