#512798 Color Information

In a RGB color space, hex #512798 is composed of 31.8% red, 15.3% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 46.7% cyan, 74.3% magenta, 0% yellow and 40.4% black. It has a hue angle of 262.3 degrees, a saturation of 59.2% and a lightness of 37.5%. #512798 color hex could be obtained by blending #a24eff with #000031. Closest websafe color is: #663399.

    • R 32
    • G 15
    • B 60
    RGB color chart
    • C 47
    • M 74
    • Y 0
    • K 40
    CMYK color chart

#512798 color description : Dark violet.

#512798 Color Conversion

The hexadecimal color #512798 has RGB values of R:81, G:39, B:152 and CMYK values of C:0.47, M:0.74, Y:0, K:0.4. Its decimal value is 5318552.

Hex triplet 512798 #512798
RGB Decimal 81, 39, 152 rgb(81,39,152)
RGB Percent 31.8, 15.3, 59.6 rgb(31.8%,15.3%,59.6%)
CMYK 47, 74, 0, 40
HSL 262.3°, 59.2, 37.5 hsl(262.3,59.2%,37.5%)
HSV (or HSB) 262.3°, 74.3, 59.6
Web Safe 663399 #663399
CIE-LAB 28.027, 44.572, -54.585
XYZ 9.785, 5.467, 30.244
xyY 0.215, 0.12, 5.467
CIE-LCH 28.027, 70.471, 309.233
CIE-LUV 28.027, 6.049, -72.416
Hunter-Lab 23.382, 33.783, -60.321
Binary 01010001, 00100111, 10011000

Color Schemes with #512798

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

Alternatives to #512798

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

Similar Colors

#512798 Preview

Text with hexadecimal color #512798

This text has a font color of #512798.

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

This paragraph has a background color of #512798.

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

This element has a border color of #512798.

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

Shades and Tints of #512798

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, #06030c is the darkest color, while #fcfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #512798

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512798 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
  • #404040 Achromatopsia 0.005% of the population
  • #433b52 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498f Protanopia 1% of men
  • #004d7e Deuteranopia 1% of men
  • #424d53 Tritanopia 0.001% of the population
Trichromacy
  • #1d3d92 Protanomaly 1% of men, 0.01% of women
  • #1d3f87 Deuteranomaly 6% of men, 0.4% of women
  • #473f6c Tritanomaly 0.01% of the population