A type of protein composed of basic amino acids, involved in organizing and compacting DNA within the nucleus of eukaryotic cells.