#5a1d9b Color Information

In a RGB color space, hex #5a1d9b is composed of 35.3% red, 11.4% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 41.9% cyan, 81.3% magenta, 0% yellow and 39.2% black. It has a hue angle of 269 degrees, a saturation of 68.5% and a lightness of 36.1%. #5a1d9b color hex could be obtained by blending #b43aff with #000037. Closest websafe color is: #663399.

    • R 35
    • G 11
    • B 61
    RGB color chart
    • C 42
    • M 81
    • Y 0
    • K 39
    CMYK color chart

#5a1d9b color description : Dark violet.

#5a1d9b Color Conversion

The hexadecimal color #5a1d9b has RGB values of R:90, G:29, B:155 and CMYK values of C:0.42, M:0.81, Y:0, K:0.39. Its decimal value is 5905819.

Hex triplet 5a1d9b #5a1d9b
RGB Decimal 90, 29, 155 rgb(90,29,155)
RGB Percent 35.3, 11.4, 60.8 rgb(35.3%,11.4%,60.8%)
CMYK 42, 81, 0, 39
HSL 269°, 68.5, 36.1 hsl(269,68.5%,36.1%)
HSV (or HSB) 269°, 81.3, 60.8
Web Safe 663399 #663399
CIE-LAB 27.897, 51.245, -56.589
XYZ 10.571, 5.419, 31.498
xyY 0.223, 0.114, 5.419
CIE-LCH 27.897, 76.343, 312.163
CIE-LUV 27.897, 10.544, -74.931
Hunter-Lab 23.279, 40.322, -63.928
Binary 01011010, 00011101, 10011011

Color Schemes with #5a1d9b

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

Alternatives to #5a1d9b

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

Similar Colors

#5a1d9b Preview

Text with hexadecimal color #5a1d9b

This text has a font color of #5a1d9b.

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

This paragraph has a background color of #5a1d9b.

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

This element has a border color of #5a1d9b.

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

Shades and Tints of #5a1d9b

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

Shade Color Variation
Tint Color Variation

Tones of #5a1d9b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1d9b 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
  • #3e3e3e Achromatopsia 0.005% of the population
  • #443751 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498f Protanopia 1% of men
  • #004d7d Deuteranopia 1% of men
  • #4c4a50 Tritanopia 0.001% of the population
Trichromacy
  • #203993 Protanomaly 1% of men, 0.01% of women
  • #203b88 Deuteranomaly 6% of men, 0.4% of women
  • #513a6b Tritanomaly 0.01% of the population