#40072F

Closest named color: Dark Plum (#3F012C). oklch(25.7% 0.097 343.2), rgb(64, 7, 47).

Aa

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

About this color

#40072F is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.097 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.012 away. White text reads best on it, at 16.28:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameDark Plum (#3F012C)
Black text1.28:1
White text16.28:1

Values

HEX#40072F
RGBrgb(64, 7, 47)
HSLhsl(318, 80%, 14%)
OKLCHoklch(25.7% 0.097 343.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 #40072F 16.28:1 AAA Lc -105.1 Preferred for body text
Black text on #40072F 1.28:1 Fails Lc 0.0 Not readable
#40072F text on white 16.28:1 AAA Lc 102.5 Preferred for body text
#40072F text on black 1.28: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

    #FDF2F8

    oklch(97.1% 0.014 343.2)

  2. Step 100

    100

    #FBE2F0

    oklch(93.7% 0.033 343)

  3. Step 200

    200

    #F8C9E4

    oklch(88.5% 0.063 343.1)

  4. Step 300

    300

    #F5A2D4

    oklch(80.9% 0.116 343.1)

  5. Step 400

    400

    #EB6BBE

    oklch(70.7% 0.183 343.1)

  6. Step 500

    500

    #E135AD

    oklch(63.1% 0.234 343.3)

  7. Step 600

    600

    #C70096

    oklch(55.5% 0.238 343.2)

  8. Step 700

    700

    #A9007F

    oklch(49.2% 0.211 343.2)

  9. Step 800

    800

    #8B0068

    oklch(42.6% 0.183 343.1)

  10. Step 900

    900

    #730A56

    oklch(37.7% 0.153 343.2)

  11. Step 950

    950 (this color)

    #40072F

    oklch(25.7% 0.097 343.2)

Export this scale for Tailwind in the Tailwind colors tool

#40072F 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)#0E1A300.108
Deuteranopia (no green cones)#20232E0.092
Tritanopia (no blue cones)#45071A0.043
Achromatopsia (no color)#2020200.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #40072F

    #40072F

    oklch(25.7% 0.097 343.2)

  • #002B1B

    #002B1B

    oklch(25.6% 0.055 162.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40072F

    #40072F

    oklch(25.7% 0.097 343.2)

  • #330F43

    #330F43

    oklch(25.6% 0.097 313.4)

  • #470315

    #470315

    oklch(25.7% 0.098 13.3)

Open the analogous palette in the generator

Split complementary

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

  • #40072F

    #40072F

    oklch(25.7% 0.097 343.2)

  • #142A00

    #142A00

    oklch(25.6% 0.073 133.1)

  • #002A29

    #002A29

    oklch(25.8% 0.044 192.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40072F

    #40072F

    oklch(25.7% 0.097 343.2)

  • #282400

    #282400

    oklch(25.7% 0.054 103.3)

  • #002834

    #002834

    oklch(25.7% 0.048 223)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40072F

    #40072F

    oklch(25.7% 0.097 343.2)

  • #331E00

    #331E00

    oklch(25.6% 0.055 72.3)

  • #002B1B

    #002B1B

    oklch(25.6% 0.055 162.9)

  • #002348

    #002348

    oklch(25.7% 0.08 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 #40072F, closest first.

Similar named colors

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

Use #40072F 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.