#512a98 Color Information

In a RGB color space, hex #512a98 is composed of 31.8% red, 16.5% green and 59.6% blue. Whereas in a CMYK color space, it is composed of 46.7% cyan, 72.4% magenta, 0% yellow and 40.4% black. It has a hue angle of 261.3 degrees, a saturation of 56.7% and a lightness of 38%. #512a98 color hex could be obtained by blending #a254ff with #000031. Closest websafe color is: #663399.

    • R 32
    • G 16
    • B 60
    RGB color chart
    • C 47
    • M 72
    • Y 0
    • K 40
    CMYK color chart

#512a98 color description : Dark violet.

#512a98 Color Conversion

The hexadecimal color #512a98 has RGB values of R:81, G:42, B:152 and CMYK values of C:0.47, M:0.72, Y:0, K:0.4. Its decimal value is 5319320.

Hex triplet 512a98 #512a98
RGB Decimal 81, 42, 152 rgb(81,42,152)
RGB Percent 31.8, 16.5, 59.6 rgb(31.8%,16.5%,59.6%)
CMYK 47, 72, 0, 40
HSL 261.3°, 56.7, 38 hsl(261.3,56.7%,38%)
HSV (or HSB) 261.3°, 72.4, 59.6
Web Safe 663399 #663399
CIE-LAB 28.57, 43.045, -53.698
XYZ 9.888, 5.672, 30.278
xyY 0.216, 0.124, 5.672
CIE-LCH 28.57, 68.821, 308.716
CIE-LUV 28.57, 5.581, -71.9
Hunter-Lab 23.816, 32.429, -58.705
Binary 01010001, 00101010, 10011000

Color Schemes with #512a98

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

Alternatives to #512a98

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

Similar Colors

#512a98 Preview

Text with hexadecimal color #512a98

This text has a font color of #512a98.

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

This paragraph has a background color of #512a98.

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

This element has a border color of #512a98.

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

Shades and Tints of #512a98

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, #07040e is the darkest color, while #fefdff is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #512a98

A tone is produced by adding gray to any pure hue. In this case, #605e64 is the less saturated color, while #4605bd is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #512a98 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
  • #424242 Achromatopsia 0.005% of the population
  • #453d53 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #004a92 Protanopia 1% of men
  • #004e80 Deuteranopia 1% of men
  • #424f54 Tritanopia 0.001% of the population
Trichromacy
  • #1d3e94 Protanomaly 1% of men, 0.01% of women
  • #1d4188 Deuteranomaly 6% of men, 0.4% of women
  • #47416d Tritanomaly 0.01% of the population