#512e8b Color Information

In a RGB color space, hex #512e8b is composed of 31.8% red, 18% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 41.7% cyan, 66.9% magenta, 0% yellow and 45.5% black. It has a hue angle of 262.6 degrees, a saturation of 50.3% and a lightness of 36.3%. #512e8b color hex could be obtained by blending #a25cff with #000017. Closest websafe color is: #663399.

    • R 32
    • G 18
    • B 55
    RGB color chart
    • C 42
    • M 67
    • Y 0
    • K 45
    CMYK color chart

#512e8b color description : Dark moderate violet.

#512e8b Color Conversion

The hexadecimal color #512e8b has RGB values of R:81, G:46, B:139 and CMYK values of C:0.42, M:0.67, Y:0, K:0.45. Its decimal value is 5320331.

Hex triplet 512e8b #512e8b
RGB Decimal 81, 46, 139 rgb(81,46,139)
RGB Percent 31.8, 18, 54.5 rgb(31.8%,18%,54.5%)
CMYK 42, 67, 0, 45
HSL 262.6°, 50.3, 36.3 hsl(262.6,50.3%,36.3%)
HSV (or HSB) 262.6°, 66.9, 54.5
Web Safe 663399 #663399
CIE-LAB 28.294, 37.227, -46.138
XYZ 9.03, 5.567, 25.024
xyY 0.228, 0.141, 5.567
CIE-LCH 28.294, 59.284, 308.898
CIE-LUV 28.294, 6.493, -62.305
Hunter-Lab 23.595, 27.019, -46.362
Binary 01010001, 00101110, 10001011

Color Schemes with #512e8b

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

Alternatives to #512e8b

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

Similar Colors

#512e8b Preview

Text with hexadecimal color #512e8b

This text has a font color of #512e8b.

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

This paragraph has a background color of #512e8b.

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

This element has a border color of #512e8b.

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

Shades and Tints of #512e8b

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

Shade Color Variation
Tint Color Variation

Tones of #512e8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512e8b 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
  • #434343 Achromatopsia 0.005% of the population
  • #463f51 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004a91 Protanopia 1% of men
  • #004e80 Deuteranopia 1% of men
  • #484d52 Tritanopia 0.001% of the population
Trichromacy
  • #1d3f8e Protanomaly 1% of men, 0.01% of women
  • #1d4284 Deuteranomaly 6% of men, 0.4% of women
  • #4b4167 Tritanomaly 0.01% of the population