#5a187e Color Information

In a RGB color space, hex #5a187e is composed of 35.3% red, 9.4% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 28.6% cyan, 81% magenta, 0% yellow and 50.6% black. It has a hue angle of 278.8 degrees, a saturation of 68% and a lightness of 29.4%. #5a187e color hex could be obtained by blending #b430fc with #000000. Closest websafe color is: #660066.

    • R 35
    • G 9
    • B 49
    RGB color chart
    • C 29
    • M 81
    • Y 0
    • K 51
    CMYK color chart

#5a187e color description : Dark violet.

#5a187e Color Conversion

The hexadecimal color #5a187e has RGB values of R:90, G:24, B:126 and CMYK values of C:0.29, M:0.81, Y:0, K:0.51. Its decimal value is 5904510.

Hex triplet 5a187e #5a187e
RGB Decimal 90, 24, 126 rgb(90,24,126)
RGB Percent 35.3, 9.4, 49.4 rgb(35.3%,9.4%,49.4%)
CMYK 29, 81, 0, 51
HSL 278.8°, 68, 29.4 hsl(278.8,68%,29.4%)
HSV (or HSB) 278.8°, 81, 49.4
Web Safe 660066 #660066
CIE-LAB 24.745, 46.28, -43.698
XYZ 8.308, 4.334, 20.136
xyY 0.253, 0.132, 4.334
CIE-LCH 24.745, 63.65, 316.644
CIE-LUV 24.745, 16.307, -56.831
Hunter-Lab 20.817, 34.812, -42.779
Binary 01011010, 00011000, 01111110

Color Schemes with #5a187e

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

Alternatives to #5a187e

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

Similar Colors

#5a187e Preview

Text with hexadecimal color #5a187e

This text has a font color of #5a187e.

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

This paragraph has a background color of #5a187e.

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

This element has a border color of #5a187e.

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

Shades and Tints of #5a187e

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, #08020b is the darkest color, while #fcf9fe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a187e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a187e 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
  • #373737 Achromatopsia 0.005% of the population
  • #3e3145 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004282 Protanopia 1% of men
  • #004673 Deuteranopia 1% of men
  • #553e43 Tritanopia 0.001% of the population
Trichromacy
  • #203380 Protanomaly 1% of men, 0.01% of women
  • #203577 Deuteranomaly 6% of men, 0.4% of women
  • #573058 Tritanomaly 0.01% of the population