Spiced rum is not necessarily a dark rum. It is a concoction crafted by infusing classic rum with spices and even artificial flavoring like caramel, vanilla, or nutmeg.
Aside from looking at the color, there's no definition for what qualifies as dark rum. To ultimately determine what kind of rum you're drinking, look at the bottle's labeling.
Per the TTB, distillers must use a "distinctive or fanciful product name with a statement reflecting the composition and character of the product," like "Rum with Spice Flavor."
Dark rums also tend to have a molasses or caramel flavor. Spiced rum shows a wide range of flavors depending on the spices used and typically has a thick aroma and lighter taste.