#40082C

Closest named color: Dark Plum (#3F012C). oklch(25.6% 0.094 346.4), rgb(64, 8, 44).

Aa

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

About this color

#40082C is a dark, moderately saturated red. In OKLCH its lightness is 26%, its chroma 0.094 and its hue 346°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Plum (#3F012C), ΔE 0.014 away. White text reads best on it, at 16.29:1.

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

Values

HEX#40082C
RGBrgb(64, 8, 44)
HSLhsl(321, 78%, 14%)
OKLCHoklch(25.6% 0.094 346.4)

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 #40082C 16.29:1 AAA Lc -105.2 Preferred for body text
Black text on #40082C 1.28:1 Fails Lc 0.0 Not readable
#40082C text on white 16.29:1 AAA Lc 102.5 Preferred for body text
#40082C 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

    #FEF2F7

    oklch(97.2% 0.014 350.1)

  2. Step 100

    100

    #FBE2EE

    oklch(93.6% 0.031 347.1)

  3. Step 200

    200

    #F9C9E1

    oklch(88.5% 0.062 346.9)

  4. Step 300

    300

    #F5A3CF

    oklch(80.9% 0.111 346.5)

  5. Step 400

    400

    #EC6CB7

    oklch(70.7% 0.178 346.4)

  6. Step 500

    500

    #E239A5

    oklch(63.2% 0.227 346.5)

  7. Step 600

    600

    #C9008E

    oklch(55.5% 0.235 346.5)

  8. Step 700

    700

    #AA0078

    oklch(49% 0.207 346.3)

  9. Step 800

    800

    #8D0062

    oklch(42.7% 0.18 346.7)

  10. Step 900

    900

    #730D51

    oklch(37.6% 0.148 346.3)

  11. Step 950

    950 (this color)

    #40082C

    oklch(25.6% 0.094 346.4)

Export this scale for Tailwind in the Tailwind colors tool

#40082C 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)#101A2D0.105
Deuteranopia (no green cones)#21232B0.090
Tritanopia (no blue cones)#4506190.038
Achromatopsia (no color)#2020200.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #40082C

    #40082C

    oklch(25.6% 0.094 346.4)

  • #002B1D

    #002B1D

    oklch(25.6% 0.053 165.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40082C

    #40082C

    oklch(25.6% 0.094 346.4)

  • #340F40

    #340F40

    oklch(25.5% 0.094 316.7)

  • #460512

    #460512

    oklch(25.6% 0.094 16.7)

Open the analogous palette in the generator

Split complementary

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

  • #40082C

    #40082C

    oklch(25.6% 0.094 346.4)

  • #0F2B00

    #0F2B00

    oklch(25.7% 0.077 136.5)

  • #00292A

    #00292A

    oklch(25.5% 0.043 197.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40082C

    #40082C

    oklch(25.6% 0.094 346.4)

  • #272400

    #272400

    oklch(25.5% 0.054 104.9)

  • #002735

    #002735

    oklch(25.4% 0.049 227.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40082C

    #40082C

    oklch(25.6% 0.094 346.4)

  • #311F00

    #311F00

    oklch(25.6% 0.053 77.5)

  • #002B1D

    #002B1D

    oklch(25.6% 0.053 165.9)

  • #00214C

    #00214C

    oklch(25.5% 0.089 256.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40082C 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.