There is a list of paint codes here:
https://www.volvoclub.org.uk/paint_colour_codes.shtml
On your car's body plate there should be a number that corresponds with one of the blacks or anthracites on this list. The body plate is the sticker with the axle weights, etc on it - nowadays located below the hinge of the rh rear door pillar.
You can also dig out a relevant price list from the following list to see which colours were available in any particular MY.(currently only available from 2011 onwards unfortunately, but included here in case anyone else with a later car needs the same info).
https://www.volvocars.com/uk/leasing...mys-pricelists
Lastly, you could ask a dealer parts desk what colour your car is. They will just need a reg no or VIN number