#5a1f7f Color Information

In a RGB color space, hex #5a1f7f is composed of 35.3% red, 12.2% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 29.1% cyan, 75.6% magenta, 0% yellow and 50.2% black. It has a hue angle of 276.9 degrees, a saturation of 60.8% and a lightness of 31%. #5a1f7f color hex could be obtained by blending #b43efe with #000000. Closest websafe color is: #663366.

    • R 35
    • G 12
    • B 50
    RGB color chart
    • C 29
    • M 76
    • Y 0
    • K 50
    CMYK color chart

#5a1f7f color description : Dark violet.

#5a1f7f Color Conversion

The hexadecimal color #5a1f7f has RGB values of R:90, G:31, B:127 and CMYK values of C:0.29, M:0.76, Y:0, K:0.5. Its decimal value is 5906303.

Hex triplet 5a1f7f #5a1f7f
RGB Decimal 90, 31, 127 rgb(90,31,127)
RGB Percent 35.3, 12.2, 49.8 rgb(35.3%,12.2%,49.8%)
CMYK 29, 76, 0, 50
HSL 276.9°, 60.8, 31 hsl(276.9,60.8%,31%)
HSV (or HSB) 276.9°, 75.6, 49.8
Web Safe 663366 #663366
CIE-LAB 25.821, 43.653, -42.584
XYZ 8.537, 4.686, 20.532
xyY 0.253, 0.139, 4.686
CIE-LCH 25.821, 60.983, 315.71
CIE-LUV 25.821, 15.214, -56.393
Hunter-Lab 21.648, 32.508, -41.082
Binary 01011010, 00011111, 01111111

Color Schemes with #5a1f7f

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

Alternatives to #5a1f7f

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

Similar Colors

#5a1f7f Preview

Text with hexadecimal color #5a1f7f

This text has a font color of #5a1f7f.

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

This paragraph has a background color of #5a1f7f.

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

This element has a border color of #5a1f7f.

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

Shades and Tints of #5a1f7f

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

Shade Color Variation
Tint Color Variation

Tones of #5a1f7f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f7f 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
  • #3c3c3c Achromatopsia 0.005% of the population
  • #423649 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004586 Protanopia 1% of men
  • #004878 Deuteranopia 1% of men
  • #554246 Tritanopia 0.001% of the population
Trichromacy
  • #203784 Protanomaly 1% of men, 0.01% of women
  • #20397a Deuteranomaly 6% of men, 0.4% of women
  • #57355b Tritanomaly 0.01% of the population