I'm trying to understand the correlation between color temperature and wavelength (or frequency) of light.
This was answered in my answer to your previous question:
A lamp doesn't just produce one wavelength. It produces a wide range of wavelengths with different amounts of power in each one (characterized by a spectrum). For an incandescent lamp, the spectrum will span the entire human visible range, and well into the infrared (and a bit into the ultraviolet). This will more-or-less approximate the emission of a black-body radiator with a certain temperature. The color temperature tells us what temperature black-body this lamp most closely approximates.
Color temperature can't be used to describe a single wavelength source. It is best used to describe a source with a broad output spectrum approximating a black-body spectrum. As the other answers here have said, it is also used in marketing lamps that have discretely lined spectra (such as fluorescent and LED lamps), to say what temperature blackbody the lamp looks most like when viewed by the human eye.
I need to produce a vast amount of light in the wavelength of 380 nm.
Since this is ultraviolet, most lamps will be designed not to produce this wavelength.
You should probably be looking for a black light, which is a lamp specifically designed to produce UV. The Wiki article includes a table of different fluorescent phosphors used in blacklights, and their peak emission wavelengths. It looks like the closest to 380 nm is the $\rm SrB_{4}O_7, Eu$ type, with 370 nm center wavelength and 20 nm spectral width. Probably you want to look for a blacklight using this phosphor. From what's in Wiki, this type should be available from Osram, but might be hard to find in North America.