#512ea8 Color Information

In a RGB color space, hex #512ea8 is composed of 31.8% red, 18% green and 65.9% blue. Whereas in a CMYK color space, it is composed of 51.8% cyan, 72.6% magenta, 0% yellow and 34.1% black. It has a hue angle of 257.2 degrees, a saturation of 57% and a lightness of 42%. #512ea8 color hex could be obtained by blending #a25cff with #000051. Closest websafe color is: #663399.

    • R 32
    • G 18
    • B 66
    RGB color chart
    • C 52
    • M 73
    • Y 0
    • K 34
    CMYK color chart

#512ea8 color description : Dark violet.

#512ea8 Color Conversion

The hexadecimal color #512ea8 has RGB values of R:81, G:46, B:168 and CMYK values of C:0.52, M:0.73, Y:0, K:0.34. Its decimal value is 5320360.

Hex triplet 512ea8 #512ea8
RGB Decimal 81, 46, 168 rgb(81,46,168)
RGB Percent 31.8, 18, 65.9 rgb(31.8%,18%,65.9%)
CMYK 52, 73, 0, 34
HSL 257.2°, 57, 42 hsl(257.2,57%,42%)
HSV (or HSB) 257.2°, 72.6, 65.9
Web Safe 663399 #663399
CIE-LAB 30.713, 45.499, -59.903
XYZ 11.437, 6.53, 37.701
xyY 0.205, 0.117, 6.53
CIE-LCH 30.713, 75.223, 307.218
CIE-LUV 30.713, 3.103, -81.524
Hunter-Lab 25.554, 35.168, -69.585
Binary 01010001, 00101110, 10101000

Color Schemes with #512ea8

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

Alternatives to #512ea8

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

Similar Colors

#512ea8 Preview

Text with hexadecimal color #512ea8

This text has a font color of #512ea8.

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

This paragraph has a background color of #512ea8.

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

This element has a border color of #512ea8.

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

Shades and Tints of #512ea8

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, #07040e is the darkest color, while #fefeff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #512ea8

A tone is produced by adding gray to any pure hue. In this case, #6a686e is the less saturated color, while #3f05d1 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512ea8 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
  • #464646 Achromatopsia 0.005% of the population
  • #48415a Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9a Protanopia 1% of men
  • #005387 Deuteranopia 1% of men
  • #3a565c Tritanopia 0.001% of the population
Trichromacy
  • #1d439f Protanomaly 1% of men, 0.01% of women
  • #1d4693 Deuteranomaly 6% of men, 0.4% of women
  • #424777 Tritanomaly 0.01% of the population