Welcome to the Apple Support Communities
The memory type you mentioned is the one that your Mid 2011 iMac needs, and a Mid 2011 iMac supports 32 GB of memory without any problem, althoug Apple says that it only supports 16 GB of memory.
Apple often puts a smaller memory quantity than the Mac really supports, and we don't know the reason, but the most important thing is that you can install 32 GB of memory, 4x8 GB of memory. You can buy the memory in OWC or Crucial (Crucial is cheaper and offers the same compatibility warranty as OWC).
If you need help installing memory > http://support.apple.com/kb/HT1423?viewlocale=en_US#1