#40062E

Closest named color: Dark Plum (#3F012C). oklch(25.5% 0.098 344.1), rgb(64, 6, 46).

Aa

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

About this color

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

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

Values

HEX#40062E
RGBrgb(64, 6, 46)
HSLhsl(319, 83%, 14%)
OKLCHoklch(25.5% 0.098 344.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 #40062E 16.36:1 AAA Lc -105.2 Preferred for body text
Black text on #40062E 1.28:1 Fails Lc 0.0 Not readable
#40062E text on white 16.36:1 AAA Lc 102.5 Preferred for body text
#40062E 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

    #FEF2F8

    oklch(97.2% 0.015 345.5)

  2. Step 100

    100

    #FBE1EF

    oklch(93.5% 0.034 344.1)

  3. Step 200

    200

    #F9C9E4

    oklch(88.5% 0.064 343.7)

  4. Step 300

    300

    #F6A2D3

    oklch(80.9% 0.116 344.1)

  5. Step 400

    400

    #ED6ABC

    oklch(70.8% 0.185 344.4)

  6. Step 500

    500

    #E233AC

    oklch(63.1% 0.236 343.8)

  7. Step 600

    600

    #C80094

    oklch(55.6% 0.237 344.2)

  8. Step 700

    700

    #A9007D

    oklch(49.1% 0.21 344)

  9. Step 800

    800

    #8C0067

    oklch(42.8% 0.183 344)

  10. Step 900

    900

    #740855

    oklch(37.7% 0.154 344.2)

  11. Step 950

    950 (this color)

    #40062E

    oklch(25.5% 0.098 344.1)

Export this scale for Tailwind in the Tailwind colors tool

#40062E 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)#0D192F0.110
Deuteranopia (no green cones)#20232D0.094
Tritanopia (no blue cones)#4506190.043
Achromatopsia (no color)#2020200.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #40062E

    #40062E

    oklch(25.5% 0.098 344.1)

  • #002B1C

    #002B1C

    oklch(25.6% 0.054 164.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40062E

    #40062E

    oklch(25.5% 0.098 344.1)

  • #330E43

    #330E43

    oklch(25.5% 0.098 313.6)

  • #470314

    #470314

    oklch(25.7% 0.098 14.3)

Open the analogous palette in the generator

Split complementary

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

  • #40062E

    #40062E

    oklch(25.5% 0.098 344.1)

  • #122A00

    #122A00

    oklch(25.5% 0.074 134.4)

  • #002929

    #002929

    oklch(25.4% 0.043 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40062E

    #40062E

    oklch(25.5% 0.098 344.1)

  • #272400

    #272400

    oklch(25.5% 0.054 104.9)

  • #002734

    #002734

    oklch(25.4% 0.048 225.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40062E

    #40062E

    oklch(25.5% 0.098 344.1)

  • #321E00

    #321E00

    oklch(25.5% 0.054 73.8)

  • #002B1C

    #002B1C

    oklch(25.6% 0.054 164.3)

  • #002248

    #002248

    oklch(25.4% 0.081 254)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40062E 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.