Habitat
C. purpureus prefers a tropical and/or subtropical environment, observed in the wild to thrive in humid temperatures between 27-29°C. While they prefer these temperate conditions, they have been observed in a laboratory setting to withstand temperatures as low as about 8°C and as high as 38°C. They populate beaches with rocky crevices or areas of shrubbery which provide a suitable hiding place during the day, though they have also been observed hiding in and under trash on less pristine beaches. The crabs also seem to prefer beaches with rocky tidepools and supratidal zones to deposit zoea larvae in.
