#512a9b Color Information

In a RGB color space, hex #512a9b is composed of 31.8% red, 16.5% green and 60.8% blue. Whereas in a CMYK color space, it is composed of 47.7% cyan, 72.9% magenta, 0% yellow and 39.2% black. It has a hue angle of 260.7 degrees, a saturation of 57.4% and a lightness of 38.6%. #512a9b color hex could be obtained by blending #a254ff with #000037. Closest websafe color is: #663399.

    • R 32
    • G 16
    • B 61
    RGB color chart
    • C 48
    • M 73
    • Y 0
    • K 39
    CMYK color chart

#512a9b color description : Dark violet.

#512a9b Color Conversion

The hexadecimal color #512a9b has RGB values of R:81, G:42, B:155 and CMYK values of C:0.48, M:0.73, Y:0, K:0.39. Its decimal value is 5319323.

Hex triplet 512a9b #512a9b
RGB Decimal 81, 42, 155 rgb(81,42,155)
RGB Percent 31.8, 16.5, 60.8 rgb(31.8%,16.5%,60.8%)
CMYK 48, 73, 0, 39
HSL 260.7°, 57.4, 38.6 hsl(260.7,57.4%,38.6%)
HSV (or HSB) 260.7°, 72.9, 60.8
Web Safe 663399 #663399
CIE-LAB 28.829, 43.884, -55.108
XYZ 10.137, 5.772, 31.589
xyY 0.213, 0.122, 5.772
CIE-LCH 28.829, 70.447, 308.532
CIE-LUV 28.829, 5.216, -73.85
Hunter-Lab 24.024, 33.272, -61.141
Binary 01010001, 00101010, 10011011

Color Schemes with #512a9b

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

Alternatives to #512a9b

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

Similar Colors

#512a9b Preview

Text with hexadecimal color #512a9b

This text has a font color of #512a9b.

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

This paragraph has a background color of #512a9b.

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

This element has a border color of #512a9b.

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

Shades and Tints of #512a9b

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

Shade Color Variation
Tint Color Variation

Tones of #512a9b

A tone is produced by adding gray to any pure hue. In this case, #615f66 is the less saturated color, while #4504c1 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512a9b 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
  • #434343 Achromatopsia 0.005% of the population
  • #463e55 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004b93 Protanopia 1% of men
  • #004f80 Deuteranopia 1% of men
  • #405055 Tritanopia 0.001% of the population
Trichromacy
  • #1d3f95 Protanomaly 1% of men, 0.01% of women
  • #1d418a Deuteranomaly 6% of men, 0.4% of women
  • #46426f Tritanomaly 0.01% of the population