#281224

Closest named color: Eggplant (#380835). oklch(22.2% 0.047 334.1), rgb(40, 18, 36).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (22%)
Chromamuted (0.047)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.20:1
White text17.46:1

Values

HEX#281224
RGBrgb(40, 18, 36)
HSLhsl(311, 38%, 11%)
OKLCHoklch(22.2% 0.047 334.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 #281224 17.46:1 AAA Lc -106.5 Preferred for body text
Black text on #281224 1.20:1 Fails Lc 0.0 Not readable
#281224 text on white 17.46:1 AAA Lc 104.2 Preferred for body text
#281224 text on black 1.20: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

    #F9F4F7

    oklch(97.2% 0.007 340.4)

  2. Step 100

    100

    #F1E6EE

    oklch(93.6% 0.016 335.1)

  3. Step 200

    200

    #E7D2E2

    oklch(88.6% 0.031 334)

  4. Step 300

    300

    #D8B4D0

    oklch(81% 0.056 333.9)

  5. Step 400

    400

    #C38CB8

    oklch(70.8% 0.089 333.8)

  6. Step 500

    500

    #B36EA6

    oklch(63.1% 0.114 334)

  7. Step 600

    600

    #9E5591

    oklch(55.6% 0.124 334.1)

  8. Step 700

    700

    #87457B

    oklch(49.1% 0.115 334.4)

  9. Step 800

    800

    #6E3964

    oklch(42.7% 0.095 334.6)

  10. Step 900

    900

    #593152

    oklch(37.6% 0.075 333.7)

  11. Step 950

    950 (this color)

    #281224

    oklch(22.2% 0.047 334.1)

Export this scale for Tailwind in the Tailwind colors tool

#281224 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)#1218250.047
Deuteranopia (no green cones)#181B230.043
Tritanopia (no blue cones)#2A13190.024
Achromatopsia (no color)#1A1A1A0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #281224

    #281224

    oklch(22.2% 0.047 334.1)

  • #052111

    #052111

    oklch(22.1% 0.046 155.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281224

    #281224

    oklch(22.2% 0.047 334.1)

  • #20152D

    #20152D

    oklch(22.3% 0.047 303.9)

  • #2D1118

    #2D1118

    oklch(22.3% 0.047 5.8)

Open the analogous palette in the generator

Split complementary

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

  • #281224

    #281224

    oklch(22.2% 0.047 334.1)

  • #161F04

    #161F04

    oklch(22.3% 0.048 125.3)

  • #00211D

    #00211D

    oklch(22.3% 0.04 183.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281224

    #281224

    oklch(22.2% 0.047 334.1)

  • #221A00

    #221A00

    oklch(22.1% 0.045 93.2)

  • #002026

    #002026

    oklch(22.4% 0.039 212.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281224

    #281224

    oklch(22.2% 0.047 334.1)

  • #2A1602

    #2A1602

    oklch(22.3% 0.046 64.4)

  • #052111

    #052111

    oklch(22.1% 0.046 155.1)

  • #041D2F

    #041D2F

    oklch(22.2% 0.047 243.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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