#28182D

Closest named color: Dark (#1B2431). oklch(24% 0.045 317.9), rgb(40, 24, 45).

Aa

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

About this color

#28182D is a very dark, muted purple. In OKLCH its lightness is 24%, its chroma 0.045 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.043 away. White text reads best on it, at 16.68:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamuted (0.045)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.25:1
White text16.68:1

Values

HEX#28182D
RGBrgb(40, 24, 45)
HSLhsl(286, 30%, 14%)
OKLCHoklch(24% 0.045 317.9)

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 #28182D 16.68:1 AAA Lc -106.0 Preferred for body text
Black text on #28182D 1.25:1 Fails Lc 0.0 Not readable
#28182D text on white 16.68:1 AAA Lc 103.5 Preferred for body text
#28182D text on black 1.25: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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E2D3E6

    oklch(88.5% 0.03 319.1)

  4. Step 300

    300

    #CFB6D7

    oklch(80.8% 0.053 317.9)

  5. Step 400

    400

    #B790C3

    oklch(70.7% 0.085 318.1)

  6. Step 500

    500

    #A574B4

    oklch(63.2% 0.108 318.1)

  7. Step 600

    600

    #905BA0

    oklch(55.6% 0.119 318.1)

  8. Step 700

    700

    #7A4B89

    oklch(49.2% 0.109 317.6)

  9. Step 800

    800

    #633E6F

    oklch(42.7% 0.09 317.5)

  10. Step 900

    900

    #51355A

    oklch(37.7% 0.071 317.7)

  11. Step 950

    950 (this color)

    #28182D

    oklch(24% 0.045 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#28182D 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)#151D2E0.038
Deuteranopia (no green cones)#191E2C0.034
Tritanopia (no blue cones)#281B200.030
Achromatopsia (no color)#1E1E1E0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #28182D

    #28182D

    oklch(24% 0.045 317.9)

  • #14240E

    #14240E

    oklch(23.9% 0.045 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28182D

    #28182D

    oklch(24% 0.045 317.9)

  • #1E1B33

    #1E1B33

    oklch(23.8% 0.045 288.2)

  • #2F1623

    #2F1623

    oklch(24.1% 0.045 348.5)

Open the analogous palette in the generator

Split complementary

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

  • #28182D

    #28182D

    oklch(24% 0.045 317.9)

  • #212104

    #212104

    oklch(24% 0.046 109.4)

  • #03261B

    #03261B

    oklch(24% 0.045 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28182D

    #28182D

    oklch(24% 0.045 317.9)

  • #2B1C03

    #2B1C03

    oklch(24% 0.045 77.6)

  • #002526

    #002526

    oklch(24% 0.041 197.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28182D

    #28182D

    oklch(24% 0.045 317.9)

  • #30180B

    #30180B

    oklch(23.9% 0.045 48.1)

  • #14240E

    #14240E

    oklch(23.9% 0.045 137.7)

  • #022330

    #022330

    oklch(24% 0.045 228.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28182D 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.