Interesting question! I suppose it's a matter of the carbon intensity, at any time of day, of an incremental or marginal kW of demand from charging. In most of the country I think the peak load is generated by natural gas fired plants whose carbon intensity is not too bad. If those peaking plants are off during the middle of the night, so incremental demand from nighttime charging is provided only by the base load generating capacity, then if the base load capacity is hydro or nuclear, nighttime charging is very low-carbon and better than daytime natural gas; however, if the base load plants are coal, nighttime is high-carbon and worse than daytime natural gas.
Having solar generation during the day complicates things, but only if solar is truly serving the marginal kW of demand. If solar is producing at full capacity whether or not you are charging (which it probably is, because the marginal cost of solar power production is zero), while your marginal demand is served by throttling gas-fired peaking plants, then the calculation is the same as before. Thus the existence of solar generation during the day doesn't necessarily make it lower carbon (on an incremental basis, which is what I think matters) to charge during the day.