#520158 Color Information

In a RGB color space, hex #520158 is composed of 32.2% red, 0.4% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 6.8% cyan, 98.9% magenta, 0% yellow and 65.5% black. It has a hue angle of 295.9 degrees, a saturation of 97.8% and a lightness of 17.5%. #520158 color hex could be obtained by blending #a402b0 with #000000. Closest websafe color is: #660066.

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

#520158 color description : Very dark magenta.

#520158 Color Conversion

The hexadecimal color #520158 has RGB values of R:82, G:1, B:88 and CMYK values of C:0.07, M:0.99, Y:0, K:0.65. Its decimal value is 5374296.

Hex triplet 520158 #520158
RGB Decimal 82, 1, 88 rgb(82,1,88)
RGB Percent 32.2, 0.4, 34.5 rgb(32.2%,0.4%,34.5%)
CMYK 7, 99, 0, 65
HSL 295.9°, 97.8, 17.5 hsl(295.9,97.8%,17.5%)
HSV (or HSB) 295.9°, 98.9, 34.5
Web Safe 660066 #660066
CIE-LAB 18.011, 43.843, -29.885
XYZ 5.252, 2.52, 9.442
xyY 0.305, 0.146, 2.52
CIE-LCH 18.011, 53.059, 325.72
CIE-LUV 18.011, 22.582, -35.253
Hunter-Lab 15.876, 31.266, -24.148
Binary 01010010, 00000001, 01011000

Color Schemes with #520158

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

Alternatives to #520158

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

Similar Colors

#520158 Preview

Text with hexadecimal color #520158

This text has a font color of #520158.

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

This paragraph has a background color of #520158.

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

This element has a border color of #520158.

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

Shades and Tints of #520158

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

Shade Color Variation
Tint Color Variation

Tones of #520158

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #520158 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
  • #232323 Achromatopsia 0.005% of the population
  • #2c1c2e Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #003568 Protanopia 1% of men
  • #1e3757 Deuteranopia 1% of men
  • #54292c Tritanopia 0.001% of the population
Trichromacy
  • #1d2262 Protanomaly 1% of men, 0.01% of women
  • #312357 Deuteranomaly 6% of men, 0.4% of women
  • #531a3c Tritanomaly 0.01% of the population