#4E406F

Closest named color: Dark Slate Blue (#483D8B). oklch(40.8% 0.078 296.5), rgb(78, 64, 111).

Aa

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

About this color

#4E406F is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.078 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.050 away. White text reads best on it, at 9.18:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.28:1
White text9.18:1

Values

HEX#4E406F
RGBrgb(78, 64, 111)
HSLhsl(258, 27%, 34%)
OKLCHoklch(40.8% 0.078 296.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 #4E406F 9.18:1 AAA Lc -95.4 Preferred for body text
Black text on #4E406F 2.28:1 Fails Lc 12.9 Not readable
#4E406F text on white 9.18:1 AAA Lc 91.1 Preferred for body text
#4E406F text on black 2.28:1 Fails Lc -11.3 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 800.

  1. Step 50

    50

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E8

    oklch(88.5% 0.025 296.1)

  4. Step 300

    300

    #C3BBDB

    oklch(80.9% 0.045 296.8)

  5. Step 400

    400

    #A597C9

    oklch(70.6% 0.073 297.3)

  6. Step 500

    500

    #8F7DBC

    oklch(63.1% 0.095 296.7)

  7. Step 600

    600

    #7966A8

    oklch(55.6% 0.102 296.2)

  8. Step 700

    700

    #665490

    oklch(49% 0.095 296.5)

  9. Step 800

    800 (this color)

    #4E406F

    oklch(40.8% 0.078 296.5)

  10. Step 900

    900

    #453A5E

    oklch(37.6% 0.062 297.4)

  11. Step 950

    950

    #282237

    oklch(26.9% 0.039 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#4E406F 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)#3348710.044
Deuteranopia (no green cones)#35476E0.042
Tritanopia (no blue cones)#4748520.062
Achromatopsia (no color)#4848480.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E406F

    #4E406F

    oklch(40.8% 0.078 296.5)

  • #474F17

    #474F17

    oklch(40.8% 0.078 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E406F

    #4E406F

    oklch(40.8% 0.078 296.5)

  • #364874

    #364874

    oklch(40.8% 0.078 266.2)

  • #603A60

    #603A60

    oklch(40.9% 0.078 326.9)

Open the analogous palette in the generator

Split complementary

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

  • #4E406F

    #4E406F

    oklch(40.8% 0.078 296.5)

  • #5C460A

    #5C460A

    oklch(40.7% 0.078 86.5)

  • #2A552F

    #2A552F

    oklch(40.8% 0.079 146.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E406F

    #4E406F

    oklch(40.8% 0.078 296.5)

  • #693D1B

    #693D1B

    oklch(40.6% 0.078 55.8)

  • #005748

    #005748

    oklch(40.8% 0.076 175.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E406F

    #4E406F

    oklch(40.8% 0.078 296.5)

  • #6E3732

    #6E3732

    oklch(40.6% 0.079 26.5)

  • #474F17

    #474F17

    oklch(40.8% 0.078 117)

  • #00545C

    #00545C

    oklch(40.7% 0.07 205.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4E406F 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.