The primary penalty for black hat SEO is a manual action from Google (and the equivalent from other search engines). This penalty will remove or greatly reduce your entire website’s visibility from search results. There is no legal penalty for black hat SEO—only visibility penalties from Google.