well......... it's not a hex nut .
it's an octagon. looks to me like maybe a pipe or plumbing flange nut. hard to tell from the picture but it doesn't appear to make the socket much deeper. as the socket sits down into the nut,
how is it attached? i don't see welds. pressed in maybe?