#28293E

Closest named color: Space Cadet (#2B2D42). oklch(29% 0.038 281.6), rgb(40, 41, 62).

Aa

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

About this color

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

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

Values

HEX#28293E
RGBrgb(40, 41, 62)
HSLhsl(237, 22%, 20%)
OKLCHoklch(29% 0.038 281.6)

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 #28293E 14.21:1 AAA Lc -103.9 Preferred for body text
Black text on #28293E 1.47:1 Fails Lc 0.0 Not readable
#28293E text on white 14.21:1 AAA Lc 100.9 Preferred for body text
#28293E 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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D8EA

    oklch(88.6% 0.025 280.8)

  4. Step 300

    300

    #BBBEDE

    oklch(81% 0.045 281.1)

  5. Step 400

    400

    #999CCD

    oklch(70.8% 0.071 281.7)

  6. Step 500

    500

    #8083C0

    oklch(63.2% 0.091 281.3)

  7. Step 600

    600

    #6A6BAD

    oklch(55.6% 0.101 281.9)

  8. Step 700

    700

    #585994

    oklch(49% 0.094 281.6)

  9. Step 800

    800

    #484978

    oklch(42.6% 0.077 281.7)

  10. Step 900

    900

    #3C3D61

    oklch(37.6% 0.061 281.8)

  11. Step 950

    950 (this color)

    #28293E

    oklch(29% 0.038 281.6)

Export this scale for Tailwind in the Tailwind colors tool

#28293E 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)#232B3F0.010
Deuteranopia (no green cones)#222A3D0.011
Tritanopia (no blue cones)#222D300.035
Achromatopsia (no color)#2B2B2B0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #28293E

    #28293E

    oklch(29% 0.038 281.6)

  • #2F2C15

    #2F2C15

    oklch(29% 0.038 101.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #28293E

    #28293E

    oklch(29% 0.038 281.6)

  • #1D2D3E

    #1D2D3E

    oklch(29.1% 0.038 250.7)

  • #322639

    #322639

    oklch(29.1% 0.038 312.7)

Open the analogous palette in the generator

Split complementary

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

  • #28293E

    #28293E

    oklch(29% 0.038 281.6)

  • #372815

    #372815

    oklch(28.9% 0.038 71.9)

  • #242F1B

    #242F1B

    oklch(28.9% 0.038 131.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #28293E

    #28293E

    oklch(29% 0.038 281.6)

  • #3C251C

    #3C251C

    oklch(29.1% 0.039 42.2)

  • #193125

    #193125

    oklch(28.9% 0.038 161)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #28293E

    #28293E

    oklch(29% 0.038 281.6)

  • #3C2326

    #3C2326

    oklch(28.9% 0.039 11.9)

  • #2F2C15

    #2F2C15

    oklch(29% 0.038 101.9)

  • #113130

    #113130

    oklch(28.9% 0.037 192.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #28293E 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.