Recognised as Colour
#AF2D8B
- #AF2D8B
- Magenta
- Dark
- Nearest: Medium violet red
#AF2D8B is a magenta with RGB values 175, 45, 139 and HSL 317°, 59%, 43%. It is a dark colour, so white text on it reaches 5.9:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#AF2D8B#AF2D8B
HEX#AF2D8B
RGBrgb(175, 45, 139)
RGB (0–1)0.6863, 0.1765, 0.5451
RGB percentages68.6%, 17.6%, 54.5%
HSLhsl(316.6, 59.1%, 43.1%)
HSV / HSBhsv(316.6, 74.3%, 68.6%)
CMYK0%, 74.3%, 20.6%, 31.4%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,480,459
CSS custom property--colour: #AF2D8B;
Brightness & contrast
Relative luminance0.12855WCAG 2.x, 0 is black and 1 is white
Perceived brightness112 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.88:1
Contrast with white5.88:1WCAG normal text: AA
Contrast with black3.57:1WCAG normal text: Fail
Greyscale equivalent#4F4F4F
Inverted#50D274
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.88:1WCAG large text: AAA
Contrast with black, large text3.57:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2DAF51
Analogous#922DAF, #AF2D4A
Triadic#8BAF2D, #2D8BAF
Split complementary#4AAF2D, #2DAF92
Tetradic#AF922D, #2DAF51, #2D4AAF
Tints, shades & saturation
Channel breakdown
R175
G45
B139
Red175 (68.6%)
Green45 (17.6%)
Blue139 (54.5%)
Hue316.62°
Saturation (HSL)59.09%
Lightness43.14%
Dominant channelRed
Hex per channelR AF · G 2D · B 8B
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