#240C1B

Closest named color: Very Dark Purple (#2A0134). oklch(19.9% 0.047 343.9), rgb(36, 12, 27).

Aa

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

About this color

#240C1B is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.047 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.061 away. White text reads best on it, at 18.36:1.

Hue familyPurples
Lightnessvery dark (20%)
Chromamuted (0.047)
Temperaturewarm
Nearest nameVery Dark Purple (#2A0134)
Black text1.14:1
White text18.36:1

Values

HEX#240C1B
RGBrgb(36, 12, 27)
HSLhsl(323, 50%, 9%)
OKLCHoklch(19.9% 0.047 343.9)

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

    #F9F3F7

    oklch(97% 0.008 337.4)

  2. Step 100

    100

    #F2E6EC

    oklch(93.6% 0.015 345.6)

  3. Step 200

    200

    #E9D1DE

    oklch(88.4% 0.032 343.9)

  4. Step 300

    300

    #DCB3CA

    oklch(81% 0.056 343.7)

  5. Step 400

    400

    #C88AAE

    oklch(70.6% 0.089 343.9)

  6. Step 500

    500

    #B96C9A

    oklch(63.1% 0.114 344.2)

  7. Step 600

    600

    #A45385

    oklch(55.6% 0.123 344)

  8. Step 700

    700

    #8C4371

    oklch(49.1% 0.115 343.5)

  9. Step 800

    800

    #72375C

    oklch(42.6% 0.096 343.5)

  10. Step 900

    900

    #5D304B

    oklch(37.7% 0.075 344.4)

  11. Step 950

    950 (this color)

    #240C1B

    oklch(19.9% 0.047 343.9)

Export this scale for Tailwind in the Tailwind colors tool

#240C1B 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)#0E121C0.050
Deuteranopia (no green cones)#14161A0.046
Tritanopia (no blue cones)#270C120.020
Achromatopsia (no color)#1414140.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #240C1B

    #240C1B

    oklch(19.9% 0.047 343.9)

  • #001C10

    #001C10

    oklch(20% 0.044 162.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #240C1B

    #240C1B

    oklch(19.9% 0.047 343.9)

  • #1D0F25

    #1D0F25

    oklch(20% 0.047 312.2)

  • #270B0F

    #270B0F

    oklch(19.8% 0.047 13.7)

Open the analogous palette in the generator

Split complementary

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

  • #240C1B

    #240C1B

    oklch(19.9% 0.047 343.9)

  • #0C1A04

    #0C1A04

    oklch(19.8% 0.046 134.7)

  • #001A1A

    #001A1A

    oklch(19.7% 0.034 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #240C1B

    #240C1B

    oklch(19.9% 0.047 343.9)

  • #191600

    #191600

    oklch(19.8% 0.042 103)

  • #001922

    #001922

    oklch(19.8% 0.037 223.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #240C1B

    #240C1B

    oklch(19.9% 0.047 343.9)

  • #211200

    #211200

    oklch(19.8% 0.042 72.8)

  • #001C10

    #001C10

    oklch(20% 0.044 162.5)

  • #05162A

    #05162A

    oklch(19.8% 0.047 253.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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