It would be easier to tell if there was some info on your general area (ohio, USA, or whatever) but if the lizard's got a long tail that is dark-blue/purple, it's probably a 5-lined skink. Not the least bit poisonous and not ever dangerous unless you're a smallish bug.