#5a1b9d Color Information

In a RGB color space, hex #5a1b9d is composed of 35.3% red, 10.6% green and 61.6% blue. Whereas in a CMYK color space, it is composed of 42.7% cyan, 82.8% magenta, 0% yellow and 38.4% black. It has a hue angle of 269.1 degrees, a saturation of 70.7% and a lightness of 36.1%. #5a1b9d color hex could be obtained by blending #b436ff with #00003b. Closest websafe color is: #663399.

    • R 35
    • G 11
    • B 62
    RGB color chart
    • C 43
    • M 83
    • Y 0
    • K 38
    CMYK color chart

#5a1b9d color description : Dark violet.

#5a1b9d Color Conversion

The hexadecimal color #5a1b9d has RGB values of R:90, G:27, B:157 and CMYK values of C:0.43, M:0.83, Y:0, K:0.38. Its decimal value is 5905309.

Hex triplet 5a1b9d #5a1b9d
RGB Decimal 90, 27, 157 rgb(90,27,157)
RGB Percent 35.3, 10.6, 61.6 rgb(35.3%,10.6%,61.6%)
CMYK 43, 83, 0, 38
HSL 269.1°, 70.7, 36.1 hsl(269.1,70.7%,36.1%)
HSV (or HSB) 269.1°, 82.8, 61.6
Web Safe 663399 #663399
CIE-LAB 27.823, 52.482, -57.93
XYZ 10.693, 5.392, 32.374
xyY 0.221, 0.111, 5.392
CIE-LCH 27.823, 78.168, 312.175
CIE-LUV 27.823, 10.431, -76.378
Hunter-Lab 23.22, 41.565, -66.407
Binary 01011010, 00011011, 10011101

Color Schemes with #5a1b9d

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

Alternatives to #5a1b9d

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

Similar Colors

#5a1b9d Preview

Text with hexadecimal color #5a1b9d

This text has a font color of #5a1b9d.

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

This paragraph has a background color of #5a1b9d.

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

This element has a border color of #5a1b9d.

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

Shades and Tints of #5a1b9d

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 #5a1b9d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1b9d 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
  • #3d3d3d Achromatopsia 0.005% of the population
  • #433650 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498e Protanopia 1% of men
  • #004d7d Deuteranopia 1% of men
  • #4b4b50 Tritanopia 0.001% of the population
Trichromacy
  • #203893 Protanomaly 1% of men, 0.01% of women
  • #203b88 Deuteranomaly 6% of men, 0.4% of women
  • #50396c Tritanomaly 0.01% of the population