#240318

Closest named color: Very Dark Purple (#2A0134). oklch(18% 0.066 345.2), rgb(36, 3, 24).

Aa

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

About this color

#240318 is a very dark, muted red. In OKLCH its lightness is 18%, its chroma 0.066 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.058 away. White text reads best on it, at 19.06:1.

Hue familyReds
Lightnessvery dark (18%)
Chromamuted (0.066)
Temperaturewarm
Nearest nameVery Dark Purple (#2A0134)
Black text1.10:1
White text19.06:1

Values

HEX#240318
RGBrgb(36, 3, 24)
HSLhsl(322, 85%, 8%)
OKLCHoklch(18% 0.066 345.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 #240318 19.06:1 AAA Lc -107.2 Preferred for body text
Black text on #240318 1.10:1 Fails Lc 0.0 Not readable
#240318 text on white 19.06:1 AAA Lc 105.1 Preferred for body text
#240318 text on black 1.10: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F6E4ED

    oklch(93.6% 0.023 345.8)

  3. Step 200

    200

    #EFCEE0

    oklch(88.4% 0.044 344)

  4. Step 300

    300

    #E6ADCC

    oklch(80.9% 0.077 345.2)

  5. Step 400

    400

    #D780B2

    oklch(70.8% 0.123 345.2)

  6. Step 500

    500

    #CA5C9F

    oklch(63.1% 0.159 345.1)

  7. Step 600

    600

    #B53F8A

    oklch(55.7% 0.172 345.1)

  8. Step 700

    700

    #9B3075

    oklch(49.1% 0.16 345)

  9. Step 800

    800

    #7E295F

    oklch(42.7% 0.132 345.1)

  10. Step 900

    900

    #66274E

    oklch(37.8% 0.103 345.1)

  11. Step 950

    950 (this color)

    #240318

    oklch(18% 0.066 345.2)

Export this scale for Tailwind in the Tailwind colors tool

#240318 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)#060C190.073
Deuteranopia (no green cones)#1012170.064
Tritanopia (no blue cones)#27030B0.028
Achromatopsia (no color)#1010100.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #240318

    #240318

    oklch(18% 0.066 345.2)

  • #00170D

    #00170D

    oklch(18.1% 0.039 163.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #240318

    #240318

    oklch(18% 0.066 345.2)

  • #1C0625

    #1C0625

    oklch(18% 0.065 314.8)

  • #280208

    #280208

    oklch(18.1% 0.066 15.1)

Open the analogous palette in the generator

Split complementary

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

  • #240318

    #240318

    oklch(18% 0.066 345.2)

  • #061600

    #061600

    oklch(17.9% 0.053 135.5)

  • #001616

    #001616

    oklch(18.1% 0.031 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #240318

    #240318

    oklch(18% 0.066 345.2)

  • #141200

    #141200

    oklch(17.9% 0.038 104.7)

  • #00151D

    #00151D

    oklch(18.2% 0.034 223.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #240318

    #240318

    oklch(18% 0.066 345.2)

  • #1B0F00

    #1B0F00

    oklch(18.1% 0.038 76.6)

  • #00170D

    #00170D

    oklch(18.1% 0.039 163.7)

  • #00112B

    #00112B

    oklch(18% 0.06 255)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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