#4E4876

Closest named color: Dusk (#4E5481). oklch(42.8% 0.075 288.8), rgb(78, 72, 118).

Aa

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

About this color

#4E4876 is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.075 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.036 away. White text reads best on it, at 8.35:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.51:1
White text8.35:1

Values

HEX#4E4876
RGBrgb(78, 72, 118)
HSLhsl(248, 24%, 37%)
OKLCHoklch(42.8% 0.075 288.8)

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 #4E4876 8.35:1 AAA Lc -93.4 Preferred for body text
Black text on #4E4876 2.51:1 Fails Lc 15.2 Dividers and decoration only
#4E4876 text on white 8.35:1 AAA Lc 88.8 Fine for body text
#4E4876 text on black 2.51:1 Fails Lc -13.4 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E9E9F2

    oklch(93.7% 0.012 286.2)

  3. Step 200

    200

    #D8D7E9

    oklch(88.5% 0.025 288.4)

  4. Step 300

    300

    #BFBDDC

    oklch(81% 0.043 288.3)

  5. Step 400

    400

    #9E9ACA

    oklch(70.7% 0.07 288.3)

  6. Step 500

    500

    #8780BD

    oklch(63% 0.091 288.8)

  7. Step 600

    600

    #7169A9

    oklch(55.5% 0.098 288.5)

  8. Step 700

    700

    #5F5791

    oklch(49% 0.092 288.9)

  9. Step 800

    800 (this color)

    #4E4876

    oklch(42.8% 0.075 288.8)

  10. Step 900

    900

    #403C5F

    oklch(37.6% 0.059 288.4)

  11. Step 950

    950

    #262338

    oklch(27% 0.039 290.1)

Export this scale for Tailwind in the Tailwind colors tool

#4E4876 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)#3A4F780.033
Deuteranopia (no green cones)#3A4D750.032
Tritanopia (no blue cones)#4450590.063
Achromatopsia (no color)#4E4E4E0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E4876

    #4E4876

    oklch(42.8% 0.075 288.8)

  • #53521C

    #53521C

    oklch(42.8% 0.074 108.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E4876

    #4E4876

    oklch(42.8% 0.075 288.8)

  • #355078

    #355078

    oklch(42.9% 0.074 258)

  • #61416A

    #61416A

    oklch(42.8% 0.077 318.7)

Open the analogous palette in the generator

Split complementary

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

  • #4E4876

    #4E4876

    oklch(42.8% 0.075 288.8)

  • #654A18

    #654A18

    oklch(42.8% 0.075 79.4)

  • #395930

    #395930

    oklch(42.8% 0.075 139)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E4876

    #4E4876

    oklch(42.8% 0.075 288.8)

  • #704228

    #704228

    oklch(42.8% 0.075 49.3)

  • #185C48

    #185C48

    oklch(42.7% 0.075 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E4876

    #4E4876

    oklch(42.8% 0.075 288.8)

  • #733D3F

    #733D3F

    oklch(42.8% 0.076 18.4)

  • #53521C

    #53521C

    oklch(42.8% 0.074 108.2)

  • #005B5E

    #005B5E

    oklch(42.8% 0.073 198.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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