#5a1b7e Color Information

In a RGB color space, hex #5a1b7e is composed of 35.3% red, 10.6% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 28.6% cyan, 78.6% magenta, 0% yellow and 50.6% black. It has a hue angle of 278.2 degrees, a saturation of 64.7% and a lightness of 30%. #5a1b7e color hex could be obtained by blending #b436fc with #000000. Closest websafe color is: #663366.

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

#5a1b7e color description : Dark violet.

#5a1b7e Color Conversion

The hexadecimal color #5a1b7e has RGB values of R:90, G:27, B:126 and CMYK values of C:0.29, M:0.79, Y:0, K:0.51. Its decimal value is 5905278.

Hex triplet 5a1b7e #5a1b7e
RGB Decimal 90, 27, 126 rgb(90,27,126)
RGB Percent 35.3, 10.6, 49.4 rgb(35.3%,10.6%,49.4%)
CMYK 29, 79, 0, 51
HSL 278.2°, 64.7, 30 hsl(278.2,64.7%,30%)
HSV (or HSB) 278.2°, 78.6, 49.4
Web Safe 663366 #663366
CIE-LAB 25.15, 45.113, -43.04
XYZ 8.374, 4.464, 20.158
xyY 0.254, 0.135, 4.464
CIE-LCH 25.15, 62.35, 316.347
CIE-LUV 25.15, 15.953, -56.4
Hunter-Lab 21.128, 33.769, -41.777
Binary 01011010, 00011011, 01111110

Color Schemes with #5a1b7e

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

Alternatives to #5a1b7e

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

Similar Colors

#5a1b7e Preview

Text with hexadecimal color #5a1b7e

This text has a font color of #5a1b7e.

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

This paragraph has a background color of #5a1b7e.

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

This element has a border color of #5a1b7e.

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

Shades and Tints of #5a1b7e

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, #09030d is the darkest color, while #fdfcfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a1b7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1b7e 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
  • #203481 Protanomaly 1% of men, 0.01% of women
  • #203778 Deuteranomaly 6% of men, 0.4% of women
  • #573259 Tritanomaly 0.01% of the population