#512787 Color Information

In a RGB color space, hex #512787 is composed of 31.8% red, 15.3% green and 52.9% blue. Whereas in a CMYK color space, it is composed of 40% cyan, 71.1% magenta, 0% yellow and 47.1% black. It has a hue angle of 266.3 degrees, a saturation of 55.2% and a lightness of 34.1%. #512787 color hex could be obtained by blending #a24eff with #00000f. Closest websafe color is: #663399.

    • R 32
    • G 15
    • B 53
    RGB color chart
    • C 40
    • M 71
    • Y 0
    • K 47
    CMYK color chart

#512787 color description : Dark violet.

#512787 Color Conversion

The hexadecimal color #512787 has RGB values of R:81, G:39, B:135 and CMYK values of C:0.4, M:0.71, Y:0, K:0.47. Its decimal value is 5318535.

Hex triplet 512787 #512787
RGB Decimal 81, 39, 135 rgb(81,39,135)
RGB Percent 31.8, 15.3, 52.9 rgb(31.8%,15.3%,52.9%)
CMYK 40, 71, 0, 47
HSL 266.3°, 55.2, 34.1 hsl(266.3,55.2%,34.1%)
HSV (or HSB) 266.3°, 71.1, 52.9
Web Safe 663399 #663399
CIE-LAB 26.591, 39.938, -46.414
XYZ 8.491, 4.95, 23.428
xyY 0.23, 0.134, 4.95
CIE-LCH 26.591, 61.231, 310.712
CIE-LUV 26.591, 8.339, -61.262
Hunter-Lab 22.248, 29.194, -46.863
Binary 01010001, 00100111, 10000111

Color Schemes with #512787

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

Alternatives to #512787

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

Similar Colors

#512787 Preview

Text with hexadecimal color #512787

This text has a font color of #512787.

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

This paragraph has a background color of #512787.

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

This element has a border color of #512787.

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

Shades and Tints of #512787

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, #08040d is the darkest color, while #fefdfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #512787

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512787 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
  • #433a4d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #00468a Protanopia 1% of men
  • #004a7a Deuteranopia 1% of men
  • #49484d Tritanopia 0.001% of the population
Trichromacy
  • #1d3b88 Protanomaly 1% of men, 0.01% of women
  • #1d3d7e Deuteranomaly 6% of men, 0.4% of women
  • #4b3c62 Tritanomaly 0.01% of the population