This is correct. You can notice this occurrence on acronyms such as NASA, CIA, FBI, etc...
Answer:
An adverb is a part of speech that describes or modifies a verb, an adjective, another adverb, clause, or sentence. Adverbs answer the questions "How?", "When?", "Where?", "Why?", "In what way?", "How much?", "How often?", "Under what condition", "To what degree?"
Explanation:
A purple flower called violet. The poet describes the flower. Beauty is the theme of the poem, and as the poet has repeated the words "modest violet", it shows that she likes the flower, hence the repetition of the words show her attitude of inclination towards the flower.