Recognised as Colour
#AF277E
- #AF277E
- Magenta
- Dark
- Nearest: Medium violet red
#AF277E is a magenta with RGB values 175, 39, 126 and HSL 322°, 64%, 42%. It is a dark colour, so white text on it reaches 6.2:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#AF277E#AF277E
HEX#AF277E
RGBrgb(175, 39, 126)
RGB (0–1)0.6863, 0.1529, 0.4941
RGB percentages68.6%, 15.3%, 49.4%
HSLhsl(321.6, 63.6%, 42%)
HSV / HSBhsv(321.6, 77.7%, 68.6%)
CMYK0%, 77.7%, 28%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,478,910
CSS custom property--colour: #AF277E;
Brightness & contrast
Relative luminance0.12071WCAG 2.x, 0 is black and 1 is white
Perceived brightness108.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 6.15:1
Contrast with white6.15:1WCAG normal text: AA
Contrast with black3.41:1WCAG normal text: Fail
Greyscale equivalent#4A4A4A
Inverted#50D881
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text6.15:1WCAG large text: AAA
Contrast with black, large text3.41:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#27AF58
Analogous#9C27AF, #AF273A
Triadic#7EAF27, #277EAF
Split complementary#3AAF27, #27AF9C
Tetradic#AF9C27, #27AF58, #273AAF
Tints, shades & saturation
Channel breakdown
R175
G39
B126
Red175 (68.6%)
Green39 (15.3%)
Blue126 (49.4%)
Hue321.62°
Saturation (HSL)63.55%
Lightness41.96%
Dominant channelRed
Hex per channelR AF · G 27 · B 7E
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page