First put a good facial moisturiser over the black eye, preferably an eye-moisturiser, but if you have some cooling gel that ppl use for bags after a big night out... that would be the best.
Then basically apply your makeup as normal. It would be better if you had a paler foundation than your actual skin colour because that black is going to show up through the makeup, and the paler the foundation the better. After you have rubbed the foundation in well, if you also have some concealer it would be good to dab some on, and not quite rub it in, but rub it in just enough so you dont see smear marks. Because after than you can seal in the concealer with loose or pressed powder. If its pressed powder its better if you apply it with a brush, (an eyeshadow brush is best) and gently apply.. more like dust a coat over the top. Because you arent going for the perfect perfect look here, basically you just want to reduce that black and purple pigment as best you can, and get an OK look. The only way you are going to completely cover that black eye is with pancake pancake makeup that makeup artists use for TV.