#5a1f8a Color Information

In a RGB color space, hex #5a1f8a is composed of 35.3% red, 12.2% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 34.8% cyan, 77.5% magenta, 0% yellow and 45.9% black. It has a hue angle of 273.1 degrees, a saturation of 63.3% and a lightness of 33.1%. #5a1f8a color hex could be obtained by blending #b43eff with #000015. Closest websafe color is: #663399.

    • R 35
    • G 12
    • B 54
    RGB color chart
    • C 35
    • M 78
    • Y 0
    • K 46
    CMYK color chart

#5a1f8a color description : Dark violet.

#5a1f8a Color Conversion

The hexadecimal color #5a1f8a has RGB values of R:90, G:31, B:138 and CMYK values of C:0.35, M:0.78, Y:0, K:0.46. Its decimal value is 5906314.

Hex triplet 5a1f8a #5a1f8a
RGB Decimal 90, 31, 138 rgb(90,31,138)
RGB Percent 35.3, 12.2, 54.1 rgb(35.3%,12.2%,54.1%)
CMYK 35, 78, 0, 46
HSL 273.1°, 63.3, 33.1 hsl(273.1,63.3%,33.1%)
HSV (or HSB) 273.1°, 77.5, 54.1
Web Safe 663399 #663399
CIE-LAB 26.703, 46.282, -48.049
XYZ 9.293, 4.989, 24.517
xyY 0.24, 0.129, 4.989
CIE-LCH 26.703, 66.713, 313.927
CIE-LUV 26.703, 13.162, -63.727
Hunter-Lab 22.336, 35.182, -49.445
Binary 01011010, 00011111, 10001010

Color Schemes with #5a1f8a

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

Alternatives to #5a1f8a

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

Similar Colors

#5a1f8a Preview

Text with hexadecimal color #5a1f8a

This text has a font color of #5a1f8a.

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

This paragraph has a background color of #5a1f8a.

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

This element has a border color of #5a1f8a.

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

Shades and Tints of #5a1f8a

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, #06020a is the darkest color, while #fbf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1f8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f8a 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
  • #43374c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00468a Protanopia 1% of men
  • #004a7a Deuteranopia 1% of men
  • #52454a Tritanopia 0.001% of the population
Trichromacy
  • #20388a Protanomaly 1% of men, 0.01% of women
  • #203a80 Deuteranomaly 6% of men, 0.4% of women
  • #553761 Tritanomaly 0.01% of the population