Luqui80...
Codes differ from state to state...In Milo's area it is apparently 4 feet max. From trap to vent.
In my area it is 6 feet max. From trap to vent. Depending on where you live, I'm sure you'll be fine at 6 feet max. From vent to trap.
Only change we are suggesting is that you take the vent off and run it either up as Milo suggested or parallel to the waste stack as I have drawn below and connect the vent upstairs at about 48" off the finish floor.
If you don't connect the vent as we suggest there is a good chance that the ptrap to the washer will bubble/gurgle and could get siphoned dry when a toilet or tub from upstairs drains past the washing machine fittings...this will allow sewer gas into the home...a major no-no in plumbing...
I also noted some of the things Milo did, like the long sweep elbow, but I have also added a cleanout (dandy cleanout) at base of washing machine pipe and another cleanout at the ptrap to the washing machine (another code requirement). The standpipe should also be between 24" to 30" out of the ptrap.
Let us know what you think here...
MARK