The V-class destroyers were improved versions of the Admiralty V-class flotilla leaders built because the Admiralty had received reports that the Imperial German Navy was building large destroyers. They displaced 1,100 long tons (1,100 t) at light load and 1,490 long tons (1,510 t) at deep load. The ships had an overall length of 312 feet (95.1 m), a beam of 29 feet 6 inches (9.0 m) and a draught of 10 feet 6 inches (3.2 m). Vanity was powered by two Brown-Curtis geared steam turbines, each driving one shaft using steam provided by three Yarrow boilers. The turbines developed a total of 27,000 shaft horsepower (20,000 kW) and gave a maximum speed of 34 knots (63 km/h; 39 mph).[1] The ships carried enough fuel oil to give them a range of 2,600 nautical miles (4,800 km; 3,000 mi) at 15 knots (28 km/h; 17 mph).[2] Their complement was 134 officers and ratings.[1]
Vanity was recommissioned in August 1939 for the Royal Review of the Reserve Fleet by King George VI. After the United Kingdom entered World War II in September 1939, Vanity was assigned to the 15th Destroyer Flotilla at Rosyth, Scotland, for convoy escort and patrol duties in the North Sea. Later in the month she was selected for conversion into an anti-aircraft escort, and underwent conversion from October 1939 to June 1940. In July 1940 she underwent post-conversion acceptance trials, and was accepted for service on 12 August 1940. She then returned to convoy escort duty in the North Sea. In December 1941, she was "adopted" by the village of Winteringham (Lincolnshire), in a Warship Week National Savings campaign.
Vanity interrupted her regular duties in January 1942 to take part in Operation Performance, steaming to Scapa Flow in the Orkney Islands to deploy with the Home Fleet to cover the break-out of merchant ships from Sweden into the North Sea via the Danish straits. In February 1942, she returned to her convoy escort and patrol duties in the North Sea, which she carried out until February 1945. She did not take part in operations related to the Alliedinvasion of Normandy in the summer of 1944.
In February 1945, Vanity was reassigned to convoy escort and patrol duty in the English Channel, where North Atlantic convoys had been rerouted after the threat of German air attacks from France had abated, to reinforce convoy defences in the face of increased activity by German snorkel-equipped submarines in the area. She continued these operations until the surrender of Germany in early May 1945.
Vanity was decommissioned soon after Germany's surrender – she no longer was carried on the Royal Navy's active list as of July 1945 – and was placed in reserve. Placed on the disposal list in 1946, she was sold on 4 March 1947 for scrapping at Grangemouth, Scotland.
Campbell, N. J. M. (1980). "Great Britain (including Empire Forces)". In Chesneau, Roger (ed.). Conway's All the World's Fighting Ships 1922–1946. Greenwich, UK: Conway Maritime Press. pp. 2–85. ISBN0-85177-146-7.
Cocker, Maurice. Destroyers of the Royal Navy, 1893–1981. Ian Allan. ISBN0-7110-1075-7.
Friedman, Norman (2009). British Destroyers From Earliest Days to the Second World War. Annapolis, Maryland: Naval Institute Press. ISBN978-1-59114-081-8.
Lenton, H. T. (1998). British & Empire Warships of the Second World War. Annapolis, Maryland: Naval Institute Press. ISBN1-55750-048-7.
March, Edgar J. (1966). British Destroyers: A History of Development, 1892–1953; Drawn by Admiralty Permission From Official Records & Returns, Ships' Covers & Building Plans. London: Seeley Service. OCLC164893555.
Preston, Antony (1985). "Great Britain and Empire Forces". In Gray, Randal (ed.). Conway's All the World's Fighting Ships 1906–1921. Annapolis, Maryland: Naval Institute Press. pp. 1–104. ISBN0-85177-245-5.
Raven, Alan & Roberts, John (1979). 'V' and 'W' Class Destroyers. Man o'War. Vol. 2. London: Arms & Armour. ISBN0-85368-233-X.
Rohwer, Jürgen (2005). Chronology of the War at Sea 1939–1945: The Naval History of World War Two (Third Revised ed.). Annapolis, Maryland: Naval Institute Press. ISBN1-59114-119-2.