#af31a2 Color Information

In a RGB color space, hex #af31a2 is composed of 68.6% red, 19.2% green and 63.5% blue. Whereas in a CMYK color space, it is composed of 0% cyan, 72% magenta, 7.4% yellow and 31.4% black. It has a hue angle of 306.2 degrees, a saturation of 56.3% and a lightness of 43.9%. #af31a2 color hex could be obtained by blending #ff62ff with #5f0045. Closest websafe color is: #993399.

    • R 69
    • G 19
    • B 64
    RGB color chart
    • C 0
    • M 72
    • Y 7
    • K 31
    CMYK color chart

#af31a2 color description : Dark magenta.

#af31a2 Color Conversion

The hexadecimal color #af31a2 has RGB values of R:175, G:49, B:162 and CMYK values of C:0, M:0.72, Y:0.07, K:0.31. Its decimal value is 11481506.

Hex triplet af31a2 #af31a2
RGB Decimal 175, 49, 162 rgb(175,49,162)
RGB Percent 68.6, 19.2, 63.5 rgb(68.6%,19.2%,63.5%)
CMYK 0, 72, 7, 31
HSL 306.2°, 56.3, 43.9 hsl(306.2,56.3%,43.9%)
HSV (or HSB) 306.2°, 72, 68.6
Web Safe 993399 #993399
CIE-LAB 44.119, 62.495, -34.044
XYZ 25.299, 13.921, 35.535
xyY 0.338, 0.186, 13.921
CIE-LCH 44.119, 71.166, 331.421
CIE-LUV 44.119, 56.876, -57.709
Hunter-Lab 37.311, 55.739, -30.351
Binary 10101111, 00110001, 10100010

Color Schemes with #af31a2

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

Alternatives to #af31a2

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

Similar Colors

#af31a2 Preview

Text with hexadecimal color #af31a2

This text has a font color of #af31a2.

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

This paragraph has a background color of #af31a2.

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

This element has a border color of #af31a2.

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

Shades and Tints of #af31a2

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

Shade Color Variation
Tint Color Variation

Tones of #af31a2

A tone is produced by adding gray to any pure hue. In this case, #736d72 is the less saturated color, while #da06c4 is the most saturated one.

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af31a2 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
  • #646464 Achromatopsia 0.005% of the population
  • #735a70 Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #326dcb Protanopia 1% of men
  • #5f6f9a Deuteranopia 1% of men
  • #aa555b Tritanopia 0.001% of the population
Trichromacy
  • #5f57bc Protanomaly 1% of men, 0.01% of women
  • #7c589c Deuteranomaly 6% of men, 0.4% of women
  • #ac4874 Tritanomaly 0.01% of the population