#28142C

Closest named color: Eggplant (#380835). oklch(23.1% 0.053 320.8), rgb(40, 20, 44).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.053)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.22:1
White text17.11:1

Values

HEX#28142C
RGBrgb(40, 20, 44)
HSLhsl(290, 38%, 13%)
OKLCHoklch(23.1% 0.053 320.8)

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 #28142C 17.11:1 AAA Lc -106.3 Preferred for body text
Black text on #28142C 1.22:1 Fails Lc 0.0 Not readable
#28142C text on white 17.11:1 AAA Lc 103.9 Preferred for body text
#28142C text on black 1.22: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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #F0E6F1

    oklch(93.6% 0.018 323)

  3. Step 200

    200

    #E4D2E7

    oklch(88.5% 0.034 321.4)

  4. Step 300

    300

    #D3B4DA

    oklch(80.9% 0.062 320)

  5. Step 400

    400

    #BD8CC7

    oklch(70.7% 0.1 320.6)

  6. Step 500

    500

    #AC6EB8

    oklch(63.1% 0.127 320.9)

  7. Step 600

    600

    #9755A4

    oklch(55.7% 0.138 320.8)

  8. Step 700

    700

    #81458D

    oklch(49.2% 0.129 320.7)

  9. Step 800

    800

    #693972

    oklch(42.8% 0.106 321.1)

  10. Step 900

    900

    #55315C

    oklch(37.6% 0.084 320.9)

  11. Step 950

    950 (this color)

    #28142C

    oklch(23.1% 0.053 320.8)

Export this scale for Tailwind in the Tailwind colors tool

#28142C 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)#111A2D0.047
Deuteranopia (no green cones)#161C2B0.042
Tritanopia (no blue cones)#28171D0.034
Achromatopsia (no color)#1C1C1C0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #28142C

    #28142C

    oklch(23.1% 0.053 320.8)

  • #0E230A

    #0E230A

    oklch(23.1% 0.053 140.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28142C

    #28142C

    oklch(23.1% 0.053 320.8)

  • #1D1834

    #1D1834

    oklch(23.1% 0.053 289.8)

  • #2F1220

    #2F1220

    oklch(23.2% 0.051 351.6)

Open the analogous palette in the generator

Split complementary

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

  • #28142C

    #28142C

    oklch(23.1% 0.053 320.8)

  • #1E1F00

    #1E1F00

    oklch(23% 0.051 111.5)

  • #00241A

    #00241A

    oklch(23.2% 0.046 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28142C

    #28142C

    oklch(23.1% 0.053 320.8)

  • #281A00

    #281A00

    oklch(23% 0.047 81.2)

  • #002225

    #002225

    oklch(23% 0.039 203.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28142C

    #28142C

    oklch(23.1% 0.053 320.8)

  • #301504

    #301504

    oklch(23.2% 0.052 51.3)

  • #0E230A

    #0E230A

    oklch(23.1% 0.053 140.5)

  • #00212F

    #00212F

    oklch(23.2% 0.046 230.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28142C 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.