My toe hurts to touch or bend it but there is a small and dim bruise in between the toenail and the nuckel thing on my big toe.

Possible infection. You may be developing a paronychia or infection along the cuticle of the nail. Sometimes they appear black or bruised looking. Soak the toe in warm water with epsom salts and see how it goes - it may drain a little pus. If it continues or worsens over the next 24 hours then see a doctor.
Trauma to toe. If I knew your age I would have more to work with. in middle age I would think of podagra (gout0. Off hand i think that your toe nail got caught in your socks and you may have a traction injury.