#2A1B2D

Closest named color: Dark (#1B2431). oklch(24.9% 0.039 320.7), rgb(42, 27, 45).

Aa

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

About this color

#2A1B2D is a very dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.039 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.038 away. White text reads best on it, at 16.23:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamuted (0.039)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.29:1
White text16.23:1

Values

HEX#2A1B2D
RGBrgb(42, 27, 45)
HSLhsl(290, 25%, 14%)
OKLCHoklch(24.9% 0.039 320.7)

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 #2A1B2D 16.23:1 AAA Lc -105.7 Preferred for body text
Black text on #2A1B2D 1.29:1 Fails Lc 0.0 Not readable
#2A1B2D text on white 16.23:1 AAA Lc 103.1 Preferred for body text
#2A1B2D text on black 1.29: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

    #F7F4F8

    oklch(97.1% 0.006 317.8)

  2. Step 100

    100

    #EEE7EF

    oklch(93.6% 0.013 321.9)

  3. Step 200

    200

    #E1D4E4

    oklch(88.5% 0.026 319.9)

  4. Step 300

    300

    #CFB7D3

    oklch(80.8% 0.047 321.4)

  5. Step 400

    400

    #B692BD

    oklch(70.7% 0.073 320.8)

  6. Step 500

    500

    #A476AD

    oklch(63.1% 0.096 320.8)

  7. Step 600

    600

    #8F5E98

    oklch(55.6% 0.104 321.2)

  8. Step 700

    700

    #794D82

    oklch(49% 0.097 320.6)

  9. Step 800

    800

    #63406A

    oklch(42.8% 0.08 320.8)

  10. Step 900

    900

    #513656

    oklch(37.7% 0.063 321.1)

  11. Step 950

    950 (this color)

    #2A1B2D

    oklch(24.9% 0.039 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#2A1B2D 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)#191F2E0.033
Deuteranopia (no green cones)#1D212C0.031
Tritanopia (no blue cones)#2A1D220.024
Achromatopsia (no color)#2020200.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A1B2D

    #2A1B2D

    oklch(24.9% 0.039 320.7)

  • #172614

    #172614

    oklch(24.9% 0.039 140.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A1B2D

    #2A1B2D

    oklch(24.9% 0.039 320.7)

  • #211E33

    #211E33

    oklch(24.9% 0.039 289.8)

  • #301924

    #301924

    oklch(24.9% 0.041 350.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A1B2D

    #2A1B2D

    oklch(24.9% 0.039 320.7)

  • #22230B

    #22230B

    oklch(24.9% 0.04 111.1)

  • #09271F

    #09271F

    oklch(24.8% 0.039 172.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A1B2D

    #2A1B2D

    oklch(24.9% 0.039 320.7)

  • #2B1F09

    #2B1F09

    oklch(24.8% 0.039 80.4)

  • #032729

    #032729

    oklch(24.9% 0.04 200.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A1B2D

    #2A1B2D

    oklch(24.9% 0.039 320.7)

  • #301C0F

    #301C0F

    oklch(24.9% 0.039 53.1)

  • #172614

    #172614

    oklch(24.9% 0.039 140.3)

  • #0A2531

    #0A2531

    oklch(25% 0.039 230.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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