<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2012-09-27</periodOfReport>

    <notSubjectToSection16>0</notSubjectToSection16>

    <issuer>
        <issuerCik>0001143155</issuerCik>
        <issuerName>HAMPTON ROADS BANKSHARES INC</issuerName>
        <issuerTradingSymbol>HMPR</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001503087</rptOwnerCik>
            <rptOwnerName>CapGen Capital Group VI LP</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>1185 AVENUE OF THE AMERICAS</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 2000</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10036</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>1</isOther>
            <officerTitle></officerTitle>
            <otherText>See Remarks</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001503086</rptOwnerCik>
            <rptOwnerName>CapGen Capital Group VI LLC</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>1185 AVENUE OF THE AMERICAS</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 2000</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10036</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001453863</rptOwnerCik>
            <rptOwnerName>Ludwig Eugene</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>1185 AVENUE OF THE AMERICAS</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 2000</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10036</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001228649</rptOwnerCik>
            <rptOwnerName>GOLDSTEIN ROBERT</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O CAPGEN CAPITAL GROUP VI LP</rptOwnerStreet1>
            <rptOwnerStreet2>1185 AVENUE OF THE AMERICAS SUITE 2000</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10036</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>1</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle></officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock, par value $0.01 per share</value>
            </securityTitle>
            <transactionDate>
                <value>2012-09-27</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>P</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>11272875</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>.7</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>51024981</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                    <footnoteId id="F3"/>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Held by CapGen Capital Group VI LP</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable></derivativeTable>

    <footnotes>
        <footnote id="F1">CapGen Capital Group VI LP (&quot;CapGen LP&quot;) acquired the shares of common stock, par value $0.01 per share (the &quot;Common Stock&quot;), of Hampton Roads Bankshares, Inc. (the &quot;Issuer&quot;) on September 27, 2012.  CapGen Capital Group VI LLC (&quot;CapGen LLC&quot;) is the sole general partner of CapGen LP.  Mr. Eugene A. Ludwig is the managing member of CapGen LLC.</footnote>
        <footnote id="F2">As the sole general partner of CapGen LP, CapGen LLC may be deemed to be the indirect beneficial owner of the shares of Common Stock on this row under Rule 16a-1(a)(2) promulgated under the Securities Exchange Act of 1934, as amended (the &quot;Exchange Act&quot;). Pursuant to Rule 16a-1(a)(4) promulgated under the Exchange Act, CapGen LLC disclaims that it is the beneficial owner of such shares, except to the extent of its pecuniary interest.</footnote>
        <footnote id="F3">As the managing member of CapGen LLC, Mr. Ludwig may be deemed to be the indirect beneficial owner of the shares of Common Stock under Rule 16a-1(a)(2) promulgated under the Exchange Act. As a principal member and member of the investment committee of CapGen LLC, the general partner of CapGen LP, Mr. Goldstein may be deemed to be the indirect beneficial owner of such shares under Rule 16a-1(a)(2) promulgated under the Exchange Act. Pursuant to Rule 16a-1(a)(4) promulgated under the Exchange Act, each of Mr. Ludwig and Mr. Goldstein disclaims that he is the beneficial owner of such shares, except to the extent of his pecuniary interest.</footnote>
    </footnotes>

    <remarks>On October 4, 2010, the Issuer appointed Mr. Robert Goldstein to the board of directors. CapGen LP, CapGen LLC and Mr. Ludwig disclaim their status as directors by deputization by virtue of Mr. Goldstein's position as a member of the board of directors of the Issuer.</remarks>

    <ownerSignature>
        <signatureName>/s/ Robert B. Goldstein</signatureName>
        <signatureDate>2012-09-28</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Eugene A. Ludwig</signatureName>
        <signatureDate>2012-09-28</signatureDate>
    </ownerSignature>

    <ownerSignature>
        <signatureName>/s/ Eugene A. Ludwig, the managing member of CAPGEN CAPITAL GROUP VI LLC, the general partner of CAPGEN CAPITAL GROUP VI LP</signatureName>
        <signatureDate>2012-09-28</signatureDate>
    </ownerSignature>
</ownershipDocument>
