#28142B

Closest named color: Eggplant (#380835). oklch(23% 0.051 322.2), rgb(40, 20, 43).

Aa

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

About this color

#28142B is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.051 and its hue 322°. 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.14:1.

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

Values

HEX#28142B
RGBrgb(40, 20, 43)
HSLhsl(292, 37%, 12%)
OKLCHoklch(23% 0.051 322.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 #28142B 17.14:1 AAA Lc -106.3 Preferred for body text
Black text on #28142B 1.22:1 Fails Lc 0.0 Not readable
#28142B text on white 17.14:1 AAA Lc 103.9 Preferred for body text
#28142B 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

    #D4B4D8

    oklch(80.9% 0.061 322.5)

  5. Step 400

    400

    #BD8CC4

    oklch(70.6% 0.097 322.2)

  6. Step 500

    500

    #AC6EB5

    oklch(63% 0.124 322.3)

  7. Step 600

    600

    #9755A1

    oklch(55.5% 0.135 322.2)

  8. Step 700

    700

    #81458A

    oklch(49.1% 0.125 322.2)

  9. Step 800

    800

    #693970

    oklch(42.7% 0.104 322.4)

  10. Step 900

    900

    #55325B

    oklch(37.7% 0.08 321.6)

  11. Step 950

    950 (this color)

    #28142B

    oklch(23% 0.051 322.2)

Export this scale for Tailwind in the Tailwind colors tool

#28142B 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)#111A2C0.047
Deuteranopia (no green cones)#171C2A0.041
Tritanopia (no blue cones)#29171D0.032
Achromatopsia (no color)#1B1B1B0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #28142B

    #28142B

    oklch(23% 0.051 322.2)

  • #0D230B

    #0D230B

    oklch(23.1% 0.052 142.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28142B

    #28142B

    oklch(23% 0.051 322.2)

  • #1E1833

    #1E1833

    oklch(23.1% 0.051 292.1)

  • #2F121F

    #2F121F

    oklch(23.1% 0.051 353.6)

Open the analogous palette in the generator

Split complementary

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

  • #28142B

    #28142B

    oklch(23% 0.051 322.2)

  • #1E1F00

    #1E1F00

    oklch(23% 0.051 111.5)

  • #00241B

    #00241B

    oklch(23.2% 0.045 172.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28142B

    #28142B

    oklch(23% 0.051 322.2)

  • #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.

  • #28142B

    #28142B

    oklch(23% 0.051 322.2)

  • #2F1504

    #2F1504

    oklch(23% 0.051 52.3)

  • #0D230B

    #0D230B

    oklch(23.1% 0.052 142.1)

  • #00202F

    #00202F

    oklch(22.9% 0.047 232.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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