#5a0157 Color Information

In a RGB color space, hex #5a0157 is composed of 35.3% red, 0.4% green and 34.1% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 98.9% magenta, 3.3% yellow and 64.7% black. It has a hue angle of 302 degrees, a saturation of 97.8% and a lightness of 17.8%. #5a0157 color hex could be obtained by blending #b402ae with #000000. Closest websafe color is: #660066.

    • R 35
    • G 0
    • B 34
    RGB color chart
    • C 0
    • M 99
    • Y 3
    • K 65
    CMYK color chart

#5a0157 color description : Very dark magenta.

#5a0157 Color Conversion

The hexadecimal color #5a0157 has RGB values of R:90, G:1, B:87 and CMYK values of C:0, M:0.99, Y:0.03, K:0.65. Its decimal value is 5898583.

Hex triplet 5a0157 #5a0157
RGB Decimal 90, 1, 87 rgb(90,1,87)
RGB Percent 35.3, 0.4, 34.1 rgb(35.3%,0.4%,34.1%)
CMYK 0, 99, 3, 65
HSL 302°, 97.8, 17.8 hsl(302,97.8%,17.8%)
HSV (or HSB) 302°, 98.9, 35.3
Web Safe 660066 #660066
CIE-LAB 19.573, 45.172, -26.619
XYZ 5.948, 2.884, 9.26
xyY 0.329, 0.159, 2.884
CIE-LCH 19.573, 52.432, 329.49
CIE-LUV 19.573, 28.289, -33.381
Hunter-Lab 16.982, 32.796, -20.441
Binary 01011010, 00000001, 01010111

Color Schemes with #5a0157

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

Alternatives to #5a0157

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

Similar Colors

#5a0157 Preview

Text with hexadecimal color #5a0157

This text has a font color of #5a0157.

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

This paragraph has a background color of #5a0157.

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

This element has a border color of #5a0157.

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

Shades and Tints of #5a0157

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, #0c000c is the darkest color, while #fff8ff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #5a0157

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a0157 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
  • #252525 Achromatopsia 0.005% of the population
  • #301e2f Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00386e Protanopia 1% of men
  • #2a3a56 Deuteranopia 1% of men
  • #5c292b Tritanopia 0.001% of the population
Trichromacy
  • #202465 Protanomaly 1% of men, 0.01% of women
  • #3b2556 Deuteranomaly 6% of men, 0.4% of women
  • #5b1a3b Tritanomaly 0.01% of the population