#40082A

Closest named color: Dark Plum (#3F012C). oklch(25.5% 0.092 348.6), rgb(64, 8, 42).

Aa

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

About this color

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

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

Values

HEX#40082A
RGBrgb(64, 8, 42)
HSLhsl(324, 78%, 14%)
OKLCHoklch(25.5% 0.092 348.6)

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

    #FBE2ED

    oklch(93.6% 0.031 349.3)

  3. Step 200

    200

    #F9C9E0

    oklch(88.4% 0.062 348)

  4. Step 300

    300

    #F6A3CC

    oklch(80.9% 0.11 348.8)

  5. Step 400

    400

    #ED6DB2

    oklch(70.8% 0.174 349)

  6. Step 500

    500

    #E23A9F

    oklch(63% 0.223 348.6)

  7. Step 600

    600

    #CB0089

    oklch(55.7% 0.233 348.8)

  8. Step 700

    700

    #AB0073

    oklch(49% 0.205 348.7)

  9. Step 800

    800

    #8E005F

    oklch(42.8% 0.179 348.6)

  10. Step 900

    900

    #740E4E

    oklch(37.7% 0.146 348.7)

  11. Step 950

    950 (this color)

    #40082A

    oklch(25.5% 0.092 348.6)

Export this scale for Tailwind in the Tailwind colors tool

#40082A 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)#111A2B0.104
Deuteranopia (no green cones)#2223290.089
Tritanopia (no blue cones)#4505180.035
Achromatopsia (no color)#2020200.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #40082A

    #40082A

    oklch(25.5% 0.092 348.6)

  • #002A1E

    #002A1E

    oklch(25.3% 0.051 168.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40082A

    #40082A

    oklch(25.5% 0.092 348.6)

  • #350F3E

    #350F3E

    oklch(25.5% 0.092 319.4)

  • #450610

    #450610

    oklch(25.4% 0.092 18.8)

Open the analogous palette in the generator

Split complementary

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

  • #40082A

    #40082A

    oklch(25.5% 0.092 348.6)

  • #0A2B00

    #0A2B00

    oklch(25.5% 0.08 138.7)

  • #00292B

    #00292B

    oklch(25.5% 0.043 199.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40082A

    #40082A

    oklch(25.5% 0.092 348.6)

  • #252500

    #252500

    oklch(25.6% 0.056 109.8)

  • #002736

    #002736

    oklch(25.5% 0.05 229.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40082A

    #40082A

    oklch(25.5% 0.092 348.6)

  • #301F00

    #301F00

    oklch(25.4% 0.053 79.1)

  • #002A1E

    #002A1E

    oklch(25.3% 0.051 168.8)

  • #02204E

    #02204E

    oklch(25.5% 0.092 258.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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