The ink of the octopus, or any cephalopod, is composed of highly concentrated melanin. ... It is a natural dye that cephalopods manufacture in an ink sac. Most, but not all octopuses have an ink sac and produce ink, but a few, such as the deep-sea octopuses, have lost this ability.