How to make chocolate cake darker?

I made cupcakes but they are a fairly light brown compared to the original recipe which shows almost black cake. I find this happens quite often. Does anyone know how to make darker chocolate cake?