#24021B

Closest named color: Very Dark Purple (#2A0134). oklch(18% 0.071 340.2), rgb(36, 2, 27).

Aa

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

About this color

#24021B is a very dark, moderately saturated purple. In OKLCH its lightness is 18%, its chroma 0.071 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.051 away. White text reads best on it, at 19.09:1.

Hue familyPurples
Lightnessvery dark (18%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameVery Dark Purple (#2A0134)
Black text1.09:1
White text19.09:1

Values

HEX#24021B
RGBrgb(36, 2, 27)
HSLhsl(316, 89%, 7%)
OKLCHoklch(18% 0.071 340.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 #24021B 19.09:1 AAA Lc -107.1 Preferred for body text
Black text on #24021B 1.09:1 Fails Lc 0.0 Not readable
#24021B text on white 19.09:1 AAA Lc 105.0 Preferred for body text
#24021B text on black 1.09: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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #EFCEE3

    oklch(88.5% 0.046 339.7)

  4. Step 300

    300

    #E6ACD2

    oklch(80.9% 0.084 339.8)

  5. Step 400

    400

    #D77DBA

    oklch(70.6% 0.134 340.3)

  6. Step 500

    500

    #CA59A9

    oklch(63.1% 0.171 340.2)

  7. Step 600

    600

    #B53A94

    oklch(55.6% 0.185 340.3)

  8. Step 700

    700

    #9C2B7E

    oklch(49.2% 0.173 340.5)

  9. Step 800

    800

    #7E2567

    oklch(42.6% 0.144 339.8)

  10. Step 900

    900

    #662454

    oklch(37.6% 0.113 339.8)

  11. Step 950

    950 (this color)

    #24021B

    oklch(18% 0.071 340.2)

Export this scale for Tailwind in the Tailwind colors tool

#24021B 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)#040C1C0.078
Deuteranopia (no green cones)#0E121A0.069
Tritanopia (no blue cones)#27030C0.034
Achromatopsia (no color)#0F0F0F0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #24021B

    #24021B

    oklch(18% 0.071 340.2)

  • #00170B

    #00170B

    oklch(18% 0.041 159.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #24021B

    #24021B

    oklch(18% 0.071 340.2)

  • #1B0528

    #1B0528

    oklch(17.9% 0.071 310.3)

  • #29000A

    #29000A

    oklch(18% 0.072 10.1)

Open the analogous palette in the generator

Split complementary

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

  • #24021B

    #24021B

    oklch(18% 0.071 340.2)

  • #0A1600

    #0A1600

    oklch(18.2% 0.049 130.6)

  • #001615

    #001615

    oklch(18.1% 0.031 191)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #24021B

    #24021B

    oklch(18% 0.071 340.2)

  • #151200

    #151200

    oklch(18% 0.038 102.1)

  • #00151C

    #00151C

    oklch(18.1% 0.033 220.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #24021B

    #24021B

    oklch(18% 0.071 340.2)

  • #1C0E00

    #1C0E00

    oklch(18% 0.039 70.9)

  • #00170B

    #00170B

    oklch(18% 0.041 159.5)

  • #001227

    #001227

    oklch(18% 0.051 250.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #24021B 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.