It should say on your banned account's profile the reason and duration.
permanent banned is forever, unless you appeal and provide sufficient proof to be unbanned otherwise.
if its a ban against pvp issues or trade, it is normally 3 days, but it should tell you when the ban will end anyways.