To add a SW color to a design library, you need to locate the color in the source (e.g., a design file or color palette), copy its value, and then paste it into the design library's color palette. This process ensures that the color is easily accessible and consistent across various design projects.