Fine grain and wide tonal range are inherently at odds.(posted 8556 days ago)General purpose developers fall into 2 major classes: solvent, which minimize grain, and acutance, which tend to allow for compensation (compressing the highlights so they don't hit the maximum density of the film and "burn out").
Developers which seem to defy these rules, at least to some extent, are: Xtol,PMK, and 2-bath or divided developers. Anchell & Troop's Film Developing Cookbook suggests a formula for a 2-bath version of Microdol-X, which might fit your needs.