#5a1b81 Color Information

In a RGB color space, hex #5a1b81 is composed of 35.3% red, 10.6% green and 50.6% blue. Whereas in a CMYK color space, it is composed of 30.2% cyan, 79.1% magenta, 0% yellow and 49.4% black. It has a hue angle of 277.1 degrees, a saturation of 65.4% and a lightness of 30.6%. #5a1b81 color hex could be obtained by blending #b436ff with #000003. Closest websafe color is: #663399.

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

#5a1b81 color description : Dark violet.

#5a1b81 Color Conversion

The hexadecimal color #5a1b81 has RGB values of R:90, G:27, B:129 and CMYK values of C:0.3, M:0.79, Y:0, K:0.49. Its decimal value is 5905281.

Hex triplet 5a1b81 #5a1b81
RGB Decimal 90, 27, 129 rgb(90,27,129)
RGB Percent 35.3, 10.6, 50.6 rgb(35.3%,10.6%,50.6%)
CMYK 30, 79, 0, 49
HSL 277.1°, 65.4, 30.6 hsl(277.1,65.4%,30.6%)
HSV (or HSB) 277.1°, 79.1, 50.6
Web Safe 663399 #663399
CIE-LAB 25.39, 45.805, -44.544
XYZ 8.57, 4.543, 21.193
xyY 0.25, 0.132, 4.543
CIE-LCH 25.39, 63.892, 315.799
CIE-LUV 25.39, 15.354, -58.392
Hunter-Lab 21.314, 34.476, -44.035
Binary 01011010, 00011011, 10000001

Color Schemes with #5a1b81

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

Alternatives to #5a1b81

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

Similar Colors

#5a1b81 Preview

Text with hexadecimal color #5a1b81

This text has a font color of #5a1b81.

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

This paragraph has a background color of #5a1b81.

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

This element has a border color of #5a1b81.

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

Shades and Tints of #5a1b81

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, #0b030f is the darkest color, while #fffeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1b81

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1b81 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
  • #393939 Achromatopsia 0.005% of the population
  • #403347 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004485 Protanopia 1% of men
  • #004776 Deuteranopia 1% of men
  • #544145 Tritanopia 0.001% of the population
Trichromacy
  • #203583 Protanomaly 1% of men, 0.01% of women
  • #20377a Deuteranomaly 6% of men, 0.4% of women
  • #56335b Tritanomaly 0.01% of the population