#5a0042 Color Information

In a RGB color space, hex #5a0042 is composed of 35.3% red, 0% green and 25.9% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 100% magenta, 26.7% yellow and 64.7% black. It has a hue angle of 316 degrees, a saturation of 100% and a lightness of 17.6%. #5a0042 color hex could be obtained by blending #b40084 with #000000. Closest websafe color is: #660033.

    • R 35
    • G 0
    • B 26
    RGB color chart
    • C 0
    • M 100
    • Y 27
    • K 65
    CMYK color chart

#5a0042 color description : Very dark pink.

#5a0042 Color Conversion

The hexadecimal color #5a0042 has RGB values of R:90, G:0, B:66 and CMYK values of C:0, M:1, Y:0.27, K:0.65. Its decimal value is 5898306.

Hex triplet 5a0042 #5a0042
RGB Decimal 90, 0, 66 rgb(90,0,66)
RGB Percent 35.3, 0, 25.9 rgb(35.3%,0%,25.9%)
CMYK 0, 100, 27, 65
HSL 316°, 100, 17.6 hsl(316,100%,17.6%)
HSV (or HSB) 316°, 100, 35.3
Web Safe 660033 #660033
CIE-LAB 18.221, 42.306, -14.369
XYZ 5.2, 2.568, 5.376
xyY 0.396, 0.195, 2.568
CIE-LCH 18.221, 44.679, 341.241
CIE-LUV 18.221, 35.472, -19.466
Hunter-Lab 16.023, 29.885, -8.675
Binary 01011010, 00000000, 01000010

Color Schemes with #5a0042

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

Alternatives to #5a0042

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

Similar Colors

#5a0042 Preview

Text with hexadecimal color #5a0042

This text has a font color of #5a0042.

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

This paragraph has a background color of #5a0042.

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

This element has a border color of #5a0042.

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

Shades and Tints of #5a0042

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

Shade Color Variation
Tint Color Variation

Tones of #5a0042

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #5a0042 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
  • #222222 Achromatopsia 0.005% of the population
  • #2d1b28 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #183564 Protanopia 1% of men
  • #353644 Deuteranopia 1% of men
  • #5f2022 Tritanopia 0.001% of the population
Trichromacy
  • #302258 Protanomaly 1% of men, 0.01% of women
  • #422243 Deuteranomaly 6% of men, 0.4% of women
  • #5d142d Tritanomaly 0.01% of the population