Don't say things that are unlike you.

Literal

Unlike-character thing [object-を] say [negative imperative-な].

柄にもない means 'out of character/unlike someone' — 柄 refers to character or nature. ことを言うな prohibits the speech: 'don't say such things.' The speaker is calling out behavior that doesn't match the listener's usual personality.