Because \displaystyle 27=3\centerdot 9=3\centerdot 3\centerdot 3=3^{3} thus,
\displaystyle \frac{1}{27}=\frac{1}{3^{3}}=3^{-3}