The gravy may be dark because the masala was roasted for too long. Also, browning onions for too long can result in a darker-colored gravy.