#2A162F

Closest named color: Eggplant (#380835). oklch(24% 0.054 319.4), rgb(42, 22, 47).

Aa

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

About this color

#2A162F is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.054 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.044 away. White text reads best on it, at 16.74:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamuted (0.054)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.25:1
White text16.74:1

Values

HEX#2A162F
RGBrgb(42, 22, 47)
HSLhsl(288, 36%, 14%)
OKLCHoklch(24% 0.054 319.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 #2A162F 16.74:1 AAA Lc -106.0 Preferred for body text
Black text on #2A162F 1.25:1 Fails Lc 0.0 Not readable
#2A162F text on white 16.74:1 AAA Lc 103.6 Preferred for body text
#2A162F text on black 1.25: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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #EFE6F2

    oklch(93.5% 0.019 317.7)

  3. Step 200

    200

    #E4D2E8

    oklch(88.5% 0.035 320.1)

  4. Step 300

    300

    #D3B4DB

    oklch(80.9% 0.064 319.3)

  5. Step 400

    400

    #BC8CC9

    oklch(70.7% 0.102 319)

  6. Step 500

    500

    #AB6EBA

    oklch(63.1% 0.129 319.5)

  7. Step 600

    600

    #9654A6

    oklch(55.5% 0.141 319.6)

  8. Step 700

    700

    #80448F

    oklch(49.1% 0.132 319.3)

  9. Step 800

    800

    #683974

    oklch(42.8% 0.108 319.2)

  10. Step 900

    900

    #55315E

    oklch(37.7% 0.086 319.4)

  11. Step 950

    950 (this color)

    #2A162F

    oklch(24% 0.054 319.4)

Export this scale for Tailwind in the Tailwind colors tool

#2A162F 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)#121C300.048
Deuteranopia (no green cones)#181E2E0.042
Tritanopia (no blue cones)#2A19200.033
Achromatopsia (no color)#1E1E1E0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A162F

    #2A162F

    oklch(24% 0.054 319.4)

  • #10250B

    #10250B

    oklch(23.9% 0.054 139.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A162F

    #2A162F

    oklch(24% 0.054 319.4)

  • #1F1A37

    #1F1A37

    oklch(24% 0.054 289.6)

  • #311323

    #311323

    oklch(23.9% 0.054 348.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A162F

    #2A162F

    oklch(24% 0.054 319.4)

  • #212100

    #212100

    oklch(24% 0.052 109.8)

  • #00261B

    #00261B

    oklch(23.9% 0.048 169.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A162F

    #2A162F

    oklch(24% 0.054 319.4)

  • #2C1C00

    #2C1C00

    oklch(24.1% 0.05 78.9)

  • #002527

    #002527

    oklch(24% 0.041 200.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A162F

    #2A162F

    oklch(24% 0.054 319.4)

  • #331605

    #331605

    oklch(23.9% 0.054 49.2)

  • #10250B

    #10250B

    oklch(23.9% 0.054 139.8)

  • #002331

    #002331

    oklch(24% 0.047 229.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2A162F 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.