We introduce a cylindrical permanent magnet design that generates a homogeneous and strong magnetic field having an arbitrary inclination with respect to the axis of the cylinder. The analytical theory of 3 D magnetostatics has been applied to this problem, and a hybrid magnet structure has been designed. This structure contains two magnets producing a longitudinal and transverse component for the magnetic field, whose amplitudes and homogeneities can be fully controlled by design. A simple prototype has been constructed using inexpensive small cube magnets, and its magnetic field has been mapped using Hall and NMR probe sensors. This magnet can, in principle, be used for magic angle field spinning NMR and MRI experiments allowing for metabolic chemical shift profiling in small living animals.