#281731

Closest named color: Dark (#1B2431). oklch(24% 0.053 313.1), rgb(40, 23, 49).

Aa

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

About this color

#281731 is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.053 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.047 away. White text reads best on it, at 16.70:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamuted (0.053)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.25:1
White text16.70:1

Values

HEX#281731
RGBrgb(40, 23, 49)
HSLhsl(279, 36%, 14%)
OKLCHoklch(24% 0.053 313.1)

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 #281731 16.70:1 AAA Lc -106.0 Preferred for body text
Black text on #281731 1.25:1 Fails Lc 0.0 Not readable
#281731 text on white 16.70:1 AAA Lc 103.5 Preferred for body text
#281731 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE7F3

    oklch(93.7% 0.018 311.6)

  3. Step 200

    200

    #E1D3EA

    oklch(88.5% 0.035 312.4)

  4. Step 300

    300

    #CFB5DE

    oklch(80.8% 0.063 313.2)

  5. Step 400

    400

    #B78ECD

    oklch(70.7% 0.1 313.5)

  6. Step 500

    500

    #A471C0

    oklch(63.1% 0.127 312.8)

  7. Step 600

    600

    #8F57AD

    oklch(55.5% 0.14 312.7)

  8. Step 700

    700

    #7A4794

    oklch(49.1% 0.129 313.1)

  9. Step 800

    800

    #633B78

    oklch(42.7% 0.107 312.9)

  10. Step 900

    900

    #513361

    oklch(37.7% 0.084 313)

  11. Step 950

    950 (this color)

    #281731

    oklch(24% 0.053 313.1)

Export this scale for Tailwind in the Tailwind colors tool

#281731 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)#121D320.043
Deuteranopia (no green cones)#161E300.039
Tritanopia (no blue cones)#271B210.037
Achromatopsia (no color)#1E1E1E0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #281731

    #281731

    oklch(24% 0.053 313.1)

  • #152408

    #152408

    oklch(23.9% 0.052 132.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281731

    #281731

    oklch(24% 0.053 313.1)

  • #1C1B37

    #1C1B37

    oklch(23.9% 0.053 283.3)

  • #301426

    #301426

    oklch(24% 0.053 342.6)

Open the analogous palette in the generator

Split complementary

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

  • #281731

    #281731

    oklch(24% 0.053 313.1)

  • #242000

    #242000

    oklch(24% 0.051 102.7)

  • #002718

    #002718

    oklch(24.1% 0.052 162.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281731

    #281731

    oklch(24% 0.053 313.1)

  • #2E1B00

    #2E1B00

    oklch(24.1% 0.051 73.2)

  • #002525

    #002525

    oklch(23.9% 0.041 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281731

    #281731

    oklch(24% 0.053 313.1)

  • #341609

    #341609

    oklch(24.2% 0.053 43.1)

  • #152408

    #152408

    oklch(23.9% 0.052 132.7)

  • #00242F

    #00242F

    oklch(24.2% 0.045 222.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #281731 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.