I'm due my period in three days, but today I had a very dark brown / almost black and thick discharge? We have been trying for a baby

Early period. It sounds like your period may have just started a few days early which is not particularly abnormal. If you feel your discharge is abnormal consider scheduling a visit for testing. If you think you might be pregnant check then check a home pregnancy test. They are cheap, reliable and available at any pharmacy.