#281128

Closest named color: Eggplant (#380835). oklch(22.3% 0.054 327.2), rgb(40, 17, 40).

Aa

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

About this color

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

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

Values

HEX#281128
RGBrgb(40, 17, 40)
HSLhsl(300, 40%, 11%)
OKLCHoklch(22.3% 0.054 327.2)

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 #281128 17.48:1 AAA Lc -106.5 Preferred for body text
Black text on #281128 1.20:1 Fails Lc 0.0 Not readable
#281128 text on white 17.48:1 AAA Lc 104.2 Preferred for body text
#281128 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E6D1E6

    oklch(88.4% 0.036 325.9)

  4. Step 300

    300

    #D8B3D6

    oklch(81% 0.063 327.9)

  5. Step 400

    400

    #C38AC2

    oklch(70.8% 0.102 327.2)

  6. Step 500

    500

    #B36BB2

    oklch(63.2% 0.131 327.5)

  7. Step 600

    600

    #9E519E

    oklch(55.6% 0.143 327.3)

  8. Step 700

    700

    #874187

    oklch(49.1% 0.133 327.4)

  9. Step 800

    800

    #6D366E

    oklch(42.6% 0.11 326.6)

  10. Step 900

    900

    #593059

    oklch(37.8% 0.085 327.1)

  11. Step 950

    950 (this color)

    #281128

    oklch(22.3% 0.054 327.2)

Export this scale for Tailwind in the Tailwind colors tool

#281128 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)#0F18290.052
Deuteranopia (no green cones)#161B270.047
Tritanopia (no blue cones)#29131A0.030
Achromatopsia (no color)#1A1A1A0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #281128

    #281128

    oklch(22.3% 0.054 327.2)

  • #06220B

    #06220B

    oklch(22.4% 0.055 147.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #281128

    #281128

    oklch(22.3% 0.054 327.2)

  • #1E1531

    #1E1531

    oklch(22.3% 0.054 296.6)

  • #2E0F1B

    #2E0F1B

    oklch(22.3% 0.053 358)

Open the analogous palette in the generator

Split complementary

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

  • #281128

    #281128

    oklch(22.3% 0.054 327.2)

  • #1A1E00

    #1A1E00

    oklch(22.3% 0.051 116.6)

  • #00211B

    #00211B

    oklch(22.2% 0.041 178.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #281128

    #281128

    oklch(22.3% 0.054 327.2)

  • #241900

    #241900

    oklch(22.1% 0.045 86.5)

  • #002024

    #002024

    oklch(22.3% 0.038 206.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #281128

    #281128

    oklch(22.3% 0.054 327.2)

  • #2D1300

    #2D1300

    oklch(22.1% 0.054 56.7)

  • #06220B

    #06220B

    oklch(22.4% 0.055 147.1)

  • #001E2F

    #001E2F

    oklch(22.3% 0.049 237.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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