I think it may have got too cold and won't ripen. Aubergine's like warmth (lots of warmth) and water. However, I could be wrong. When I've grown them they start like yours then get purpler and darker. But one strange thing that I've read is that wild aubergines in warm countries have yellow bitter fruits, but not nice to eat.