#512ea5 Color Information

In a RGB color space, hex #512ea5 is composed of 31.8% red, 18% green and 64.7% blue. Whereas in a CMYK color space, it is composed of 50.9% cyan, 72.1% magenta, 0% yellow and 35.3% black. It has a hue angle of 257.6 degrees, a saturation of 56.4% and a lightness of 41.4%. #512ea5 color hex could be obtained by blending #a25cff with #00004b. Closest websafe color is: #663399.

    • R 32
    • G 18
    • B 65
    RGB color chart
    • C 51
    • M 72
    • Y 0
    • K 35
    CMYK color chart

#512ea5 color description : Dark violet.

#512ea5 Color Conversion

The hexadecimal color #512ea5 has RGB values of R:81, G:46, B:165 and CMYK values of C:0.51, M:0.72, Y:0, K:0.35. Its decimal value is 5320357.

Hex triplet 512ea5 #512ea5
RGB Decimal 81, 46, 165 rgb(81,46,165)
RGB Percent 31.8, 18, 64.7 rgb(31.8%,18%,64.7%)
CMYK 51, 72, 0, 35
HSL 257.6°, 56.4, 41.4 hsl(257.6,56.4%,41.4%)
HSV (or HSB) 257.6°, 72.1, 64.7
Web Safe 663399 #663399
CIE-LAB 30.448, 44.637, -58.529
XYZ 11.161, 6.42, 36.246
xyY 0.207, 0.119, 6.42
CIE-LCH 30.448, 73.608, 307.331
CIE-LUV 30.448, 3.425, -79.595
Hunter-Lab 25.337, 34.286, -67.082
Binary 01010001, 00101110, 10100101

Color Schemes with #512ea5

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

Alternatives to #512ea5

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

Similar Colors

#512ea5 Preview

Text with hexadecimal color #512ea5

This text has a font color of #512ea5.

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

This paragraph has a background color of #512ea5.

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

This element has a border color of #512ea5.

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

Shades and Tints of #512ea5

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, #06030c is the darkest color, while #fcfbfe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #512ea5

A tone is produced by adding gray to any pure hue. In this case, #68676c is the less saturated color, while #4005ce is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512ea5 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
  • #484159 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004e99 Protanopia 1% of men
  • #005386 Deuteranopia 1% of men
  • #3c555b Tritanopia 0.001% of the population
Trichromacy
  • #1d429d Protanomaly 1% of men, 0.01% of women
  • #1d4591 Deuteranomaly 6% of men, 0.4% of women
  • #434676 Tritanomaly 0.01% of the population