#4E488C

Closest named color: Twilight (#4E518B). oklch(44.2% 0.109 285), rgb(78, 72, 140).

Aa

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

About this color

#4E488C is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.109 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.025 away. White text reads best on it, at 7.98:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.62:1
White text7.98:1

Values

HEX#4E488C
RGBrgb(78, 72, 140)
HSLhsl(245, 32%, 42%)
OKLCHoklch(44.2% 0.109 285)

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 #4E488C 7.98:1 AAA Lc -92.2 Preferred for body text
Black text on #4E488C 2.62:1 Fails Lc 16.5 Dividers and decoration only
#4E488C text on white 7.98:1 AAA Lc 87.5 Fine for body text
#4E488C text on black 2.62:1 Fails Lc -14.6 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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F6

    oklch(93.5% 0.019 286)

  3. Step 200

    200

    #D6D6F0

    oklch(88.4% 0.036 285.7)

  4. Step 300

    300

    #BCBBE9

    oklch(80.8% 0.065 285.9)

  5. Step 400

    400

    #9A97DE

    oklch(70.6% 0.103 285.4)

  6. Step 500

    500

    #827CD4

    oklch(63% 0.13 285.1)

  7. Step 600

    600

    #6D64C2

    oklch(55.7% 0.142 285.2)

  8. Step 700

    700

    #5B52A7

    oklch(49% 0.132 285.3)

  9. Step 800

    800 (this color)

    #4E488C

    oklch(44.2% 0.109 285)

  10. Step 900

    900

    #3E3A6C

    oklch(37.8% 0.084 285.3)

  11. Step 950

    950

    #24223F

    oklch(27% 0.053 285.4)

Export this scale for Tailwind in the Tailwind colors tool

#4E488C 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)#2D538E0.049
Deuteranopia (no green cones)#2B4F8A0.048
Tritanopia (no blue cones)#3B56630.093
Achromatopsia (no color)#5151510.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #4E488C

    #4E488C

    oklch(44.2% 0.109 285)

  • #5B5500

    #5B5500

    oklch(44.1% 0.094 104.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4E488C

    #4E488C

    oklch(44.2% 0.109 285)

  • #24538E

    #24538E

    oklch(44.1% 0.11 255.5)

  • #693E7C

    #693E7C

    oklch(44.2% 0.109 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #4E488C

    #4E488C

    oklch(44.2% 0.109 285)

  • #714A00

    #714A00

    oklch(44.2% 0.093 74.5)

  • #37601A

    #37601A

    oklch(44.3% 0.109 134.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4E488C

    #4E488C

    oklch(44.2% 0.109 285)

  • #823C17

    #823C17

    oklch(44.2% 0.108 45.4)

  • #006346

    #006346

    oklch(44.3% 0.093 164.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4E488C

    #4E488C

    oklch(44.2% 0.109 285)

  • #84353F

    #84353F

    oklch(44.1% 0.109 15)

  • #5B5500

    #5B5500

    oklch(44.1% 0.094 104.9)

  • #006060

    #006060

    oklch(44.3% 0.076 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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