#4D4986

Closest named color: Twilight (#4E518B). oklch(43.9% 0.098 284.6), rgb(77, 73, 134).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.61:1
White text8.03:1

Values

HEX#4D4986
RGBrgb(77, 73, 134)
HSLhsl(244, 29%, 41%)
OKLCHoklch(43.9% 0.098 284.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 #4D4986 8.03:1 AAA Lc -92.4 Preferred for body text
Black text on #4D4986 2.61:1 Fails Lc 16.3 Dividers and decoration only
#4D4986 text on white 8.03:1 AAA Lc 87.7 Fine for body text
#4D4986 text on black 2.61:1 Fails Lc -14.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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D6D7EE

    oklch(88.5% 0.031 283.8)

  4. Step 300

    300

    #BCBCE5

    oklch(80.9% 0.058 285)

  5. Step 400

    400

    #9A99D8

    oklch(70.8% 0.091 284.5)

  6. Step 500

    500

    #827ECE

    oklch(63% 0.119 284.7)

  7. Step 600

    600

    #6C66BB

    oklch(55.5% 0.129 284.6)

  8. Step 700

    700

    #5A55A1

    oklch(49.1% 0.119 284.1)

  9. Step 800

    800 (this color)

    #4D4986

    oklch(43.9% 0.098 284.6)

  10. Step 900

    900

    #3D3B69

    oklch(37.7% 0.077 284)

  11. Step 950

    950

    #24233D

    oklch(27.1% 0.048 284.5)

Export this scale for Tailwind in the Tailwind colors tool

#4D4986 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)#3352880.040
Deuteranopia (no green cones)#314E850.039
Tritanopia (no blue cones)#3C55610.083
Achromatopsia (no color)#5050500.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D4986

    #4D4986

    oklch(43.9% 0.098 284.6)

  • #5B5400

    #5B5400

    oklch(43.9% 0.093 104)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D4986

    #4D4986

    oklch(43.9% 0.098 284.6)

  • #285387

    #285387

    oklch(43.8% 0.099 254.6)

  • #664077

    #664077

    oklch(43.9% 0.098 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #4D4986

    #4D4986

    oklch(43.9% 0.098 284.6)

  • #704900

    #704900

    oklch(43.9% 0.093 74.2)

  • #3A5E21

    #3A5E21

    oklch(44% 0.099 134.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D4986

    #4D4986

    oklch(43.9% 0.098 284.6)

  • #7E3E1F

    #7E3E1F

    oklch(44% 0.099 44.8)

  • #006245

    #006245

    oklch(43.9% 0.093 164.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D4986

    #4D4986

    oklch(43.9% 0.098 284.6)

  • #7F3841

    #7F3841

    oklch(43.8% 0.099 14.2)

  • #5B5400

    #5B5400

    oklch(43.9% 0.093 104)

  • #005F5F

    #005F5F

    oklch(44% 0.075 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 #4D4986, closest first.

Similar named colors

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

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