Is this hermorrhoid

so im a 35 year old male i have a history of very bad constipation and suddenly i know this on my anus is this hermorrhoid or something else it also have a part thats like purple please reply im afraid that i have cancer im freaking out cannot sleep