Even though the word has been used with a sexual connotation for a long time, it can still have the meaning of "inspiring disgust". This is true in expressions such as "obscene profits" or "the obscenity of war". It can simply be used to mean profanity, or it can mean anything that is taboo, indecent, abhorrent, or disgusting.