#5a1b7f Color Information

In a RGB color space, hex #5a1b7f is composed of 35.3% red, 10.6% green and 49.8% blue. Whereas in a CMYK color space, it is composed of 29.1% cyan, 78.7% magenta, 0% yellow and 50.2% black. It has a hue angle of 277.8 degrees, a saturation of 64.9% and a lightness of 30.2%. #5a1b7f color hex could be obtained by blending #b436fe with #000000. Closest websafe color is: #663366.

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

#5a1b7f color description : Dark violet.

#5a1b7f Color Conversion

The hexadecimal color #5a1b7f has RGB values of R:90, G:27, B:127 and CMYK values of C:0.29, M:0.79, Y:0, K:0.5. Its decimal value is 5905279.

Hex triplet 5a1b7f #5a1b7f
RGB Decimal 90, 27, 127 rgb(90,27,127)
RGB Percent 35.3, 10.6, 49.8 rgb(35.3%,10.6%,49.8%)
CMYK 29, 79, 0, 50
HSL 277.8°, 64.9, 30.2 hsl(277.8,64.9%,30.2%)
HSV (or HSB) 277.8°, 78.7, 49.8
Web Safe 663366 #663366
CIE-LAB 25.23, 45.343, -43.543
XYZ 8.439, 4.49, 20.5
xyY 0.252, 0.134, 4.49
CIE-LCH 25.23, 62.864, 316.16
CIE-LUV 25.23, 15.752, -57.066
Hunter-Lab 21.19, 34.004, -42.526
Binary 01011010, 00011011, 01111111

Color Schemes with #5a1b7f

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

Alternatives to #5a1b7f

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

Similar Colors

#5a1b7f Preview

Text with hexadecimal color #5a1b7f

This text has a font color of #5a1b7f.

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

This paragraph has a background color of #5a1b7f.

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

This element has a border color of #5a1b7f.

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

Shades and Tints of #5a1b7f

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

Shade Color Variation
Tint Color Variation

Tones of #5a1b7f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1b7f 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
  • #004384 Protanopia 1% of men
  • #004775 Deuteranopia 1% of men
  • #554044 Tritanopia 0.001% of the population
Trichromacy
  • #203582 Protanomaly 1% of men, 0.01% of women
  • #203779 Deuteranomaly 6% of men, 0.4% of women
  • #57325a Tritanomaly 0.01% of the population