#282645

Closest named color: Space Cadet (#2B2D42). oklch(28.7% 0.056 285.2), rgb(40, 38, 69).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.056)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.45:1
White text14.44:1

Values

HEX#282645
RGBrgb(40, 38, 69)
HSLhsl(244, 29%, 21%)
OKLCHoklch(28.7% 0.056 285.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 #282645 14.44:1 AAA Lc -104.1 Preferred for body text
Black text on #282645 1.45:1 Fails Lc 0.0 Not readable
#282645 text on white 14.44:1 AAA Lc 101.2 Preferred for body text
#282645 text on black 1.45: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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D6D6F1

    oklch(88.4% 0.037 285.6)

  4. Step 300

    300

    #BCBBEA

    oklch(80.9% 0.066 285.8)

  5. Step 400

    400

    #9A97E0

    oklch(70.7% 0.106 285.2)

  6. Step 500

    500

    #827BD7

    oklch(63% 0.136 285.3)

  7. Step 600

    600

    #6D63C5

    oklch(55.7% 0.147 285.2)

  8. Step 700

    700

    #5B51AA

    oklch(49% 0.138 285.2)

  9. Step 800

    800

    #4A438A

    oklch(42.7% 0.114 285)

  10. Step 900

    900

    #3E396E

    oklch(37.7% 0.089 285.6)

  11. Step 950

    950 (this color)

    #282645

    oklch(28.7% 0.056 285.2)

Export this scale for Tailwind in the Tailwind colors tool

#282645 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)#1C2A460.021
Deuteranopia (no green cones)#1B29440.022
Tritanopia (no blue cones)#202C320.048
Achromatopsia (no color)#2A2A2A0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #282645

    #282645

    oklch(28.7% 0.056 285.2)

  • #2F2C05

    #2F2C05

    oklch(28.8% 0.056 105)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282645

    #282645

    oklch(28.7% 0.056 285.2)

  • #162B46

    #162B46

    oklch(28.6% 0.057 255.4)

  • #35213D

    #35213D

    oklch(28.6% 0.056 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #282645

    #282645

    oklch(28.7% 0.056 285.2)

  • #3A2604

    #3A2604

    oklch(28.6% 0.056 76.1)

  • #1E3113

    #1E3113

    oklch(28.8% 0.056 135.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282645

    #282645

    oklch(28.7% 0.056 285.2)

  • #412111

    #412111

    oklch(28.8% 0.056 46.2)

  • #053324

    #053324

    oklch(28.7% 0.055 165.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282645

    #282645

    oklch(28.7% 0.056 285.2)

  • #421E21

    #421E21

    oklch(28.7% 0.056 16)

  • #2F2C05

    #2F2C05

    oklch(28.8% 0.056 105)

  • #003232

    #003232

    oklch(28.7% 0.049 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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