#28244A

Closest named color: Space Cadet (#2B2D42). oklch(28.6% 0.068 286.1), rgb(40, 36, 74).

Aa

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

About this color

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

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

Values

HEX#28244A
RGBrgb(40, 36, 74)
HSLhsl(246, 35%, 22%)
OKLCHoklch(28.6% 0.068 286.1)

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 #28244A 14.56:1 AAA Lc -104.2 Preferred for body text
Black text on #28244A 1.44:1 Fails Lc 0.0 Not readable
#28244A text on white 14.56:1 AAA Lc 101.3 Preferred for body text
#28244A text on black 1.44: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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E8E8F9

    oklch(93.6% 0.023 286)

  3. Step 200

    200

    #D6D5F6

    oklch(88.4% 0.045 286.8)

  4. Step 300

    300

    #BCBAF3

    oklch(81% 0.08 286.1)

  5. Step 400

    400

    #9A94ED

    oklch(70.8% 0.128 285.7)

  6. Step 500

    500

    #8376E7

    oklch(63.1% 0.165 285.9)

  7. Step 600

    600

    #6E5CD5

    oklch(55.6% 0.179 285.8)

  8. Step 700

    700

    #5D4BB9

    oklch(49.2% 0.166 286.1)

  9. Step 800

    800

    #4B3E95

    oklch(42.6% 0.137 285.8)

  10. Step 900

    900

    #3E3677

    oklch(37.7% 0.107 285.7)

  11. Step 950

    950 (this color)

    #28244A

    oklch(28.6% 0.068 286.1)

Export this scale for Tailwind in the Tailwind colors tool

#28244A 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)#162A4B0.030
Deuteranopia (no green cones)#1528490.030
Tritanopia (no blue cones)#1E2C330.058
Achromatopsia (no color)#2929290.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #28244A

    #28244A

    oklch(28.6% 0.068 286.1)

  • #2E2C00

    #2E2C00

    oklch(28.6% 0.061 107)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28244A

    #28244A

    oklch(28.6% 0.068 286.1)

  • #112A4B

    #112A4B

    oklch(28.5% 0.068 256.3)

  • #371E41

    #371E41

    oklch(28.5% 0.069 315.6)

Open the analogous palette in the generator

Split complementary

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

  • #28244A

    #28244A

    oklch(28.6% 0.068 286.1)

  • #3B2500

    #3B2500

    oklch(28.5% 0.06 75.3)

  • #1A320C

    #1A320C

    oklch(28.7% 0.068 135.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28244A

    #28244A

    oklch(28.6% 0.068 286.1)

  • #451E09

    #451E09

    oklch(28.7% 0.068 46.2)

  • #003323

    #003323

    oklch(28.5% 0.059 165.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28244A

    #28244A

    oklch(28.6% 0.068 286.1)

  • #461A1E

    #461A1E

    oklch(28.6% 0.068 16.9)

  • #2E2C00

    #2E2C00

    oklch(28.6% 0.061 107)

  • #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 #28244A, closest first.

Similar named colors

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

Use #28244A 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.