#5a157c Color Information

In a RGB color space, hex #5a157c is composed of 35.3% red, 8.2% green and 48.6% blue. Whereas in a CMYK color space, it is composed of 27.4% cyan, 83.1% magenta, 0% yellow and 51.4% black. It has a hue angle of 280.2 degrees, a saturation of 71% and a lightness of 28.4%. #5a157c color hex could be obtained by blending #b42af8 with #000000. Closest websafe color is: #660066.

    • R 35
    • G 8
    • B 49
    RGB color chart
    • C 27
    • M 83
    • Y 0
    • K 51
    CMYK color chart

#5a157c color description : Dark violet.

#5a157c Color Conversion

The hexadecimal color #5a157c has RGB values of R:90, G:21, B:124 and CMYK values of C:0.27, M:0.83, Y:0, K:0.51. Its decimal value is 5903740.

Hex triplet 5a157c #5a157c
RGB Decimal 90, 21, 124 rgb(90,21,124)
RGB Percent 35.3, 8.2, 48.6 rgb(35.3%,8.2%,48.6%)
CMYK 27, 83, 0, 51
HSL 280.2°, 71, 28.4 hsl(280.2,71%,28.4%)
HSV (or HSB) 280.2°, 83.1, 48.6
Web Safe 660066 #660066
CIE-LAB 24.211, 46.909, -43.296
XYZ 8.122, 4.165, 19.444
xyY 0.256, 0.131, 4.165
CIE-LCH 24.211, 63.836, 317.294
CIE-LUV 24.211, 17.039, -55.891
Hunter-Lab 20.41, 35.32, -42.198
Binary 01011010, 00010101, 01111100

Color Schemes with #5a157c

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

Alternatives to #5a157c

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

Similar Colors

#5a157c Preview

Text with hexadecimal color #5a157c

This text has a font color of #5a157c.

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

This paragraph has a background color of #5a157c.

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

This element has a border color of #5a157c.

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

Shades and Tints of #5a157c

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

Shade Color Variation
Tint Color Variation

Tones of #5a157c

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a157c 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
  • #353535 Achromatopsia 0.005% of the population
  • #3c2f43 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004180 Protanopia 1% of men
  • #004572 Deuteranopia 1% of men
  • #553d41 Tritanopia 0.001% of the population
Trichromacy
  • #20317e Protanomaly 1% of men, 0.01% of women
  • #203375 Deuteranomaly 6% of men, 0.4% of women
  • #572e56 Tritanomaly 0.01% of the population