#4E3981

Closest named color: Dark Slate Blue (#483D8B). oklch(40.6% 0.117 294), rgb(78, 57, 129).

Aa

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

About this color

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

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

Values

HEX#4E3981
RGBrgb(78, 57, 129)
HSLhsl(258, 39%, 36%)
OKLCHoklch(40.6% 0.117 294)

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 #4E3981 9.43:1 AAA Lc -95.9 Preferred for body text
Black text on #4E3981 2.22:1 Fails Lc 12.4 Not readable
#4E3981 text on white 9.43:1 AAA Lc 91.6 Preferred for body text
#4E3981 text on black 2.22:1 Fails Lc -10.8 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

    #F5F4FB

    oklch(97% 0.009 292.8)

  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

    #C2B9E9

    oklch(80.9% 0.068 293.4)

  5. Step 400

    400

    #A493DE

    oklch(70.7% 0.109 293.8)

  6. Step 500

    500

    #8F76D5

    oklch(63% 0.14 294.1)

  7. Step 600

    600

    #7A5DC2

    oklch(55.6% 0.152 294.1)

  8. Step 700

    700

    #674CA7

    oklch(49% 0.141 294.3)

  9. Step 800

    800 (this color)

    #4E3981

    oklch(40.6% 0.117 294)

  10. Step 900

    900

    #45366D

    oklch(37.7% 0.092 294.1)

  11. Step 950

    950

    #282040

    oklch(27% 0.059 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#4E3981 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)#1947830.074
Deuteranopia (no green cones)#1E457F0.070
Tritanopia (no blue cones)#4148570.094
Achromatopsia (no color)#4646460.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E3981

    #4E3981

    oklch(40.6% 0.117 294)

  • #494E00

    #494E00

    oklch(40.5% 0.091 113.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E3981

    #4E3981

    oklch(40.6% 0.117 294)

  • #284587

    #284587

    oklch(40.6% 0.116 264.1)

  • #672F6C

    #672F6C

    oklch(40.6% 0.117 324.3)

Open the analogous palette in the generator

Split complementary

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

  • #4E3981

    #4E3981

    oklch(40.6% 0.117 294)

  • #5E4400

    #5E4400

    oklch(40.4% 0.083 83.7)

  • #145819

    #145819

    oklch(40.4% 0.116 144)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E3981

    #4E3981

    oklch(40.6% 0.117 294)

  • #723700

    #723700

    oklch(40.7% 0.102 54.3)

  • #005646

    #005646

    oklch(40.4% 0.077 174.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E3981

    #4E3981

    oklch(40.6% 0.117 294)

  • #7C2828

    #7C2828

    oklch(40.5% 0.117 24)

  • #494E00

    #494E00

    oklch(40.5% 0.091 113.9)

  • #00545A

    #00545A

    oklch(40.6% 0.069 203.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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