Hm. I say just replace the carpet. It's not expensive. Maybe even change the color for contrast.
Theres always upolstry spraypaint if you matched the colors up right
Check with a local carpet dealer about some carpet dye or a carpet cleaning company like Stanley Steamers. I'm sure they have had to deal with tough stains on carpets.