#4E3297

Closest named color: Dark Slate Blue (#483D8B). oklch(41.1% 0.157 290.6), rgb(78, 50, 151).

Aa

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

About this color

#4E3297 is a dark, vivid purple. In OKLCH its lightness is 41%, its chroma 0.157 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.034 away. White text reads best on it, at 9.42:1.

Hue familyPurples
Lightnessdark (41%)
Chromavivid (0.157)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.22:1
White text9.42:1

Values

HEX#4E3297
RGBrgb(78, 50, 151)
HSLhsl(257, 50%, 39%)
OKLCHoklch(41.1% 0.157 290.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 #4E3297 9.42:1 AAA Lc -95.6 Preferred for body text
Black text on #4E3297 2.22:1 Fails Lc 12.7 Not readable
#4E3297 text on white 9.42:1 AAA Lc 91.3 Preferred for body text
#4E3297 text on black 2.22:1 Fails Lc -11.1 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4F9

    oklch(88.5% 0.051 290.3)

  4. Step 300

    300

    #C0B7F8

    oklch(81% 0.091 290.6)

  5. Step 400

    400

    #A18EF4

    oklch(70.6% 0.146 290.7)

  6. Step 500

    500

    #8C6EF0

    oklch(63% 0.188 290.6)

  7. Step 600

    600

    #7852DF

    oklch(55.6% 0.204 290.6)

  8. Step 700

    700

    #6541C1

    oklch(49% 0.189 290.6)

  9. Step 800

    800 (this color)

    #4E3297

    oklch(41.1% 0.157 290.6)

  10. Step 900

    900

    #43317C

    oklch(37.6% 0.122 290.4)

  11. Step 950

    950

    #271E49

    oklch(27.1% 0.077 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#4E3297 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)#00489A0.088
Deuteranopia (no green cones)#0044950.087
Tritanopia (no blue cones)#374A600.125
Achromatopsia (no color)#4646460.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E3297

    #4E3297

    oklch(41.1% 0.157 290.6)

  • #4D4E00

    #4D4E00

    oklch(40.9% 0.09 110.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E3297

    #4E3297

    oklch(41.1% 0.157 290.6)

  • #0D439D

    #0D439D

    oklch(41% 0.157 260.6)

  • #6E227D

    #6E227D

    oklch(41% 0.157 320.5)

Open the analogous palette in the generator

Split complementary

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

  • #4E3297

    #4E3297

    oklch(41.1% 0.157 290.6)

  • #624500

    #624500

    oklch(41.2% 0.085 81.2)

  • #135B00

    #135B00

    oklch(41.2% 0.134 140.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E3297

    #4E3297

    oklch(41.1% 0.157 290.6)

  • #773500

    #773500

    oklch(41.1% 0.108 50.4)

  • #005844

    #005844

    oklch(41% 0.081 170.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E3297

    #4E3297

    oklch(41.1% 0.157 290.6)

  • #8C0D23

    #8C0D23

    oklch(41.1% 0.157 20.5)

  • #4D4E00

    #4D4E00

    oklch(40.9% 0.09 110.6)

  • #00565A

    #00565A

    oklch(41.2% 0.07 200.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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