#5a1187 Color Information

In a RGB color space, hex #5a1187 is composed of 35.3% red, 6.7% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 33.3% cyan, 87.4% magenta, 0% yellow and 47.1% black. It has a hue angle of 277.1 degrees, a saturation of 77.6% and a lightness of 29.8%. #5a1187 color hex could be obtained by blending #b422ff with #00000f. Closest websafe color is: #660099.

    • R 35
    • G 7
    • B 53
    RGB color chart
    • C 33
    • M 87
    • Y 0
    • K 47
    CMYK color chart

#5a1187 color description : Dark violet.

#5a1187 Color Conversion

The hexadecimal color #5a1187 has RGB values of R:90, G:17, B:135 and CMYK values of C:0.33, M:0.87, Y:0, K:0.47. Its decimal value is 5902727.

Hex triplet 5a1187 #5a1187
RGB Decimal 90, 17, 135 rgb(90,17,135)
RGB Percent 35.3, 6.7, 52.9 rgb(35.3%,6.7%,52.9%)
CMYK 33, 87, 0, 47
HSL 277.1°, 77.6, 29.8 hsl(277.1,77.6%,29.8%)
HSV (or HSB) 277.1°, 87.4, 52.9
Web Safe 660099 #660099
CIE-LAB 24.715, 50.61, -49.415
XYZ 8.789, 4.324, 23.292
xyY 0.241, 0.119, 4.324
CIE-LCH 24.715, 70.733, 315.684
CIE-LUV 24.715, 15.139, -63.357
Hunter-Lab 20.794, 39.059, -51.855
Binary 01011010, 00010001, 10000111

Color Schemes with #5a1187

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

Alternatives to #5a1187

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

Similar Colors

#5a1187 Preview

Text with hexadecimal color #5a1187

This text has a font color of #5a1187.

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

This paragraph has a background color of #5a1187.

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

This element has a border color of #5a1187.

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

Shades and Tints of #5a1187

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

Shade Color Variation
Tint Color Variation

Tones of #5a1187

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a1187 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
  • #343434 Achromatopsia 0.005% of the population
  • #3c2d45 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004282 Protanopia 1% of men
  • #004672 Deuteranopia 1% of men
  • #523f44 Tritanopia 0.001% of the population
Trichromacy
  • #203083 Protanomaly 1% of men, 0.01% of women
  • #20327a Deuteranomaly 6% of men, 0.4% of women
  • #552e5c Tritanomaly 0.01% of the population