#512a9f Color Information

In a RGB color space, hex #512a9f is composed of 31.8% red, 16.5% green and 62.4% blue. Whereas in a CMYK color space, it is composed of 49.1% cyan, 73.6% magenta, 0% yellow and 37.6% black. It has a hue angle of 260 degrees, a saturation of 58.2% and a lightness of 39.4%. #512a9f color hex could be obtained by blending #a254ff with #00003f. Closest websafe color is: #663399.

    • R 32
    • G 16
    • B 62
    RGB color chart
    • C 49
    • M 74
    • Y 0
    • K 38
    CMYK color chart

#512a9f color description : Dark violet.

#512a9f Color Conversion

The hexadecimal color #512a9f has RGB values of R:81, G:42, B:159 and CMYK values of C:0.49, M:0.74, Y:0, K:0.38. Its decimal value is 5319327.

Hex triplet 512a9f #512a9f
RGB Decimal 81, 42, 159 rgb(81,42,159)
RGB Percent 31.8, 16.5, 62.4 rgb(31.8%,16.5%,62.4%)
CMYK 49, 74, 0, 38
HSL 260°, 58.2, 39.4 hsl(260,58.2%,39.4%)
HSV (or HSB) 260°, 73.6, 62.4
Web Safe 663399 #663399
CIE-LAB 29.18, 45.006, -56.97
XYZ 10.478, 5.908, 33.387
xyY 0.211, 0.119, 5.908
CIE-LCH 29.18, 72.602, 308.308
CIE-LUV 29.18, 4.741, -76.43
Hunter-Lab 24.307, 34.41, -64.424
Binary 01010001, 00101010, 10011111

Color Schemes with #512a9f

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

Alternatives to #512a9f

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

Similar Colors

#512a9f Preview

Text with hexadecimal color #512a9f

This text has a font color of #512a9f.

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

This paragraph has a background color of #512a9f.

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

This element has a border color of #512a9f.

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

Shades and Tints of #512a9f

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

Shade Color Variation
Tint Color Variation

Tones of #512a9f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512a9f 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.

  • #434343 Achromatopsia 0.005% of the population
  • #463e55 Atypical Achromatopsia 0.001% of the population
  • #004c94 Protanopia 1% of men
  • #005082 Deuteranopia 1% of men
  • #3e5157 Tritanopia 0.001% of the population
  • #1d3f98 Protanomaly 1% of men, 0.01% of women
  • #1d428c Deuteranomaly 6% of men, 0.4% of women
  • #454371 Tritanomaly 0.01% of the population