Recognised as Colour
#AF40A7
- #AF40A7
- Magenta
- Dark
- Nearest: Dark magenta
#AF40A7 is a magenta with RGB values 175, 64, 167 and HSL 304°, 46%, 47%. It is a dark colour, so white text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#AF40A7#AF40A7
HEX#AF40A7
RGBrgb(175, 64, 167)
RGB (0–1)0.6863, 0.251, 0.6549
RGB percentages68.6%, 25.1%, 65.5%
HSLhsl(304.3, 46.4%, 46.9%)
HSV / HSBhsv(304.3, 63.4%, 68.6%)
CMYK0%, 63.4%, 4.6%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,485,351
CSS custom property--colour: #AF40A7;
Brightness & contrast
Relative luminance0.15571WCAG 2.x, 0 is black and 1 is white
Perceived brightness121.4 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.1:1
Contrast with white5.1:1WCAG normal text: AA
Contrast with black4.11:1WCAG normal text: Fail
Greyscale equivalent#5F5F5F
Inverted#50BF58
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.1:1WCAG large text: AAA
Contrast with black, large text4.11:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40AF48
Analogous#8040AF, #AF406F
Triadic#A7AF40, #40A7AF
Split complementary#70AF40, #40AF80
Tetradic#AF7F40, #40AF48, #406FAF
Tints, shades & saturation
Channel breakdown
R175
G64
B167
Red175 (68.6%)
Green64 (25.1%)
Blue167 (65.5%)
Hue304.32°
Saturation (HSL)46.44%
Lightness46.86%
Dominant channelRed
Hex per channelR AF · G 40 · B A7
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