#240D20

Closest named color: Very Dark Purple (#2A0134). oklch(20.4% 0.05 334.2), rgb(36, 13, 32).

Aa

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

About this color

#240D20 is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.050 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.053 away. White text reads best on it, at 18.20:1.

Hue familyPurples
Lightnessvery dark (20%)
Chromamuted (0.050)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.15:1
White text18.20:1

Values

HEX#240D20
RGBrgb(36, 13, 32)
HSLhsl(310, 47%, 10%)
OKLCHoklch(20.4% 0.05 334.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 #240D20 18.20:1 AAA Lc -106.9 Preferred for body text
Black text on #240D20 1.15:1 Fails Lc 0.0 Not readable
#240D20 text on white 18.20:1 AAA Lc 104.7 Preferred for body text
#240D20 text on black 1.15: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

    #F9F4F8

    oklch(97.2% 0.007 332.1)

  2. Step 100

    100

    #F1E6EF

    oklch(93.6% 0.017 331.6)

  3. Step 200

    200

    #E7D1E2

    oklch(88.4% 0.033 333.6)

  4. Step 300

    300

    #D9B3D0

    oklch(80.9% 0.058 334.5)

  5. Step 400

    400

    #C58AB9

    oklch(70.7% 0.095 334)

  6. Step 500

    500

    #B56CA7

    oklch(63.1% 0.12 334.3)

  7. Step 600

    600

    #A05292

    oklch(55.5% 0.132 334.3)

  8. Step 700

    700

    #89437D

    oklch(49.2% 0.122 334.1)

  9. Step 800

    800

    #6F3765

    oklch(42.6% 0.101 334.3)

  10. Step 900

    900

    #5A3053

    oklch(37.6% 0.079 333.5)

  11. Step 950

    950 (this color)

    #240D20

    oklch(20.4% 0.05 334.2)

Export this scale for Tailwind in the Tailwind colors tool

#240D20 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)#0D13210.050
Deuteranopia (no green cones)#13171F0.047
Tritanopia (no blue cones)#260E150.024
Achromatopsia (no color)#1515150.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #240D20

    #240D20

    oklch(20.4% 0.05 334.2)

  • #011D0C

    #011D0C

    oklch(20.3% 0.049 154.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #240D20

    #240D20

    oklch(20.4% 0.05 334.2)

  • #1C1029

    #1C1029

    oklch(20.3% 0.05 304.5)

  • #290C14

    #290C14

    oklch(20.5% 0.049 5.2)

Open the analogous palette in the generator

Split complementary

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

  • #240D20

    #240D20

    oklch(20.4% 0.05 334.2)

  • #121A00

    #121A00

    oklch(20.2% 0.05 123.7)

  • #001C19

    #001C19

    oklch(20.4% 0.036 185.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #240D20

    #240D20

    oklch(20.4% 0.05 334.2)

  • #1D1600

    #1D1600

    oklch(20.3% 0.042 93.7)

  • #001B21

    #001B21

    oklch(20.4% 0.036 214.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #240D20

    #240D20

    oklch(20.4% 0.05 334.2)

  • #251100

    #251100

    oklch(20.3% 0.046 62.8)

  • #011D0C

    #011D0C

    oklch(20.3% 0.049 154.2)

  • #00192C

    #00192C

    oklch(20.5% 0.05 243.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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