#4E397C

Closest named color: Dark Slate Blue (#483D8B). oklch(40.2% 0.11 295.5), rgb(78, 57, 124).

Aa

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

About this color

#4E397C is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.110 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.027 away. White text reads best on it, at 9.54:1.

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

Values

HEX#4E397C
RGBrgb(78, 57, 124)
HSLhsl(259, 37%, 35%)
OKLCHoklch(40.2% 0.11 295.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 #4E397C 9.54:1 AAA Lc -96.2 Preferred for body text
Black text on #4E397C 2.20:1 Fails Lc 12.1 Not readable
#4E397C text on white 9.54:1 AAA Lc 91.9 Preferred for body text
#4E397C text on black 2.20:1 Fails Lc -10.5 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

    #EAE8F5

    oklch(93.6% 0.018 293.1)

  3. Step 200

    200

    #DAD5EF

    oklch(88.5% 0.036 294.5)

  4. Step 300

    300

    #C3B9E6

    oklch(80.9% 0.064 295.1)

  5. Step 400

    400

    #A693DA

    oklch(70.7% 0.104 295.9)

  6. Step 500

    500

    #9077CF

    oklch(63% 0.131 295.5)

  7. Step 600

    600

    #7B5FBC

    oklch(55.6% 0.141 295.3)

  8. Step 700

    700

    #684DA2

    oklch(49% 0.133 295.8)

  9. Step 800

    800 (this color)

    #4E397C

    oklch(40.2% 0.11 295.5)

  10. Step 900

    900

    #46376A

    oklch(37.8% 0.086 295.6)

  11. Step 950

    950

    #29203E

    oklch(27% 0.055 296.3)

Export this scale for Tailwind in the Tailwind colors tool

#4E397C 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)#1F467E0.070
Deuteranopia (no green cones)#24447A0.065
Tritanopia (no blue cones)#4346550.086
Achromatopsia (no color)#4545450.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E397C

    #4E397C

    oklch(40.2% 0.11 295.5)

  • #474E00

    #474E00

    oklch(40.4% 0.092 115.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E397C

    #4E397C

    oklch(40.2% 0.11 295.5)

  • #2B4483

    #2B4483

    oklch(40.2% 0.11 265.5)

  • #653068

    #653068

    oklch(40.3% 0.109 325.3)

Open the analogous palette in the generator

Split complementary

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

  • #4E397C

    #4E397C

    oklch(40.2% 0.11 295.5)

  • #5C4400

    #5C4400

    oklch(40.2% 0.082 85.6)

  • #15571F

    #15571F

    oklch(40.2% 0.109 145.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E397C

    #4E397C

    oklch(40.2% 0.11 295.5)

  • #6F3700

    #6F3700

    oklch(40.2% 0.099 55.8)

  • #005546

    #005546

    oklch(40.1% 0.075 175.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E397C

    #4E397C

    oklch(40.2% 0.11 295.5)

  • #792B28

    #792B28

    oklch(40.3% 0.11 25.5)

  • #474E00

    #474E00

    oklch(40.4% 0.092 115.5)

  • #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 #4E397C, closest first.

Similar named colors

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

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