#281D31

Closest named color: Dark (#1B2431). oklch(25.3% 0.04 308.9), rgb(40, 29, 49).

Aa

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

About this color

#281D31 is a dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.040 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.032 away. White text reads best on it, at 16.02:1.

Hue familyPurples
Lightnessdark (25%)
Chromamuted (0.040)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.31:1
White text16.02:1

Values

HEX#281D31
RGBrgb(40, 29, 49)
HSLhsl(273, 26%, 15%)
OKLCHoklch(25.3% 0.04 308.9)

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 #281D31 16.02:1 AAA Lc -105.5 Preferred for body text
Black text on #281D31 1.31:1 Fails Lc 0.0 Not readable
#281D31 text on white 16.02:1 AAA Lc 102.9 Preferred for body text
#281D31 text on black 1.31: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #ECE8F1

    oklch(93.7% 0.013 306)

  3. Step 200

    200

    #DED5E7

    oklch(88.6% 0.026 308.1)

  4. Step 300

    300

    #C9B9D8

    oklch(80.9% 0.046 308.5)

  5. Step 400

    400

    #AE94C5

    oklch(70.7% 0.076 308.6)

  6. Step 500

    500

    #9A79B6

    oklch(63.1% 0.096 308.6)

  7. Step 600

    600

    #8561A2

    oklch(55.6% 0.105 308.8)

  8. Step 700

    700

    #71508A

    oklch(49.1% 0.097 309.4)

  9. Step 800

    800

    #5C4270

    oklch(42.7% 0.08 309.3)

  10. Step 900

    900

    #4B385B

    oklch(37.7% 0.063 308.5)

  11. Step 950

    950 (this color)

    #281D31

    oklch(25.3% 0.04 308.9)

Export this scale for Tailwind in the Tailwind colors tool

#281D31 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)#1921320.029
Deuteranopia (no green cones)#1C22300.027
Tritanopia (no blue cones)#2720240.030
Achromatopsia (no color)#2121210.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #281D31

    #281D31

    oklch(25.3% 0.04 308.9)

  • #1C2611

    #1C2611

    oklch(25.3% 0.04 129.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281D31

    #281D31

    oklch(25.3% 0.04 308.9)

  • #1E2035

    #1E2035

    oklch(25.2% 0.04 279)

  • #2F1B29

    #2F1B29

    oklch(25.4% 0.039 338.6)

Open the analogous palette in the generator

Split complementary

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

  • #281D31

    #281D31

    oklch(25.3% 0.04 308.9)

  • #27230A

    #27230A

    oklch(25.4% 0.04 100.3)

  • #10281B

    #10281B

    oklch(25.3% 0.039 158.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281D31

    #281D31

    oklch(25.3% 0.04 308.9)

  • #2F1F0C

    #2F1F0C

    oklch(25.4% 0.04 69.1)

  • #052826

    #052826

    oklch(25.2% 0.039 189.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281D31

    #281D31

    oklch(25.3% 0.04 308.9)

  • #331B14

    #331B14

    oklch(25.3% 0.041 37.1)

  • #1C2611

    #1C2611

    oklch(25.3% 0.04 129.7)

  • #07272F

    #07272F

    oklch(25.4% 0.039 217.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #281D31 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.