It is the superlative of ugly. It means very ugly, horrible. ugly to the highest degree. Horrifying.
UGLY augmentative of UGLY. Very ugly, extremely ugly.