The primary reason behind the paste being dark in colour is that you might have burnt the cashews. When you grind roasted cashews, the shade gets darker. The second reason might be over sauteeing the paste ingredients. Doing this turns the items red or brown, giving you a dark texture and a smokey fragrance.