#512a8f Color Information

In a RGB color space, hex #512a8f is composed of 31.8% red, 16.5% green and 56.1% blue. Whereas in a CMYK color space, it is composed of 43.4% cyan, 70.6% magenta, 0% yellow and 43.9% black. It has a hue angle of 263.2 degrees, a saturation of 54.6% and a lightness of 36.3%. #512a8f color hex could be obtained by blending #a254ff with #00001f. Closest websafe color is: #663399.

    • R 32
    • G 16
    • B 56
    RGB color chart
    • C 43
    • M 71
    • Y 0
    • K 44
    CMYK color chart

#512a8f color description : Dark violet.

#512a8f Color Conversion

The hexadecimal color #512a8f has RGB values of R:81, G:42, B:143 and CMYK values of C:0.43, M:0.71, Y:0, K:0.44. Its decimal value is 5319311.

Hex triplet 512a8f #512a8f
RGB Decimal 81, 42, 143 rgb(81,42,143)
RGB Percent 31.8, 16.5, 56.1 rgb(31.8%,16.5%,56.1%)
CMYK 43, 71, 0, 44
HSL 263.2°, 54.6, 36.3 hsl(263.2,54.6%,36.3%)
HSV (or HSB) 263.2°, 70.6, 56.1
Web Safe 663399 #663399
CIE-LAB 27.814, 40.54, -49.394
XYZ 9.178, 5.388, 26.542
xyY 0.223, 0.131, 5.388
CIE-LCH 27.814, 63.901, 309.377
CIE-LUV 27.814, 6.723, -65.968
Hunter-Lab 23.213, 29.956, -51.543
Binary 01010001, 00101010, 10001111

Color Schemes with #512a8f

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

Alternatives to #512a8f

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

Similar Colors

#512a8f Preview

Text with hexadecimal color #512a8f

This text has a font color of #512a8f.

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

This paragraph has a background color of #512a8f.

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

This element has a border color of #512a8f.

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

Shades and Tints of #512a8f

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

Shade Color Variation
Tint Color Variation

Tones of #512a8f

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512a8f 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
  • #443c51 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00498f Protanopia 1% of men
  • #004d7e Deuteranopia 1% of men
  • #464c51 Tritanopia 0.001% of the population
Trichromacy
  • #1d3d8f Protanomaly 1% of men, 0.01% of women
  • #1d4084 Deuteranomaly 6% of men, 0.4% of women
  • #4a3f68 Tritanomaly 0.01% of the population