#512158 Color Information

In a RGB color space, hex #512158 is composed of 31.8% red, 12.9% green and 34.5% blue. Whereas in a CMYK color space, it is composed of 8% cyan, 62.5% magenta, 0% yellow and 65.5% black. It has a hue angle of 292.4 degrees, a saturation of 45.5% and a lightness of 23.7%. #512158 color hex could be obtained by blending #a242b0 with #000000. Closest websafe color is: #663366.

    • R 32
    • G 13
    • B 35
    RGB color chart
    • C 8
    • M 63
    • Y 0
    • K 65
    CMYK color chart

#512158 color description : Very dark magenta.

#512158 Color Conversion

The hexadecimal color #512158 has RGB values of R:81, G:33, B:88 and CMYK values of C:0.08, M:0.63, Y:0, K:0.65. Its decimal value is 5316952.

Hex triplet 512158 #512158
RGB Decimal 81, 33, 88 rgb(81,33,88)
RGB Percent 31.8, 12.9, 34.5 rgb(31.8%,12.9%,34.5%)
CMYK 8, 63, 0, 65
HSL 292.4°, 45.5, 23.7 hsl(292.4,45.5%,23.7%)
HSV (or HSB) 292.4°, 62.5, 34.5
Web Safe 663366 #663366
CIE-LAB 22.095, 31.49, -23.382
XYZ 5.698, 3.542, 9.615
xyY 0.302, 0.188, 3.542
CIE-LCH 22.095, 39.222, 323.405
CIE-LUV 22.095, 17.851, -30.087
Hunter-Lab 18.82, 21.113, -17.119
Binary 01010001, 00100001, 01011000

Color Schemes with #512158

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

Alternatives to #512158

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

Similar Colors

#512158 Preview

Text with hexadecimal color #512158

This text has a font color of #512158.

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

This paragraph has a background color of #512158.

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

This element has a border color of #512158.

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

Shades and Tints of #512158

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

Shade Color Variation
Tint Color Variation

Tones of #512158

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512158 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
  • #363636 Achromatopsia 0.005% of the population
  • #3b323d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #243d6e Protanopia 1% of men
  • #313f5b Deuteranopia 1% of men
  • #54373b Tritanopia 0.001% of the population
Trichromacy
  • #343366 Protanomaly 1% of men, 0.01% of women
  • #3d345a Deuteranomaly 6% of men, 0.4% of women
  • #532f45 Tritanomaly 0.01% of the population