#5a1f8c Color Information

In a RGB color space, hex #5a1f8c is composed of 35.3% red, 12.2% green and 54.9% blue. Whereas in a CMYK color space, it is composed of 35.7% cyan, 77.9% magenta, 0% yellow and 45.1% black. It has a hue angle of 272.5 degrees, a saturation of 63.7% and a lightness of 33.5%. #5a1f8c color hex could be obtained by blending #b43eff with #000019. Closest websafe color is: #663399.

    • R 35
    • G 12
    • B 55
    RGB color chart
    • C 36
    • M 78
    • Y 0
    • K 45
    CMYK color chart

#5a1f8c color description : Dark violet.

#5a1f8c Color Conversion

The hexadecimal color #5a1f8c has RGB values of R:90, G:31, B:140 and CMYK values of C:0.36, M:0.78, Y:0, K:0.45. Its decimal value is 5906316.

Hex triplet 5a1f8c #5a1f8c
RGB Decimal 90, 31, 140 rgb(90,31,140)
RGB Percent 35.3, 12.2, 54.9 rgb(35.3%,12.2%,54.9%)
CMYK 36, 78, 0, 45
HSL 272.5°, 63.7, 33.5 hsl(272.5,63.7%,33.5%)
HSV (or HSB) 272.5°, 77.9, 54.9
Web Safe 663399 #663399
CIE-LAB 26.869, 46.767, -49.022
XYZ 9.439, 5.047, 25.286
xyY 0.237, 0.127, 5.047
CIE-LCH 26.869, 67.752, 313.651
CIE-LUV 26.869, 12.808, -65.041
Hunter-Lab 22.466, 35.683, -51.007
Binary 01011010, 00011111, 10001100

Color Schemes with #5a1f8c

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

Alternatives to #5a1f8c

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

Similar Colors

#5a1f8c Preview

Text with hexadecimal color #5a1f8c

This text has a font color of #5a1f8c.

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

This paragraph has a background color of #5a1f8c.

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

This element has a border color of #5a1f8c.

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

Shades and Tints of #5a1f8c

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, #07030c is the darkest color, while #fcfafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1f8c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f8c 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
  • #43374d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00478b Protanopia 1% of men
  • #004b7a Deuteranopia 1% of men
  • #51464b Tritanopia 0.001% of the population
Trichromacy
  • #20388b Protanomaly 1% of men, 0.01% of women
  • #203b81 Deuteranomaly 6% of men, 0.4% of women
  • #543862 Tritanomaly 0.01% of the population