#21153C

Closest named color: Midnight Purple (#280137). oklch(23.5% 0.072 294.4), rgb(33, 21, 60).

Aa

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

About this color

#21153C is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.072 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.049 away. White text reads best on it, at 16.97:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.23:1
White text16.97:1

Values

HEX#21153C
RGBrgb(33, 21, 60)
HSLhsl(258, 48%, 16%)
OKLCHoklch(23.5% 0.072 294.4)

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 #21153C 16.97:1 AAA Lc -106.1 Preferred for body text
Black text on #21153C 1.23:1 Fails Lc 0.0 Not readable
#21153C text on white 16.97:1 AAA Lc 103.7 Preferred for body text
#21153C text on black 1.23: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EAE7F9

    oklch(93.6% 0.024 293.6)

  3. Step 200

    200

    #DAD4F6

    oklch(88.5% 0.047 293.5)

  4. Step 300

    300

    #C3B6F3

    oklch(80.8% 0.086 294.2)

  5. Step 400

    400

    #A68EED

    oklch(70.7% 0.137 294.2)

  6. Step 500

    500

    #926FE7

    oklch(63.1% 0.175 294.3)

  7. Step 600

    600

    #7D53D5

    oklch(55.5% 0.191 294.2)

  8. Step 700

    700

    #6A43B8

    oklch(49.1% 0.176 294.3)

  9. Step 800

    800

    #563895

    oklch(42.7% 0.146 294.2)

  10. Step 900

    900

    #473277

    oklch(37.8% 0.113 294.4)

  11. Step 950

    950 (this color)

    #21153C

    oklch(23.5% 0.072 294.4)

Export this scale for Tailwind in the Tailwind colors tool

#21153C 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)#031D3D0.048
Deuteranopia (no green cones)#061C3B0.045
Tritanopia (no blue cones)#1A1D260.056
Achromatopsia (no color)#1C1C1C0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #21153C

    #21153C

    oklch(23.5% 0.072 294.4)

  • #1E2100

    #1E2100

    oklch(23.7% 0.053 114.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21153C

    #21153C

    oklch(23.5% 0.072 294.4)

  • #0C1B40

    #0C1B40

    oklch(23.4% 0.074 264.7)

  • #2E0F31

    #2E0F31

    oklch(23.5% 0.073 324.1)

Open the analogous palette in the generator

Split complementary

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

  • #21153C

    #21153C

    oklch(23.5% 0.072 294.4)

  • #291C00

    #291C00

    oklch(23.6% 0.048 84.3)

  • #022605

    #022605

    oklch(23.5% 0.071 144.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21153C

    #21153C

    oklch(23.5% 0.072 294.4)

  • #331500

    #331500

    oklch(23.6% 0.059 54.2)

  • #00251D

    #00251D

    oklch(23.6% 0.045 174.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21153C

    #21153C

    oklch(23.5% 0.072 294.4)

  • #390C0C

    #390C0C

    oklch(23.5% 0.071 24.5)

  • #1E2100

    #1E2100

    oklch(23.7% 0.053 114.6)

  • #002327

    #002327

    oklch(23.4% 0.04 205.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21153C 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.