Two similar triangles have a scale factor of 1:3. If the perimeter of the smaller triangle is 27, what is the perimeter of the larger?