#4E397F

Closest named color: Dark Slate Blue (#483D8B). oklch(40.4% 0.114 294.6), rgb(78, 57, 127).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.21:1
White text9.47:1

Values

HEX#4E397F
RGBrgb(78, 57, 127)
HSLhsl(258, 38%, 36%)
OKLCHoklch(40.4% 0.114 294.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 #4E397F 9.47:1 AAA Lc -96.0 Preferred for body text
Black text on #4E397F 2.21:1 Fails Lc 12.3 Not readable
#4E397F text on white 9.47:1 AAA Lc 91.7 Preferred for body text
#4E397F text on black 2.21:1 Fails Lc -10.7 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #DAD5F0

    oklch(88.5% 0.037 294.1)

  4. Step 300

    300

    #C3B9E8

    oklch(81% 0.066 294.6)

  5. Step 400

    400

    #A593DC

    oklch(70.7% 0.106 294.9)

  6. Step 500

    500

    #9077D3

    oklch(63.2% 0.136 294.7)

  7. Step 600

    600

    #7A5EC0

    oklch(55.6% 0.148 294.3)

  8. Step 700

    700

    #674DA5

    oklch(49.1% 0.137 294.5)

  9. Step 800

    800 (this color)

    #4E397F

    oklch(40.4% 0.114 294.6)

  10. Step 900

    900

    #45366B

    oklch(37.6% 0.089 294.8)

  11. Step 950

    950

    #28203F

    oklch(26.9% 0.057 294.1)

Export this scale for Tailwind in the Tailwind colors tool

#4E397F 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)#1B46810.072
Deuteranopia (no green cones)#20457D0.069
Tritanopia (no blue cones)#4247560.091
Achromatopsia (no color)#4646460.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E397F

    #4E397F

    oklch(40.4% 0.114 294.6)

  • #484E00

    #484E00

    oklch(40.5% 0.091 114.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E397F

    #4E397F

    oklch(40.4% 0.114 294.6)

  • #294586

    #294586

    oklch(40.5% 0.114 264.4)

  • #662F6A

    #662F6A

    oklch(40.4% 0.114 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #4E397F

    #4E397F

    oklch(40.4% 0.114 294.6)

  • #5D4400

    #5D4400

    oklch(40.3% 0.083 84.7)

  • #14581B

    #14581B

    oklch(40.5% 0.115 144.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E397F

    #4E397F

    oklch(40.4% 0.114 294.6)

  • #713700

    #713700

    oklch(40.5% 0.101 54.8)

  • #005646

    #005646

    oklch(40.4% 0.077 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E397F

    #4E397F

    oklch(40.4% 0.114 294.6)

  • #7B2928

    #7B2928

    oklch(40.4% 0.115 24.4)

  • #484E00

    #484E00

    oklch(40.5% 0.091 114.7)

  • #00535A

    #00535A

    oklch(40.3% 0.069 204.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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