#3A173E

Closest named color: Aubergine (#3D0734). oklch(27.5% 0.081 323.4), rgb(58, 23, 62).

Aa

White text reads best on this color (15.30:1).

About this color

#3A173E is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.081 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.034 away. White text reads best on it, at 15.30:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameAubergine (#3D0734)
Black text1.37:1
White text15.30:1

Values

HEX#3A173E
RGBrgb(58, 23, 62)
HSLhsl(294, 46%, 17%)
OKLCHoklch(27.5% 0.081 323.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #3A173E 15.30:1 AAA Lc -104.7 Preferred for body text
Black text on #3A173E 1.37:1 Fails Lc 0.0 Not readable
#3A173E text on white 15.30:1 AAA Lc 101.9 Preferred for body text
#3A173E text on black 1.37:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EBCEEE

    oklch(88.5% 0.053 323.1)

  4. Step 300

    300

    #DFACE4

    oklch(80.9% 0.095 323.4)

  5. Step 400

    400

    #CE7DD7

    oklch(70.7% 0.153 323.4)

  6. Step 500

    500

    #C057CC

    oklch(63.2% 0.196 323.4)

  7. Step 600

    600

    #AB35B9

    oklch(55.6% 0.214 323.3)

  8. Step 700

    700

    #93269F

    oklch(49.2% 0.198 323.6)

  9. Step 800

    800

    #772281

    oklch(42.7% 0.165 323.3)

  10. Step 900

    900

    #602367

    oklch(37.6% 0.127 323.5)

  11. Step 950

    950 (this color)

    #3A173E

    oklch(27.5% 0.081 323.4)

Export this scale for Tailwind in the Tailwind colors tool

#3A173E with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#11223F0.079
Deuteranopia (no green cones)#1C273D0.070
Tritanopia (no blue cones)#3B1C280.047
Achromatopsia (no color)#2525250.082

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #3A173E

    #3A173E

    oklch(27.5% 0.081 323.4)

  • #073108

    #073108

    oklch(27.5% 0.081 143.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A173E

    #3A173E

    oklch(27.5% 0.081 323.4)

  • #2A1D4B

    #2A1D4B

    oklch(27.4% 0.082 293.3)

  • #44132B

    #44132B

    oklch(27.6% 0.081 353.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #3A173E

    #3A173E

    oklch(27.5% 0.081 323.4)

  • #282B00

    #282B00

    oklch(27.7% 0.062 113.8)

  • #003025

    #003025

    oklch(27.6% 0.053 172.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A173E

    #3A173E

    oklch(27.5% 0.081 323.4)

  • #352500

    #352500

    oklch(27.6% 0.057 84)

  • #002E32

    #002E32

    oklch(27.5% 0.047 203.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A173E

    #3A173E

    oklch(27.5% 0.081 323.4)

  • #411C00

    #411C00

    oklch(27.5% 0.069 53.4)

  • #073108

    #073108

    oklch(27.5% 0.081 143.3)

  • #002C3F

    #002C3F

    oklch(27.6% 0.057 232.9)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #3A173E, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #3A173E in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.