#400349

Closest named color: Eggplant Purple (#430541). oklch(27.1% 0.123 321.9), rgb(64, 3, 73).

Aa

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

About this color

#400349 is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.123 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant Purple (#430541), ΔE 0.018 away. White text reads best on it, at 15.82:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.32:1
White text15.82:1

Values

HEX#400349
RGBrgb(64, 3, 73)
HSLhsl(292, 92%, 15%)
OKLCHoklch(27.1% 0.123 321.9)

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 #400349 15.82:1 AAA Lc -104.5 Preferred for body text
Black text on #400349 1.32:1 Fails Lc 0.0 Not readable
#400349 text on white 15.82:1 AAA Lc 101.7 Preferred for body text
#400349 text on black 1.32: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

    #FCF1FD

    oklch(97% 0.02 323.2)

  2. Step 100

    100

    #F8E1FB

    oklch(93.6% 0.042 322.3)

  3. Step 200

    200

    #F3C8FA

    oklch(88.5% 0.082 321.6)

  4. Step 300

    300

    #EC9FF9

    oklch(80.8% 0.147 321.6)

  5. Step 400

    400

    #E061F5

    oklch(70.6% 0.234 321.7)

  6. Step 500

    500

    #D503F0

    oklch(63% 0.299 321.9)

  7. Step 600

    600

    #B400CB

    oklch(55.5% 0.264 321.9)

  8. Step 700

    700

    #9800AC

    oklch(49.1% 0.233 321.9)

  9. Step 800

    800

    #7E008E

    oklch(42.7% 0.203 322.2)

  10. Step 900

    900

    #690078

    oklch(37.6% 0.179 321.6)

  11. Step 950

    950 (this color)

    #400349

    oklch(27.1% 0.123 321.9)

Export this scale for Tailwind in the Tailwind colors tool

#400349 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)#001E4B0.119
Deuteranopia (no green cones)#0E25480.111
Tritanopia (no blue cones)#4113280.073
Achromatopsia (no color)#2222220.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #400349

    #400349

    oklch(27.1% 0.123 321.9)

  • #023100

    #023100

    oklch(27.2% 0.091 141.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400349

    #400349

    oklch(27.1% 0.123 321.9)

  • #2B115C

    #2B115C

    oklch(27.1% 0.123 291.8)

  • #4B002C

    #4B002C

    oklch(27.1% 0.112 352.3)

Open the analogous palette in the generator

Split complementary

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

  • #400349

    #400349

    oklch(27.1% 0.123 321.9)

  • #282900

    #282900

    oklch(27.1% 0.06 111.2)

  • #002F23

    #002F23

    oklch(27.2% 0.053 170.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400349

    #400349

    oklch(27.1% 0.123 321.9)

  • #342300

    #342300

    oklch(27% 0.056 81.4)

  • #002D30

    #002D30

    oklch(27% 0.046 201.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400349

    #400349

    oklch(27.1% 0.123 321.9)

  • #401A00

    #401A00

    oklch(27% 0.07 51.3)

  • #023100

    #023100

    oklch(27.2% 0.091 141.9)

  • #002B3D

    #002B3D

    oklch(27.1% 0.055 231.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #400349.

Similar named colors

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

Use #400349 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.