#5a1b8a Color Information

In a RGB color space, hex #5a1b8a is composed of 35.3% red, 10.6% green and 54.1% blue. Whereas in a CMYK color space, it is composed of 34.8% cyan, 80.4% magenta, 0% yellow and 45.9% black. It has a hue angle of 274.1 degrees, a saturation of 67.3% and a lightness of 32.4%. #5a1b8a color hex could be obtained by blending #b436ff with #000015. Closest websafe color is: #663399.

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

#5a1b8a color description : Dark violet.

#5a1b8a Color Conversion

The hexadecimal color #5a1b8a has RGB values of R:90, G:27, B:138 and CMYK values of C:0.35, M:0.8, Y:0, K:0.46. Its decimal value is 5905290.

Hex triplet 5a1b8a #5a1b8a
RGB Decimal 90, 27, 138 rgb(90,27,138)
RGB Percent 35.3, 10.6, 54.1 rgb(35.3%,10.6%,54.1%)
CMYK 35, 80, 0, 46
HSL 274.1°, 67.3, 32.4 hsl(274.1,67.3%,32.4%)
HSV (or HSB) 274.1°, 80.4, 54.1
Web Safe 663399 #663399
CIE-LAB 26.136, 47.913, -48.972
XYZ 9.195, 4.793, 24.484
xyY 0.239, 0.125, 4.793
CIE-LCH 26.136, 68.512, 314.373
CIE-LUV 26.136, 13.647, -64.29
Hunter-Lab 21.892, 36.662, -50.985
Binary 01011010, 00011011, 10001010

Color Schemes with #5a1b8a

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

Alternatives to #5a1b8a

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

Similar Colors

#5a1b8a Preview

Text with hexadecimal color #5a1b8a

This text has a font color of #5a1b8a.

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

This paragraph has a background color of #5a1b8a.

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

This element has a border color of #5a1b8a.

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

Shades and Tints of #5a1b8a

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

Shade Color Variation
Tint Color Variation

Tones of #5a1b8a

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1b8a 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
  • #3a3a3a Achromatopsia 0.005% of the population
  • #40344a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004588 Protanopia 1% of men
  • #004978 Deuteranopia 1% of men
  • #524449 Tritanopia 0.001% of the population
Trichromacy
  • #203688 Protanomaly 1% of men, 0.01% of women
  • #20387e Deuteranomaly 6% of men, 0.4% of women
  • #553560 Tritanomaly 0.01% of the population