We propose an analogue of the Banach contraction principle for connected compact Hausdorff spaces. We define a J-contraction of a connected compact Hausdorff space. We show that every contraction of a compact metric space is a J-contraction and that any J-contraction of a compact metrizable space is a contraction for some admissible metric. We show that every J-contraction has a unique fixed point and that the orbit of each point converges to this fixed point.