Highly pure semiconducting single-walled carbon nanotubes (SWNTs), sorted by density-gradient ultracentrifugation, undergo self-assembly using depletion attraction forces into rafts along lithographically defined patterns of narrow pitch (100 or 200 nm). The arrays demonstrate high pattern fidelity and channel filling, along with large-scale homogeneity. Field-effect transistors made from these arrays exhibit high performance at on/off ratios>1000.