colorhexa.com

#512791 hex color

In a RGB color space, hex #512791 is composed of 31.8% red, 15.3% green and 56.9% blue. Whereas in a CMYK color space, it is composed of 44.1% cyan, 73.1% magenta, 0% yellow and 43.1% black. It has a hue angle of 263.8 degrees, a saturation of 57.6% and a lightness of 36.1%. #512791 color hex could be obtained by blending #a24eff with #000023. Closest websafe color is: #663399.

    • R 32
    • G 15
    • B 57

    RGB color chart

    • C 44
    • M 73
    • Y 0
    • K 43

    CMYK color chart

#512791 color description : Dark violet.

The hexadecimal color #512791 has RGB values of R:81, G:39, B:145 and CMYK values of C:0.44, M:0.73, Y:0, K:0.43. Its decimal value is 5318545.

Hex triplet 512791 #512791
RGB Decimal 81, 39, 145 rgb(81,39,145)
RGB Percent 31.8, 15.3, 56.9 rgb(31.8%,15.3%,56.9%)
CMYK 44, 73, 0, 43
HSL 263.8°, 57.6, 36.1 hsl(263.8,57.6%,36.1%)
HSV (or HSB) 263.8°, 73.1, 56.9
Web Safe 663399 #663399
CIE-LAB 27.421, 42.654, -51.27
XYZ 9.229, 5.245, 27.313
xyY 0.221, 0.126, 5.245
CIE-LCH 27.421, 66.693, 309.758
CIE-LUV 27.421, 6.958, -67.876
Hunter-Lab 22.901, 31.855, -54.68
Binary 01010001, 00100111, 10010001

Complementary Color

Analogous Color

Split Complementary Color

Triadic Color

Tetradic Color

Monochromatic Color

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

Similar Colors

Text with hexadecimal color #512791

This text has a font color of #512791.

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

#512791 background color

This paragraph has a background color of #512791.

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

#512791 border color

This element has a border color of #512791.

<div style="border:1px solid #512791;">Content here</div>

CSS codes

.text {color:#512791;}
.background {background-color:#512791;}
.border {border:1px solid #512791;}

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

Shade Color Variation

Tint Color Variation

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

Tone Color Variation

Below, you can see how #512791 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

  • #404040 Achromatopsia 0.005% of the population
  • #433b50 Atypical Achromatopsia 0.001% of the population

Dichromacy

  • #00488d Protanopia 1% of men
  • #004c7c Deuteranopia 1% of men
  • #454b50 Tritanopia 0.001% of the population

Trichromacy

  • #1d3c8e Protanomaly 1% of men, 0.01% of women
  • #1d3e83 Deuteranomaly 6% of men, 0.4% of women
  • #493e68 Tritanomaly 0.01% of the population