#512797 Color Information

In a RGB color space, hex #512797 is composed of 31.8% red, 15.3% green and 59.2% blue. Whereas in a CMYK color space, it is composed of 46.4% cyan, 74.2% magenta, 0% yellow and 40.8% black. It has a hue angle of 262.5 degrees, a saturation of 58.9% and a lightness of 37.3%. #512797 color hex could be obtained by blending #a24eff with #00002f. Closest websafe color is: #663399.

    • R 32
    • G 15
    • B 59
    RGB color chart
    • C 46
    • M 74
    • Y 0
    • K 41
    CMYK color chart

#512797 color description : Dark violet.

#512797 Color Conversion

The hexadecimal color #512797 has RGB values of R:81, G:39, B:151 and CMYK values of C:0.46, M:0.74, Y:0, K:0.41. Its decimal value is 5318551.

Hex triplet 512797 #512797
RGB Decimal 81, 39, 151 rgb(81,39,151)
RGB Percent 31.8, 15.3, 59.2 rgb(31.8%,15.3%,59.2%)
CMYK 46, 74, 0, 41
HSL 262.5°, 58.9, 37.3 hsl(262.5,58.9%,37.3%)
HSV (or HSB) 262.5°, 74.2, 59.2
Web Safe 663399 #663399
CIE-LAB 27.939, 44.297, -54.116
XYZ 9.704, 5.435, 29.814
xyY 0.216, 0.121, 5.435
CIE-LCH 27.939, 69.934, 309.302
CIE-LUV 27.939, 6.176, -71.771
Hunter-Lab 23.312, 33.504, -59.507
Binary 01010001, 00100111, 10010111

Color Schemes with #512797

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

Alternatives to #512797

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

Similar Colors

#512797 Preview

Text with hexadecimal color #512797

This text has a font color of #512797.

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

This paragraph has a background color of #512797.

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

This element has a border color of #512797.

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

Shades and Tints of #512797

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

Shade Color Variation
Tint Color Variation

Tones of #512797

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512797 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
  • #433b51 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498f Protanopia 1% of men
  • #004d7d Deuteranopia 1% of men
  • #424d53 Tritanopia 0.001% of the population
Trichromacy
  • #1d3d92 Protanomaly 1% of men, 0.01% of women
  • #1d3f86 Deuteranomaly 6% of men, 0.4% of women
  • #473f6b Tritanomaly 0.01% of the population