#240935

Closest named color: Midnight Purple (#280137). oklch(21.3% 0.083 309.1), rgb(36, 9, 53).

Aa

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

About this color

#240935 is a very dark, moderately saturated purple. In OKLCH its lightness is 21%, its chroma 0.083 and its hue 309°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.020 away. White text reads best on it, at 18.01:1.

Hue familyPurples
Lightnessvery dark (21%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.16:1
White text18.01:1

Values

HEX#240935
RGBrgb(36, 9, 53)
HSLhsl(277, 71%, 12%)
OKLCHoklch(21.3% 0.083 309.1)

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 #240935 18.01:1 AAA Lc -106.6 Preferred for body text
Black text on #240935 1.16:1 Fails Lc 0.0 Not readable
#240935 text on white 18.01:1 AAA Lc 104.4 Preferred for body text
#240935 text on black 1.16: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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F9

    oklch(93.6% 0.029 308.1)

  3. Step 200

    200

    #E4D0F5

    oklch(88.5% 0.054 309.5)

  4. Step 300

    300

    #D3AFF1

    oklch(80.8% 0.099 309.1)

  5. Step 400

    400

    #BD82EA

    oklch(70.6% 0.158 309)

  6. Step 500

    500

    #AD5EE4

    oklch(63.2% 0.202 308.9)

  7. Step 600

    600

    #993ED1

    oklch(55.6% 0.219 309.3)

  8. Step 700

    700

    #822EB5

    oklch(49% 0.203 309)

  9. Step 800

    800

    #6A2893

    oklch(42.7% 0.169 309.1)

  10. Step 900

    900

    #562775

    oklch(37.7% 0.132 309.2)

  11. Step 950

    950 (this color)

    #240935

    oklch(21.3% 0.083 309.1)

Export this scale for Tailwind in the Tailwind colors tool

#240935 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)#0015360.070
Deuteranopia (no green cones)#0217340.068
Tritanopia (no blue cones)#21131E0.058
Achromatopsia (no color)#1616160.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #240935

    #240935

    oklch(21.3% 0.083 309.1)

  • #101E00

    #101E00

    oklch(21.4% 0.058 130)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #240935

    #240935

    oklch(21.3% 0.083 309.1)

  • #13103E

    #13103E

    oklch(21.2% 0.085 279.3)

  • #2F0325

    #2F0325

    oklch(21.1% 0.084 339)

Open the analogous palette in the generator

Split complementary

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

  • #240935

    #240935

    oklch(21.3% 0.083 309.1)

  • #1E1900

    #1E1900

    oklch(21.3% 0.044 99.3)

  • #001F10

    #001F10

    oklch(21.1% 0.049 158.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #240935

    #240935

    oklch(21.3% 0.083 309.1)

  • #261400

    #261400

    oklch(21.1% 0.046 69.1)

  • #001E1C

    #001E1C

    oklch(21.2% 0.037 188.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #240935

    #240935

    oklch(21.3% 0.083 309.1)

  • #310900

    #310900

    oklch(21.1% 0.068 38.6)

  • #101E00

    #101E00

    oklch(21.4% 0.058 130)

  • #001D25

    #001D25

    oklch(21.3% 0.039 219)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #240935 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.