His strong condemnation follows months of demonstrations across the country, some of which have featured banners advocating for the deaths of individuals crossing the English Channel.
Mr Swinney joined a march through Glasgow on Saturday, organised by the Scottish Trade Union Congress (STUC), alongside Scottish Labour leader Anas Sarwar.
Speaking at a subsequent rally, Mr Swinney stated that many participants in these protests are "spreading racist hate" and affirmed that the protests themselves are racist.
STUC general secretary Roz Foyer concluded the rally by emphasising Scotland as a welcoming country and the unity of working people against hatred and division.