Definitions of legitimately:

  • adverb:   in a lawfully recognized manner
    Example: "Let's get married so our child can be born legitimately"
  • adverb:   in a manner acceptable to common custom
    Example: "You cannot do this legitimately!"