#AF1DDB

A medium, vivid magenta closely aligning with Darkviolet.

About #AF1DDB

The precise color #AF1DDB is an excellent choice for modern design projects. It is closely associated with the named CSS color Darkviolet. Its digital footprint relies on 175 parts red, 29 parts green, and 219 parts blue light.

When sending designs containing this color to a printer, the CMYK values come into play. This specific hue requires a mix of 20% C, 87% M, 0% Y, and 14% K. With a hue angle of 286.1 degrees, it sits comfortably in the magenta spectrum.

Ensuring your text is legible against this background is a key part of web design. Mathematical luminance calculations suggest that #FFFFFF text provides the most optimal reading experience. You can view the detailed AAA and AA pass/fail metrics in the table below.

Color Space Conversions

HEX#AF1DDB
RGB175, 29, 219
HSL286.1°, 76.6%, 48.6%
CMYK20%, 87%, 0%, 14%
HSV286.1°, 86.8%, 85.9%
LAB45.8, 77.5, -64.7
XYZ30.9, 15.1, 68.3
Decimal11476443

Color Harmonies

Complementary

Analogous

Triadic

Tints, Shades & Tones

Tints (Adding White)

Shades (Adding Black)

WCAG Contrast Accessibility

5.22:1
Text on #FFFFFF
AA
4.02:1
Text on #000000
AA Large
4.99:1
Text on #F8FAFC
AA
3.42:1
Text on #0F172A
AA Large

CSS Implementation

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

Similar Colors

Darkviolet
#9400D3