Jennifer Garner, daughter Violet twin in black gowns at White House state dinner

LOS ANGELES, CA - APRIL 07: Actress Jennifer Garner attends Premiere Of Summit Entertainment's "Draft Day" at Regency Bruin Theatre on April 7, 2014 in Los Angeles, California. (Photo by Michael Buckner/Getty Images)

At an event Thursday night, Jennifer Garner and her daughter Violet had a twinning moment.

The mother and daughter wore matching black gowns to the White House state dinner.

Violet, who turned 17 on the same day, wore a heart-printed Carolina Herrera dress in the photos obtained by Page Six. She accessorized her gown with a matching black clutch and red Stuart Weitzman heels. The adolescent wore her hair in a slick bun

The “13 Going on 30” star wore a sequined black Ralph Lauren gown and Stuart Weitzman platforms. Garner wore her hair in soft waves.

At the star-studded event in Washington, D.C., the mother-daughter duo was photographed holding hands and smiling.

Fans praised the couple on social media, with many saying Violet resembled her mother.

One commented on a snap of Ben Affleck’s ex-wife and their eldest daughter:

“Spitting image.”

Another user wrote alongside a throwback photo of the “Yes Day” star:

“Boy she looks like her mom. Mom in 1996.”

Another agreed, writing:

“Copy-paste daughter. It’s actually pretty amazing!”

Violet’s resemblance to her mother was not the first time social media users noticed it.

Fans mistook the teen for the “Alias” star in photos of Affleck, his new wife, and Violet’s outing in August, just days before her father married Jennifer Lopez for the second time in his estate in Georgia.

One user commented:

“I was like, ‘Wow, Jennifer Garner, Ben Affleck and J.Lo out together.’ That similarity is crazy.”

Another said:

“I keep thinking Jennifer Garner is with them.”

A third person commented:

“Oh my god, she is Jennifer Garner’s mini-me!!!”

Another added:

“Violet looks so much like her beautiful mom that I thought it was her!”

Aside from Violet, Garner and Affleck have a daughter Seraphina, 13, and a son Sam, 10.

Lopez and her ex-husband, Marc Anthony, have 14-year-old twins Max and Emme.

While co-parenting, Garner and Lopez are said to have formed a “friendship.”

An unnamed source told Us Weekly:

“Now that Jen and Jen have been co-parenting, they’ve been getting to know each other better and have formed a very new friendship.”

According to the source, Garner “can’t believe how sweet” Lopez is to her three children with Affleck.