#512f8b Color Information

In a RGB color space, hex #512f8b is composed of 31.8% red, 18.4% green and 54.5% blue. Whereas in a CMYK color space, it is composed of 41.7% cyan, 66.2% magenta, 0% yellow and 45.5% black. It has a hue angle of 262.2 degrees, a saturation of 49.5% and a lightness of 36.5%. #512f8b color hex could be obtained by blending #a25eff with #000017. Closest websafe color is: #663399.

    • R 32
    • G 18
    • B 55
    RGB color chart
    • C 42
    • M 66
    • Y 0
    • K 45
    CMYK color chart

#512f8b color description : Dark moderate violet.

#512f8b Color Conversion

The hexadecimal color #512f8b has RGB values of R:81, G:47, B:139 and CMYK values of C:0.42, M:0.66, Y:0, K:0.45. Its decimal value is 5320587.

Hex triplet 512f8b #512f8b
RGB Decimal 81, 47, 139 rgb(81,47,139)
RGB Percent 31.8, 18.4, 54.5 rgb(31.8%,18.4%,54.5%)
CMYK 42, 66, 0, 45
HSL 262.2°, 49.5, 36.5 hsl(262.2,49.5%,36.5%)
HSV (or HSB) 262.2°, 66.2, 54.5
Web Safe 663399 #663399
CIE-LAB 28.502, 36.66, -45.8
XYZ 9.069, 5.646, 25.037
xyY 0.228, 0.142, 5.646
CIE-LCH 28.502, 58.665, 308.675
CIE-LUV 28.502, 6.29, -62.033
Hunter-Lab 23.762, 26.544, -45.837
Binary 01010001, 00101111, 10001011

Color Schemes with #512f8b

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

Alternatives to #512f8b

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

Similar Colors

#512f8b Preview

Text with hexadecimal color #512f8b

This text has a font color of #512f8b.

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

This paragraph has a background color of #512f8b.

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

This element has a border color of #512f8b.

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

Shades and Tints of #512f8b

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 #f9f7fc is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #512f8b

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512f8b 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
  • #444444 Achromatopsia 0.005% of the population
  • #474052 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004a92 Protanopia 1% of men
  • #004e81 Deuteranopia 1% of men
  • #484d53 Tritanopia 0.001% of the population
Trichromacy
  • #1d408f Protanomaly 1% of men, 0.01% of women
  • #1d4384 Deuteranomaly 6% of men, 0.4% of women
  • #4b4267 Tritanomaly 0.01% of the population