#5a1f81 Color Information

In a RGB color space, hex #5a1f81 is composed of 35.3% red, 12.2% green and 50.6% blue. Whereas in a CMYK color space, it is composed of 30.2% cyan, 76% magenta, 0% yellow and 49.4% black. It has a hue angle of 276.1 degrees, a saturation of 61.3% and a lightness of 31.4%. #5a1f81 color hex could be obtained by blending #b43eff with #000003. Closest websafe color is: #663399.

    • R 35
    • G 12
    • B 51
    RGB color chart
    • C 30
    • M 76
    • Y 0
    • K 49
    CMYK color chart

#5a1f81 color description : Dark violet.

#5a1f81 Color Conversion

The hexadecimal color #5a1f81 has RGB values of R:90, G:31, B:129 and CMYK values of C:0.3, M:0.76, Y:0, K:0.49. Its decimal value is 5906305.

Hex triplet 5a1f81 #5a1f81
RGB Decimal 90, 31, 129 rgb(90,31,129)
RGB Percent 35.3, 12.2, 50.6 rgb(35.3%,12.2%,50.6%)
CMYK 30, 76, 0, 49
HSL 276.1°, 61.3, 31.4 hsl(276.1,61.3%,31.4%)
HSV (or HSB) 276.1°, 76, 50.6
Web Safe 663399 #663399
CIE-LAB 25.977, 44.125, -43.591
XYZ 8.668, 4.739, 21.226
xyY 0.25, 0.137, 4.739
CIE-LCH 25.977, 62.026, 315.349
CIE-LUV 25.977, 14.828, -57.74
Hunter-Lab 21.769, 32.983, -42.573
Binary 01011010, 00011111, 10000001

Color Schemes with #5a1f81

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

Alternatives to #5a1f81

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

Similar Colors

#5a1f81 Preview

Text with hexadecimal color #5a1f81

This text has a font color of #5a1f81.

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

This paragraph has a background color of #5a1f81.

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

This element has a border color of #5a1f81.

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

Shades and Tints of #5a1f81

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

Shade Color Variation
Tint Color Variation

Tones of #5a1f81

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1f81 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
  • #42364a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004587 Protanopia 1% of men
  • #004878 Deuteranopia 1% of men
  • #554247 Tritanopia 0.001% of the population
Trichromacy
  • #203785 Protanomaly 1% of men, 0.01% of women
  • #20397b Deuteranomaly 6% of men, 0.4% of women
  • #56355c Tritanomaly 0.01% of the population