#512a8d Color Information

In a RGB color space, hex #512a8d is composed of 31.8% red, 16.5% green and 55.3% blue. Whereas in a CMYK color space, it is composed of 42.6% cyan, 70.2% magenta, 0% yellow and 44.7% black. It has a hue angle of 263.6 degrees, a saturation of 54.1% and a lightness of 35.9%. #512a8d color hex could be obtained by blending #a254ff with #00001b. Closest websafe color is: #663399.

    • R 32
    • G 16
    • B 55
    RGB color chart
    • C 43
    • M 70
    • Y 0
    • K 45
    CMYK color chart

#512a8d color description : Dark violet.

#512a8d Color Conversion

The hexadecimal color #512a8d has RGB values of R:81, G:42, B:141 and CMYK values of C:0.43, M:0.7, Y:0, K:0.45. Its decimal value is 5319309.

Hex triplet 512a8d #512a8d
RGB Decimal 81, 42, 141 rgb(81,42,141)
RGB Percent 31.8, 16.5, 55.3 rgb(31.8%,16.5%,55.3%)
CMYK 43, 70, 0, 45
HSL 263.6°, 54.1, 35.9 hsl(263.6,54.1%,35.9%)
HSV (or HSB) 263.6°, 70.2, 55.3
Web Safe 663399 #663399
CIE-LAB 27.65, 39.986, -48.423
XYZ 9.028, 5.328, 25.751
xyY 0.225, 0.133, 5.328
CIE-LCH 27.65, 62.798, 309.549
CIE-LUV 27.65, 6.987, -64.633
Hunter-Lab 23.083, 29.419, -49.983
Binary 01010001, 00101010, 10001101

Color Schemes with #512a8d

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

Alternatives to #512a8d

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

Similar Colors

#512a8d Preview

Text with hexadecimal color #512a8d

This text has a font color of #512a8d.

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

This paragraph has a background color of #512a8d.

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

This element has a border color of #512a8d.

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

Shades and Tints of #512a8d

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

Shade Color Variation
Tint Color Variation

Tones of #512a8d

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512a8d 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
  • #414141 Achromatopsia 0.005% of the population
  • #443c50 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00488e Protanopia 1% of men
  • #004c7d Deuteranopia 1% of men
  • #474b51 Tritanopia 0.001% of the population
Trichromacy
  • #1d3d8d Protanomaly 1% of men, 0.01% of women
  • #1d4083 Deuteranomaly 6% of men, 0.4% of women
  • #4a3f66 Tritanomaly 0.01% of the population