Indigo was mainly used for blue dye (D).
It was very important because it is rather rare. During the colonial times indigo was considered the second important cash crop. This was because many royals would buy it and it became a symbol of high class
Hope this helped!
~Just a girl in love with Shawn Mendes