Does capillary rise violate hydrostatic paradox?

The pressures at A and B are indeed equal. However, the pressure in the fluid immediately below the curved meniscus is equal to $p_{atm}-hdg$ as a result of surface tension. So the pressure at A is $$p_A=p_{atm}-hdg+hdg=p_{atm}=p_B$$That is, there is a discontinuous change in pressure across the meniscus as a result of the surface tension in combination with the curvature. The pressure on the upper side of the interface is $p_{atm}$ and the pressure on the lower side of the interface is $p_{atm}-hdg$.


$p_A$ is equal to $p_B$ here. The disparity is arising due to the fact that pressure just outside the meniscus is greater than the pressure inside. This is due to the curvature of the meniscus and surface tension. This difference is compensated by $hdg$ to make $p_A=p_B$.