#512a7e Color Information

In a RGB color space, hex #512a7e is composed of 31.8% red, 16.5% green and 49.4% blue. Whereas in a CMYK color space, it is composed of 35.7% cyan, 66.7% magenta, 0% yellow and 50.6% black. It has a hue angle of 267.9 degrees, a saturation of 50% and a lightness of 32.9%. #512a7e color hex could be obtained by blending #a254fc with #000000. Closest websafe color is: #663366.

    • R 32
    • G 16
    • B 49
    RGB color chart
    • C 36
    • M 67
    • Y 0
    • K 51
    CMYK color chart

#512a7e color description : Dark moderate violet.

#512a7e Color Conversion

The hexadecimal color #512a7e has RGB values of R:81, G:42, B:126 and CMYK values of C:0.36, M:0.67, Y:0, K:0.51. Its decimal value is 5319294.

Hex triplet 512a7e #512a7e
RGB Decimal 81, 42, 126 rgb(81,42,126)
RGB Percent 31.8, 16.5, 49.4 rgb(31.8%,16.5%,49.4%)
CMYK 36, 67, 0, 51
HSL 267.9°, 50, 32.9 hsl(267.9,50%,32.9%)
HSV (or HSB) 267.9°, 66.7, 49.4
Web Safe 663366 #663366
CIE-LAB 26.482, 35.89, -40.945
XYZ 7.987, 4.912, 20.265
xyY 0.241, 0.148, 4.912
CIE-LCH 26.482, 54.448, 311.236
CIE-LUV 26.482, 9.093, -54.403
Hunter-Lab 22.162, 25.542, -38.7
Binary 01010001, 00101010, 01111110

Color Schemes with #512a7e

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

Alternatives to #512a7e

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

Similar Colors

#512a7e Preview

Text with hexadecimal color #512a7e

This text has a font color of #512a7e.

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

This paragraph has a background color of #512a7e.

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

This element has a border color of #512a7e.

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

Shades and Tints of #512a7e

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

Shade Color Variation
Tint Color Variation

Tones of #512a7e

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512a7e 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
  • #3f3f3f Achromatopsia 0.005% of the population
  • #433b4c Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004689 Protanopia 1% of men
  • #00497a Deuteranopia 1% of men
  • #4c474c Tritanopia 0.001% of the population
Trichromacy
  • #1d3c85 Protanomaly 1% of men, 0.01% of women
  • #1d3e7b Deuteranomaly 6% of men, 0.4% of women
  • #4e3c5e Tritanomaly 0.01% of the population