#5f2171 Color Information

In a RGB color space, hex #5f2171 is composed of 37.3% red, 12.9% green and 44.3% blue. Whereas in a CMYK color space, it is composed of 15.9% cyan, 70.8% magenta, 0% yellow and 55.7% black. It has a hue angle of 286.5 degrees, a saturation of 54.8% and a lightness of 28.6%. #5f2171 color hex could be obtained by blending #be42e2 with #000000. Closest websafe color is: #663366.

    • R 37
    • G 13
    • B 44
    RGB color chart
    • C 16
    • M 71
    • Y 0
    • K 56
    CMYK color chart

#5f2171 color description : Very dark magenta.

#5f2171 Color Conversion

The hexadecimal color #5f2171 has RGB values of R:95, G:33, B:113 and CMYK values of C:0.16, M:0.71, Y:0, K:0.56. Its decimal value is 6234481.

Hex triplet 5f2171 #5f2171
RGB Decimal 95, 33, 113 rgb(95,33,113)
RGB Percent 37.3, 12.9, 44.3 rgb(37.3%,12.9%,44.3%)
CMYK 16, 71, 0, 56
HSL 286.5°, 54.8, 28.6 hsl(286.5,54.8%,28.6%)
HSV (or HSB) 286.5°, 70.8, 44.3
Web Safe 663366 #663366
CIE-LAB 25.902, 40.713, -33.51
XYZ 8.243, 4.713, 16.097
xyY 0.284, 0.162, 4.713
CIE-LCH 25.902, 52.73, 320.543
CIE-LUV 25.902, 20.648, -45.438
Hunter-Lab 21.71, 29.786, -28.765
Binary 01011111, 00100001, 01110001

Color Schemes with #5f2171

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

Alternatives to #5f2171

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

Similar Colors

#5f2171 Preview

Text with hexadecimal color #5f2171

This text has a font color of #5f2171.

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

This paragraph has a background color of #5f2171.

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

This element has a border color of #5f2171.

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

Shades and Tints of #5f2171

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

Shade Color Variation
Tint Color Variation

Tones of #5f2171

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5f2171 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #443747 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004587 Protanopia 1% of men
  • #2a4770 Deuteranopia 1% of men
  • #5e3e42 Tritanopia 0.001% of the population
Trichromacy
  • #22387f Protanomaly 1% of men, 0.01% of women
  • #3d3970 Deuteranomaly 6% of men, 0.4% of women
  • #5e3353 Tritanomaly 0.01% of the population