#4D4874

Closest named color: Dusk (#4E5481). oklch(42.6% 0.072 288.1), rgb(77, 72, 116).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.49:1
White text8.41:1

Values

HEX#4D4874
RGBrgb(77, 72, 116)
HSLhsl(247, 23%, 37%)
OKLCHoklch(42.6% 0.072 288.1)

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 #4D4874 8.41:1 AAA Lc -93.5 Preferred for body text
Black text on #4D4874 2.49:1 Fails Lc 15.0 Dividers and decoration only
#4D4874 text on white 8.41:1 AAA Lc 89.0 Fine for body text
#4D4874 text on black 2.49:1 Fails Lc -13.2 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

    #D8D7E8

    oklch(88.5% 0.023 288.6)

  4. Step 300

    300

    #BFBDDB

    oklch(81% 0.042 288.5)

  5. Step 400

    400

    #9E9AC9

    oklch(70.6% 0.068 288.4)

  6. Step 500

    500

    #8781BB

    oklch(63.1% 0.086 288.4)

  7. Step 600

    600

    #716AA7

    oklch(55.6% 0.093 288.2)

  8. Step 700

    700

    #5F588F

    oklch(49.1% 0.087 288.6)

  9. Step 800

    800 (this color)

    #4D4874

    oklch(42.6% 0.072 288.1)

  10. Step 900

    900

    #403D5E

    oklch(37.8% 0.056 287.6)

  11. Step 950

    950

    #252437

    oklch(27% 0.035 286.2)

Export this scale for Tailwind in the Tailwind colors tool

#4D4874 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)#3B4E760.030
Deuteranopia (no green cones)#3B4C730.028
Tritanopia (no blue cones)#4450580.061
Achromatopsia (no color)#4D4D4D0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D4874

    #4D4874

    oklch(42.6% 0.072 288.1)

  • #53521E

    #53521E

    oklch(42.8% 0.072 108.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D4874

    #4D4874

    oklch(42.6% 0.072 288.1)

  • #354F76

    #354F76

    oklch(42.5% 0.073 258.3)

  • #5F4268

    #5F4268

    oklch(42.6% 0.071 318)

Open the analogous palette in the generator

Split complementary

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

  • #4D4874

    #4D4874

    oklch(42.6% 0.072 288.1)

  • #64491B

    #64491B

    oklch(42.5% 0.072 77.8)

  • #3A5830

    #3A5830

    oklch(42.6% 0.073 138.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D4874

    #4D4874

    oklch(42.6% 0.072 288.1)

  • #6F422A

    #6F422A

    oklch(42.7% 0.072 48.1)

  • #1D5B47

    #1D5B47

    oklch(42.5% 0.072 168.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D4874

    #4D4874

    oklch(42.6% 0.072 288.1)

  • #713E40

    #713E40

    oklch(42.7% 0.071 18)

  • #53521E

    #53521E

    oklch(42.8% 0.072 108.1)

  • #015B5D

    #015B5D

    oklch(42.8% 0.072 197.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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