The Z line is primarily composed of various proteins such as alpha-actinin, which anchors the actin filaments of the sarcomere. Other proteins like desmin and titin also contribute to the structural integrity and elasticity of the muscle fiber by connecting the Z line to the plasma membrane and other sarcomeres.