It depends which class you mean, because "Dark Knight" isn't a class name that maps cleanly onto DragonFable's roster.
The closest match is the Death Knight, which is free and obtained from the Necropolis. If that's the one you were thinking of, then yes — no purchase required.
If you had a different class in mind, it's worth checking the in-game class list directly, since DragonFable rotates a lot of its premium content in and out of availability.