#5a1b74 Color Information

In a RGB color space, hex #5a1b74 is composed of 35.3% red, 10.6% green and 45.5% blue. Whereas in a CMYK color space, it is composed of 22.4% cyan, 76.7% magenta, 0% yellow and 54.5% black. It has a hue angle of 282.5 degrees, a saturation of 62.2% and a lightness of 28%. #5a1b74 color hex could be obtained by blending #b436e8 with #000000. Closest websafe color is: #663366.

    • R 35
    • G 11
    • B 45
    RGB color chart
    • C 22
    • M 77
    • Y 0
    • K 55
    CMYK color chart

#5a1b74 color description : Dark violet.

#5a1b74 Color Conversion

The hexadecimal color #5a1b74 has RGB values of R:90, G:27, B:116 and CMYK values of C:0.22, M:0.77, Y:0, K:0.55. Its decimal value is 5905268.

Hex triplet 5a1b74 #5a1b74
RGB Decimal 90, 27, 116 rgb(90,27,116)
RGB Percent 35.3, 10.6, 45.5 rgb(35.3%,10.6%,45.5%)
CMYK 22, 77, 0, 55
HSL 282.5°, 62.2, 28 hsl(282.5,62.2%,28%)
HSV (or HSB) 282.5°, 76.7, 45.5
Web Safe 663366 #663366
CIE-LAB 24.382, 42.853, -37.917
XYZ 7.76, 4.219, 16.928
xyY 0.268, 0.146, 4.219
CIE-LCH 24.382, 57.22, 318.497
CIE-LUV 24.382, 18.056, -49.658
Hunter-Lab 20.54, 31.497, -34.486
Binary 01011010, 00011011, 01110100

Color Schemes with #5a1b74

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

Alternatives to #5a1b74

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

Similar Colors

#5a1b74 Preview

Text with hexadecimal color #5a1b74

This text has a font color of #5a1b74.

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

This paragraph has a background color of #5a1b74.

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

This element has a border color of #5a1b74.

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

Shades and Tints of #5a1b74

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

Shade Color Variation
Tint Color Variation

Tones of #5a1b74

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1b74 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
  • #383838 Achromatopsia 0.005% of the population
  • #3f3244 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004281 Protanopia 1% of men
  • #144572 Deuteranopia 1% of men
  • #583c40 Tritanopia 0.001% of the population
Trichromacy
  • #20337c Protanomaly 1% of men, 0.01% of women
  • #2d3572 Deuteranomaly 6% of men, 0.4% of women
  • #583053 Tritanomaly 0.01% of the population