grubbiness

noun
  1. the quality or state of being dirty or unclean
  2. the quality of being sordid, corrupt, or morally unpleasant
  3. Usage: figurative

Examples