Wash the area with cold water first. Do not use hot water, as this will permanently set the pigment into the fibres.
Scrub the area intensely with dish soap to dislodge the pigment as much as possible.
Then scrub with baking soda. This may alter the pigment and make it look more intense, but this is not a failure in the process. It is just the chemistry of it.
Rinse again with cold water. Then dry it under sunlight for up to five days. This should destroy the pigment.