#400E43

Closest named color: Eggplant Purple (#430541). oklch(27.6% 0.105 325.5), rgb(64, 14, 67).

Aa

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

About this color

#400E43 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.105 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant Purple (#430541), ΔE 0.014 away. White text reads best on it, at 15.42:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.36:1
White text15.42:1

Values

HEX#400E43
RGBrgb(64, 14, 67)
HSLhsl(297, 65%, 16%)
OKLCHoklch(27.6% 0.105 325.5)

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 #400E43 15.42:1 AAA Lc -104.5 Preferred for body text
Black text on #400E43 1.36:1 Fails Lc 0.0 Not readable
#400E43 text on white 15.42:1 AAA Lc 101.7 Preferred for body text
#400E43 text on black 1.36: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

    #FCF2FC

    oklch(97.2% 0.017 325.7)

  2. Step 100

    100

    #F7E2F7

    oklch(93.6% 0.036 325.9)

  3. Step 200

    200

    #F1CAF2

    oklch(88.4% 0.068 325.4)

  4. Step 300

    300

    #EAA4EC

    oklch(80.9% 0.124 325.7)

  5. Step 400

    400

    #DD6DE2

    oklch(70.7% 0.198 325.8)

  6. Step 500

    500

    #D138DA

    oklch(63.2% 0.254 325.6)

  7. Step 600

    600

    #B800C2

    oklch(55.6% 0.259 325.5)

  8. Step 700

    700

    #9C00A4

    oklch(49.1% 0.229 325.7)

  9. Step 800

    800

    #800088

    oklch(42.6% 0.199 325.2)

  10. Step 900

    900

    #6A0C6F

    oklch(37.7% 0.165 325.8)

  11. Step 950

    950 (this color)

    #400E43

    oklch(27.6% 0.105 325.5)

Export this scale for Tailwind in the Tailwind colors tool

#400E43 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)#0321440.110
Deuteranopia (no green cones)#1927420.094
Tritanopia (no blue cones)#4217270.061
Achromatopsia (no color)#2525250.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #400E43

    #400E43

    oklch(27.6% 0.105 325.5)

  • #003208

    #003208

    oklch(27.6% 0.086 145.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400E43

    #400E43

    oklch(27.6% 0.105 325.5)

  • #2E1754

    #2E1754

    oklch(27.5% 0.105 296.1)

  • #4C062A

    #4C062A

    oklch(27.8% 0.105 355.9)

Open the analogous palette in the generator

Split complementary

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

  • #400E43

    #400E43

    oklch(27.6% 0.105 325.5)

  • #272B00

    #272B00

    oklch(27.6% 0.062 115.1)

  • #003027

    #003027

    oklch(27.6% 0.052 176.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400E43

    #400E43

    oklch(27.6% 0.105 325.5)

  • #342500

    #342500

    oklch(27.5% 0.056 85.5)

  • #002E33

    #002E33

    oklch(27.5% 0.047 206.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400E43

    #400E43

    oklch(27.6% 0.105 325.5)

  • #401D00

    #401D00

    oklch(27.5% 0.068 55.7)

  • #003208

    #003208

    oklch(27.6% 0.086 145.4)

  • #002C41

    #002C41

    oklch(27.7% 0.059 235.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #400E43 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.