The quaternionic general linear gl(3,H)\mathfrak{gl}(3,\mathbb H) is the real

gl(3,H)=M3(H),[X,Y]=XY−YX.\mathfrak{gl}(3,\mathbb H)=M_{3}(\mathbb H),\qquad [X,Y]=XY-YX.
Trace and scalar conventions

Quaternionic matrix multiplication is associative, so its commutator is a real . Each quaternionic entry has four real coordinates, giving the displayed dimension.

Quaternionic entries do not make this a over a commutative field H\mathbb H. All scalar-linear categories in this record are over R\mathbb R.