#512ab2 Color Information

In a RGB color space, hex #512ab2 is composed of 31.8% red, 16.5% green and 69.8% blue. Whereas in a CMYK color space, it is composed of 54.5% cyan, 76.4% magenta, 0% yellow and 30.2% black. It has a hue angle of 257.2 degrees, a saturation of 61.8% and a lightness of 43.1%. #512ab2 color hex could be obtained by blending #a254ff with #000065. Closest websafe color is: #663399.

    • R 32
    • G 16
    • B 70
    RGB color chart
    • C 54
    • M 76
    • Y 0
    • K 30
    CMYK color chart

#512ab2 color description : Dark violet.

#512ab2 Color Conversion

The hexadecimal color #512ab2 has RGB values of R:81, G:42, B:178 and CMYK values of C:0.54, M:0.76, Y:0, K:0.3. Its decimal value is 5319346.

Hex triplet 512ab2 #512ab2
RGB Decimal 81, 42, 178 rgb(81,42,178)
RGB Percent 31.8, 16.5, 69.8 rgb(31.8%,16.5%,69.8%)
CMYK 54, 76, 0, 30
HSL 257.2°, 61.8, 43.1 hsl(257.2,61.8%,43.1%)
HSV (or HSB) 257.2°, 76.4, 69.8
Web Safe 663399 #663399
CIE-LAB 30.924, 50.343, -65.545
XYZ 12.256, 6.619, 42.749
xyY 0.199, 0.107, 6.619
CIE-LCH 30.924, 82.647, 307.527
CIE-LUV 30.924, 2.653, -88.401
Hunter-Lab 25.728, 40.006, -80.505
Binary 01010001, 00101010, 10110010

Color Schemes with #512ab2

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

Alternatives to #512ab2

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

Similar Colors

#512ab2 Preview

Text with hexadecimal color #512ab2

This text has a font color of #512ab2.

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

This paragraph has a background color of #512ab2.

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

This element has a border color of #512ab2.

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

Shades and Tints of #512ab2

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

Shade Color Variation
Tint Color Variation

Tones of #512ab2

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512ab2 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
  • #454545 Achromatopsia 0.005% of the population
  • #47405b Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004f9b Protanopia 1% of men
  • #005487 Deuteranopia 1% of men
  • #32575e Tritanopia 0.001% of the population
Trichromacy
  • #1d42a3 Protanomaly 1% of men, 0.01% of women
  • #1d4497 Deuteranomaly 6% of men, 0.4% of women
  • #3d477c Tritanomaly 0.01% of the population