#240D1B

Closest named color: Rich Black (#0D1B2A). oklch(20.1% 0.045 344.5), rgb(36, 13, 27).

Aa

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

About this color

#240D1B is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.045 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.061 away. White text reads best on it, at 18.28:1.

Hue familyPurples
Lightnessvery dark (20%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameRich Black (#0D1B2A)
Black text1.14:1
White text18.28:1

Values

HEX#240D1B
RGBrgb(36, 13, 27)
HSLhsl(323, 47%, 10%)
OKLCHoklch(20.1% 0.045 344.5)

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 #240D1B 18.28:1 AAA Lc -107.0 Preferred for body text
Black text on #240D1B 1.14:1 Fails Lc 0.0 Not readable
#240D1B text on white 18.28:1 AAA Lc 104.8 Preferred for body text
#240D1B text on black 1.14: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

    #F9F4F6

    oklch(97.2% 0.006 350.8)

  2. Step 100

    100

    #F2E6EC

    oklch(93.6% 0.015 345.6)

  3. Step 200

    200

    #E8D2DE

    oklch(88.5% 0.029 343.6)

  4. Step 300

    300

    #DBB3C9

    oklch(80.9% 0.054 344.2)

  5. Step 400

    400

    #C78BAD

    oklch(70.6% 0.085 344.5)

  6. Step 500

    500

    #B76E99

    oklch(63.1% 0.107 344.4)

  7. Step 600

    600

    #A25584

    oklch(55.6% 0.117 344.1)

  8. Step 700

    700

    #8B456F

    oklch(49.2% 0.109 344.9)

  9. Step 800

    800

    #71395B

    oklch(42.8% 0.091 344.3)

  10. Step 900

    900

    #5C314A

    oklch(37.7% 0.071 345.2)

  11. Step 950

    950 (this color)

    #240D1B

    oklch(20.1% 0.045 344.5)

Export this scale for Tailwind in the Tailwind colors tool

#240D1B 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)#0F121B0.047
Deuteranopia (no green cones)#15161A0.043
Tritanopia (no blue cones)#270D120.020
Achromatopsia (no color)#1515150.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #240D1B

    #240D1B

    oklch(20.1% 0.045 344.5)

  • #001C11

    #001C11

    oklch(20.1% 0.042 164.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #240D1B

    #240D1B

    oklch(20.1% 0.045 344.5)

  • #1E0F24

    #1E0F24

    oklch(20.1% 0.046 315.7)

  • #270D10

    #270D10

    oklch(20.2% 0.044 14.7)

Open the analogous palette in the generator

Split complementary

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

  • #240D1B

    #240D1B

    oklch(20.1% 0.045 344.5)

  • #0D1B05

    #0D1B05

    oklch(20.3% 0.046 135)

  • #001B1B

    #001B1B

    oklch(20.1% 0.034 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #240D1B

    #240D1B

    oklch(20.1% 0.045 344.5)

  • #191700

    #191700

    oklch(20.1% 0.043 105.4)

  • #001A23

    #001A23

    oklch(20.2% 0.038 223.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #240D1B

    #240D1B

    oklch(20.1% 0.045 344.5)

  • #211300

    #211300

    oklch(20.1% 0.042 75.8)

  • #001C11

    #001C11

    oklch(20.1% 0.042 164.4)

  • #07172A

    #07172A

    oklch(20.2% 0.044 253.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #240D1B 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.