Neither of the powders you list are really appropriate for Hornet-level reduced loads. H335 does not like low pressure and loaded that way may give wild velocity swings and large muzzle flashes. IMR3031 is better but not the best. Frankly the "best" powder is probably BlueDot, I use it in my .223s with 40-grain bullets. But since it is not pressure tested data I won't list it here. You can find BD/.223 data on other sites.
.