#282333

Closest named color: Dark (#1B2431). oklch(26.9% 0.03 298.7), rgb(40, 35, 51).

Aa

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

About this color

#282333 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.030 and its hue 299°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.023 away. White text reads best on it, at 15.23:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.030)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.37:1
White text15.23:1

Values

HEX#282333
RGBrgb(40, 35, 51)
HSLhsl(259, 19%, 17%)
OKLCHoklch(26.9% 0.03 298.7)

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 #282333 15.23:1 AAA Lc -104.9 Preferred for body text
Black text on #282333 1.37:1 Fails Lc 0.0 Not readable
#282333 text on white 15.23:1 AAA Lc 102.1 Preferred for body text
#282333 text on black 1.37: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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EAE8F0

    oklch(93.5% 0.011 297.6)

  3. Step 200

    200

    #DAD7E5

    oklch(88.6% 0.019 295.8)

  4. Step 300

    300

    #C3BCD5

    oklch(80.9% 0.036 298.4)

  5. Step 400

    400

    #A599C0

    oklch(70.7% 0.058 299)

  6. Step 500

    500

    #8F80B0

    oklch(63.1% 0.073 298.6)

  7. Step 600

    600

    #79699C

    oklch(55.6% 0.08 298.2)

  8. Step 700

    700

    #665785

    oklch(49% 0.074 298.6)

  9. Step 800

    800

    #53476C

    oklch(42.6% 0.062 298.7)

  10. Step 900

    900

    #453C58

    oklch(37.7% 0.048 298.8)

  11. Step 950

    950 (this color)

    #282333

    oklch(26.9% 0.03 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#282333 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)#2025340.015
Deuteranopia (no green cones)#2025330.015
Tritanopia (no blue cones)#2625290.023
Achromatopsia (no color)#2525250.030

Harmonies

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

Complementary

The opposite hue (180°).

  • #282333

    #282333

    oklch(26.9% 0.03 298.7)

  • #252817

    #252817

    oklch(26.8% 0.03 116.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282333

    #282333

    oklch(26.9% 0.03 298.7)

  • #202635

    #202635

    oklch(27% 0.029 267.5)

  • #2E212E

    #2E212E

    oklch(26.9% 0.03 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #282333

    #282333

    oklch(26.9% 0.03 298.7)

  • #2C2515

    #2C2515

    oklch(26.8% 0.029 86.8)

  • #1C2A1E

    #1C2A1E

    oklch(26.8% 0.029 148.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282333

    #282333

    oklch(26.9% 0.03 298.7)

  • #312317

    #312317

    oklch(26.9% 0.03 61.6)

  • #152B26

    #152B26

    oklch(26.9% 0.03 177.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282333

    #282333

    oklch(26.9% 0.03 298.7)

  • #33211E

    #33211E

    oklch(26.9% 0.029 29.6)

  • #252817

    #252817

    oklch(26.8% 0.03 116.6)

  • #132A2E

    #132A2E

    oklch(26.8% 0.03 210)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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