#4D405E

Closest named color: Dark Grey Blue (#29465B). oklch(39.7% 0.052 304), rgb(77, 64, 94).

Aa

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

About this color

#4D405E is a dark, muted purple. In OKLCH its lightness is 40%, its chroma 0.052 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.056 away. White text reads best on it, at 9.49:1.

Hue familyPurples
Lightnessdark (40%)
Chromamuted (0.052)
Temperaturein between
Nearest nameDark Grey Blue (#29465B)
Black text2.21:1
White text9.49:1

Values

HEX#4D405E
RGBrgb(77, 64, 94)
HSLhsl(266, 19%, 31%)
OKLCHoklch(39.7% 0.052 304)

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 #4D405E 9.49:1 AAA Lc -96.2 Preferred for body text
Black text on #4D405E 2.21:1 Fails Lc 12.0 Not readable
#4D405E text on white 9.49:1 AAA Lc 92.0 Preferred for body text
#4D405E text on black 2.21:1 Fails Lc -10.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 900.

  1. Step 50

    50

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DCD6E5

    oklch(88.5% 0.021 304)

  4. Step 300

    300

    #C6BBD6

    oklch(81% 0.039 304)

  5. Step 400

    400

    #A997C1

    oklch(70.7% 0.063 304.3)

  6. Step 500

    500

    #947EB1

    oklch(63.2% 0.079 304)

  7. Step 600

    600

    #7E669D

    oklch(55.5% 0.087 303.7)

  8. Step 700

    700

    #6B5586

    oklch(49.2% 0.08 304.2)

  9. Step 800

    800

    #57466D

    oklch(42.8% 0.066 303.7)

  10. Step 900

    900 (this color)

    #4D405E

    oklch(39.7% 0.052 304)

  11. Step 950

    950

    #2A2234

    oklch(26.9% 0.035 304.5)

Export this scale for Tailwind in the Tailwind colors tool

#4D405E 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)#3A455F0.033
Deuteranopia (no green cones)#3C465D0.032
Tritanopia (no blue cones)#4A444B0.039
Achromatopsia (no color)#4646460.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D405E

    #4D405E

    oklch(39.7% 0.052 304)

  • #414C2C

    #414C2C

    oklch(39.8% 0.052 124.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D405E

    #4D405E

    oklch(39.7% 0.052 304)

  • #3E4563

    #3E4563

    oklch(39.7% 0.052 273.7)

  • #583C53

    #583C53

    oklch(39.7% 0.053 333)

Open the analogous palette in the generator

Split complementary

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

  • #4D405E

    #4D405E

    oklch(39.7% 0.052 304)

  • #504725

    #504725

    oklch(39.8% 0.052 95)

  • #304F3A

    #304F3A

    oklch(39.7% 0.051 153.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D405E

    #4D405E

    oklch(39.7% 0.052 304)

  • #5B4128

    #5B4128

    oklch(39.8% 0.053 64.2)

  • #22504A

    #22504A

    oklch(39.7% 0.052 184.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D405E

    #4D405E

    oklch(39.7% 0.052 304)

  • #603D34

    #603D34

    oklch(39.8% 0.052 35.1)

  • #414C2C

    #414C2C

    oklch(39.8% 0.052 124.2)

  • #214E58

    #214E58

    oklch(39.7% 0.052 214.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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