#512ab1 Color Information

In a RGB color space, hex #512ab1 is composed of 31.8% red, 16.5% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 54.2% cyan, 76.3% magenta, 0% yellow and 30.6% black. It has a hue angle of 257.3 degrees, a saturation of 61.6% and a lightness of 42.9%. #512ab1 color hex could be obtained by blending #a254ff with #000063. Closest websafe color is: #663399.

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

#512ab1 color description : Dark violet.

#512ab1 Color Conversion

The hexadecimal color #512ab1 has RGB values of R:81, G:42, B:177 and CMYK values of C:0.54, M:0.76, Y:0, K:0.31. Its decimal value is 5319345.

Hex triplet 512ab1 #512ab1
RGB Decimal 81, 42, 177 rgb(81,42,177)
RGB Percent 31.8, 16.5, 69.4 rgb(31.8%,16.5%,69.4%)
CMYK 54, 76, 0, 31
HSL 257.3°, 61.6, 42.9 hsl(257.3,61.6%,42.9%)
HSV (or HSB) 257.3°, 76.3, 69.4
Web Safe 663399 #663399
CIE-LAB 30.829, 50.062, -65.104
XYZ 12.156, 6.579, 42.222
xyY 0.199, 0.108, 6.579
CIE-LCH 30.829, 82.126, 307.559
CIE-LUV 30.829, 2.756, -87.782
Hunter-Lab 25.65, 39.704, -79.64
Binary 01010001, 00101010, 10110001

Color Schemes with #512ab1

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

Alternatives to #512ab1

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

Similar Colors

#512ab1 Preview

Text with hexadecimal color #512ab1

This text has a font color of #512ab1.

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

This paragraph has a background color of #512ab1.

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

This element has a border color of #512ab1.

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

Shades and Tints of #512ab1

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

Shade Color Variation
Tint Color Variation

Tones of #512ab1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512ab1 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
  • #32575d Tritanopia 0.001% of the population
Trichromacy
  • #1d42a3 Protanomaly 1% of men, 0.01% of women
  • #1d4496 Deuteranomaly 6% of men, 0.4% of women
  • #3d467c Tritanomaly 0.01% of the population