The species exhibits sexual dimorphism. Males, as pictured, tend to have more purple and/or red coloration.
Rocky tide pool in the Pacific ocean.
This appears to be underwater mating behavior. During this behavior, the purple crab repeatedly flexed its claws and picked at the other's shell. Note the algae growing on either individual.