#282845

Closest named color: Space Cadet (#2B2D42). oklch(29.2% 0.052 282.7), rgb(40, 40, 69).

Aa

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

About this color

#282845 is a dark, muted purple. In OKLCH its lightness is 29%, its chroma 0.052 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.020 away. White text reads best on it, at 14.19:1.

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.052)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.47:1
White text14.19:1

Values

HEX#282845
RGBrgb(40, 40, 69)
HSLhsl(240, 27%, 21%)
OKLCHoklch(29.2% 0.052 282.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 #282845 14.19:1 AAA Lc -103.8 Preferred for body text
Black text on #282845 1.47:1 Fails Lc 0.0 Not readable
#282845 text on white 14.19:1 AAA Lc 100.9 Preferred for body text
#282845 text on black 1.47: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E9F6

    oklch(93.7% 0.018 282.5)

  3. Step 200

    200

    #D5D7F0

    oklch(88.5% 0.034 282)

  4. Step 300

    300

    #BABCE8

    oklch(80.8% 0.062 282.9)

  5. Step 400

    400

    #9799DD

    oklch(70.7% 0.099 282.3)

  6. Step 500

    500

    #7F7ED3

    oklch(63.1% 0.126 282.7)

  7. Step 600

    600

    #6966C1

    oklch(55.7% 0.138 282.4)

  8. Step 700

    700

    #5854A6

    oklch(49.1% 0.128 282.8)

  9. Step 800

    800

    #484587

    oklch(42.7% 0.107 283)

  10. Step 900

    900

    #3C3B6C

    oklch(37.8% 0.082 282.6)

  11. Step 950

    950 (this color)

    #282845

    oklch(29.2% 0.052 282.7)

Export this scale for Tailwind in the Tailwind colors tool

#282845 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)#1F2C460.018
Deuteranopia (no green cones)#1D2A440.018
Tritanopia (no blue cones)#202E330.046
Achromatopsia (no color)#2B2B2B0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #282845

    #282845

    oklch(29.2% 0.052 282.7)

  • #312D09

    #312D09

    oklch(29.3% 0.053 102.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282845

    #282845

    oklch(29.2% 0.052 282.7)

  • #172D45

    #172D45

    oklch(29.2% 0.052 251.9)

  • #35243E

    #35243E

    oklch(29.3% 0.051 313.4)

Open the analogous palette in the generator

Split complementary

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

  • #282845

    #282845

    oklch(29.2% 0.052 282.7)

  • #3B270A

    #3B270A

    oklch(29.1% 0.052 72.9)

  • #213115

    #213115

    oklch(29.1% 0.052 133.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282845

    #282845

    oklch(29.2% 0.052 282.7)

  • #412216

    #412216

    oklch(29.1% 0.052 41.6)

  • #0D3424

    #0D3424

    oklch(29.2% 0.053 162.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282845

    #282845

    oklch(29.2% 0.052 282.7)

  • #422024

    #422024

    oklch(29.2% 0.052 13.4)

  • #312D09

    #312D09

    oklch(29.3% 0.053 102.9)

  • #003332

    #003332

    oklch(29% 0.05 192.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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