Cephalopods, the group of animals including octopus, squid, and cuttlefish, have remarkable ability to instantly modulate body coloration and patterns so as to blend into surrounding environments [1, 2] or send warning signals to other animals [3]. Reflectin is expressed exclusively in cephalopods, filling the lamellae of intracellular Bragg reflectors that exhibit dynamic iridescence and structural color change [4]. Here, we trace the possible origin of the reflectin gene back to a transposon from the symbiotic bioluminescent bacterium Vibrio fischeri and report the hierarchical structural architecture ofreflectin protein. Intrinsic self-assembly, and higher-order assembly tightly modulated by aromatic compounds, provide insights into the formation of multilayer reflectors in iridophores and spherical microparticles in leucophores and may form the basis of structural color change in cephalopods. Self-assembly and higher-order assembly in reflectin originated from a core repeating octapeptide (here named protopeptide), which may be from the same symbiotic bacteria. The origin of the reflectin gene and assembly features of reflectin protein are of considerable biological interest. The hierarchical structural architecture of reflectin and its domain and protopeptide not only provide insights for bioinspired photonic materials but also serve as unique "assembly tags" and feasible molecular platforms in biotechnology.