Recognised as Colour
#AF428C
- #AF428C
- Magenta
- Dark
- Nearest: Medium violet red
#AF428C is a magenta with RGB values 175, 66, 140 and HSL 319°, 45%, 47%. It is a dark colour, so white text on it reaches 5.3:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#AF428C#AF428C
HEX#AF428C
RGBrgb(175, 66, 140)
RGB (0–1)0.6863, 0.2588, 0.549
RGB percentages68.6%, 25.9%, 54.9%
HSLhsl(319.3, 45.2%, 47.3%)
HSV / HSBhsv(319.3, 62.3%, 68.6%)
CMYK0%, 62.3%, 20%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,485,836
CSS custom property--colour: #AF428C;
Brightness & contrast
Relative luminance0.14904WCAG 2.x, 0 is black and 1 is white
Perceived brightness118.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.28:1
Contrast with white5.28:1WCAG normal text: AA
Contrast with black3.98:1WCAG normal text: Fail
Greyscale equivalent#5F5F5F
Inverted#50BD73
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.28:1WCAG large text: AAA
Contrast with black, large text3.98:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42AF65
Analogous#9B42AF, #AF4255
Triadic#8CAF42, #428CAF
Split complementary#56AF42, #42AF9B
Tetradic#AF9B42, #42AF65, #4255AF
Tints, shades & saturation
Channel breakdown
R175
G66
B140
Red175 (68.6%)
Green66 (25.9%)
Blue140 (54.9%)
Hue319.27°
Saturation (HSL)45.23%
Lightness47.25%
Dominant channelRed
Hex per channelR AF · G 42 · B 8C
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page