#af21b1 Color Information

In a RGB color space, hex #af21b1 is composed of 68.6% red, 12.9% green and 69.4% blue. Whereas in a CMYK color space, it is composed of 1.1% cyan, 81.4% magenta, 0% yellow and 30.6% black. It has a hue angle of 299.2 degrees, a saturation of 68.6% and a lightness of 41.2%. #af21b1 color hex could be obtained by blending #ff42ff with #5f0063. Closest websafe color is: #993399.

    • R 69
    • G 13
    • B 69
    RGB color chart
    • C 1
    • M 81
    • Y 0
    • K 31
    CMYK color chart

#af21b1 color description : Dark magenta.

#af21b1 Color Conversion

The hexadecimal color #af21b1 has RGB values of R:175, G:33, B:177 and CMYK values of C:0.01, M:0.81, Y:0, K:0.31. Its decimal value is 11477425.

Hex triplet af21b1 #af21b1
RGB Decimal 175, 33, 177 rgb(175,33,177)
RGB Percent 68.6, 12.9, 69.4 rgb(68.6%,12.9%,69.4%)
CMYK 1, 81, 0, 31
HSL 299.2°, 68.6, 41.2 hsl(299.2,68.6%,41.2%)
HSV (or HSB) 299.2°, 81.4, 69.4
Web Safe 993399 #993399
CIE-LAB 43.327, 69.513, -44.216
XYZ 26.158, 13.378, 42.797
xyY 0.318, 0.162, 13.378
CIE-LCH 43.327, 82.384, 327.54
CIE-LUV 43.327, 54.479, -72.878
Hunter-Lab 36.576, 63.653, -43.772
Binary 10101111, 00100001, 10110001

Color Schemes with #af21b1

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

Alternatives to #af21b1

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

Similar Colors

#af21b1 Preview

Text with hexadecimal color #af21b1

This text has a font color of #af21b1.

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

This paragraph has a background color of #af21b1.

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

This element has a border color of #af21b1.

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

Shades and Tints of #af21b1

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, #0c020c is the darkest color, while #fefafe is the lightest one.

Shade Color Variation
Tint Color Variation

Tones of #af21b1

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

Tone Color Variation

Color Blindness Simulator

Below, you can see how #af21b1 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
  • #5c5c5c Achromatopsia 0.005% of the population
  • #6d506d Atypical Achromatopsia 0.001% of the population
Dichromacy
  • #006ad1 Protanopia 1% of men
  • #4e6ea5 Deuteranopia 1% of men
  • #a75459 Tritanopia 0.001% of the population
Trichromacy
  • #3f50c5 Protanomaly 1% of men, 0.01% of women
  • #7152a9 Deuteranomaly 6% of men, 0.4% of women
  • #aa4179 Tritanomaly 0.01% of the population