#AF00DB

A medium, vivid magenta closely aligning with Darkviolet.

About #AF00DB

The hex code #AF00DB represents a beautifully specific shade of magenta. It is closely associated with the named CSS color Darkviolet. This translates to an RGB value of rgb(175, 0, 219).

While screens use RGB, printing presses rely on Cyan, Magenta, Yellow, and Key (black). This specific hue requires a mix of 20% C, 100% M, 0% Y, and 14% K. With a hue angle of 287.9 degrees, it sits comfortably in the magenta spectrum.

Web Content Accessibility Guidelines (WCAG) dictate how we should use this color. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. Be sure to check our contrast matrix below to see exactly how it performs against common backgrounds.

Color Space Conversions

HEX#AF00DB
RGB175, 0, 219
HSL287.9°, 100.0%, 42.9%
CMYK20%, 100%, 0%, 14%
HSV287.9°, 100.0%, 85.9%
LAB44.6, 81.2, -66.7
XYZ30.5, 14.2, 68.2
Decimal11469019

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

5.46:1
Text on #FFFFFF
AA
3.85:1
Text on #000000
AA Large
5.22:1
Text on #F8FAFC
AA
3.27:1
Text on #0F172A
AA Large

CSS Implementation

.bg-color { background-color: #AF00DB; }
.text-color { color: #AF00DB; }
.border-color { border: 2px solid #AF00DB; }

Similar Colors

Darkviolet
#9400D3