Гибридный многоуровневый подход, основанный на молекулярной динамике, квантовой механике и статистической теории, применен для профилей электронных полос поглощения ряда тиазиновых красителей (фенотиазин, метиленовый синий и метиленовый зеленый), фотохимические и биологические свойства которых зависят от внешней среды. Изучено влияние отдельных фрагментов молекулы метиленового зеленого (МЗ) на его спектрально-люминесцентные свойства. Была выявлена наиболее предпочтительная геометрия для молекулы МЗ и установлена связь со спектральными свойствами и природой растворителя. Рассчитаны значения энергий электронных состояний и выявлена их природа. Проанализирован электростатический потенциал и обнаружены места наиболее вероятного взаимодействия молекулы со средой. На основании наблюдений и расчетов, проведенных в рамках данной работы, сделаны выводы о механизме формировании спектра поглощения МЗ. Установлено, что образование N-Н-связей приводит к формированию неактивного нижнего синглетного возбужденного состояния и делокализации электронного заряда при возбуждении. Положение максимума длинноволновой полосы поглощения МЗ коррелирует с донорным числом растворителей в ряду ацетонитрил < вода < этанол < изопропанол < диметилсульфоксид. Положение электронного перехода МЗ в области 630 нм определяется взаимодействием по атомам азота и серы центрального кольца, а не наращиванием заместителями в структуре молекулы.