Both organic and inorganic colourants may contain heavy metals as impurity. Colourants are used to impart colour to almost all cosmetic products. Primarily they are of two types: Organic colourants such as dyes and organic pigments which are fairly soluble and lakes which are fairly insoluble. Inorganic colourants lack a carbon molecule. They are composed of fairly insoluble metallic compounds which are either derived from natural sources or are synthesised, like iron oxide and titanium dioxide.
Links:
[1] http://admin.indiaenvironmentportal.org.in/reports-documents/colourants-cosmetics-fact-sheet-iii
[2] http://admin.indiaenvironmentportal.org.in/category/publisher/centre-science-and-environment
[3] http://admin.indiaenvironmentportal.org.in/category/thesaurus/cosmetics
[4] http://admin.indiaenvironmentportal.org.in/category/thesaurus/heavy-metals
[5] http://admin.indiaenvironmentportal.org.in/category/thesaurus/health-effects
[6] http://admin.indiaenvironmentportal.org.in/category/thesaurus/cse