#28132F

Closest named color: Eggplant (#380835). oklch(23.1% 0.059 317.2), rgb(40, 19, 47).

Aa

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

About this color

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

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

Values

HEX#28132F
RGBrgb(40, 19, 47)
HSLhsl(285, 42%, 13%)
OKLCHoklch(23.1% 0.059 317.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 #28132F 17.15:1 AAA Lc -106.3 Preferred for body text
Black text on #28132F 1.22:1 Fails Lc 0.0 Not readable
#28132F text on white 17.15:1 AAA Lc 103.9 Preferred for body text
#28132F 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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E4D2EA

    oklch(88.6% 0.038 317.7)

  4. Step 300

    300

    #D3B3DF

    oklch(80.9% 0.07 316.8)

  5. Step 400

    400

    #BD8ACE

    oklch(70.7% 0.111 317.5)

  6. Step 500

    500

    #AC6BC2

    oklch(63.1% 0.143 317.2)

  7. Step 600

    600

    #9751AE

    oklch(55.6% 0.155 317.2)

  8. Step 700

    700

    #814195

    oklch(49.1% 0.144 317.5)

  9. Step 800

    800

    #693679

    oklch(42.7% 0.12 317.6)

  10. Step 900

    900

    #553062

    oklch(37.7% 0.093 316.8)

  11. Step 950

    950 (this color)

    #28132F

    oklch(23.1% 0.059 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#28132F 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)#0E1A300.051
Deuteranopia (no green cones)#141C2E0.046
Tritanopia (no blue cones)#28171E0.039
Achromatopsia (no color)#1B1B1B0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #28132F

    #28132F

    oklch(23.1% 0.059 317.2)

  • #0E2305

    #0E2305

    oklch(23% 0.059 137.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28132F

    #28132F

    oklch(23.1% 0.059 317.2)

  • #1C1837

    #1C1837

    oklch(23.2% 0.058 286.9)

  • #301022

    #301022

    oklch(23.1% 0.058 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #28132F

    #28132F

    oklch(23.1% 0.059 317.2)

  • #201E00

    #201E00

    oklch(23% 0.049 106.1)

  • #002418

    #002418

    oklch(23.1% 0.048 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28132F

    #28132F

    oklch(23.1% 0.059 317.2)

  • #2A1A00

    #2A1A00

    oklch(23.3% 0.049 77.5)

  • #002323

    #002323

    oklch(23.2% 0.04 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28132F

    #28132F

    oklch(23.1% 0.059 317.2)

  • #321302

    #321302

    oklch(23.1% 0.058 48.7)

  • #0E2305

    #0E2305

    oklch(23% 0.059 137.3)

  • #00212D

    #00212D

    oklch(23.1% 0.044 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28132F 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.