#4D418F

Closest named color: Dark Slate Blue (#483D8B). oklch(42.9% 0.124 287), rgb(77, 65, 143).

Aa

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

About this color

#4D418F is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.124 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.015 away. White text reads best on it, at 8.50:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.124)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.46:1
White text8.50:1

Values

HEX#4D418F
RGBrgb(77, 65, 143)
HSLhsl(249, 38%, 41%)
OKLCHoklch(42.9% 0.124 287)

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 #4D418F 8.50:1 AAA Lc -93.6 Preferred for body text
Black text on #4D418F 2.46:1 Fails Lc 14.9 Not readable
#4D418F text on white 8.50:1 AAA Lc 89.0 Fine for body text
#4D418F text on black 2.46: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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E8E8F8

    oklch(93.6% 0.022 286)

  3. Step 200

    200

    #D7D6F3

    oklch(88.6% 0.04 287.1)

  4. Step 300

    300

    #BDBAEE

    oklch(80.9% 0.073 287.3)

  5. Step 400

    400

    #9C95E5

    oklch(70.7% 0.116 287.1)

  6. Step 500

    500

    #8578DE

    oklch(63% 0.15 287.1)

  7. Step 600

    600

    #705FCB

    oklch(55.6% 0.161 287.2)

  8. Step 700

    700

    #5E4EB0

    oklch(49.2% 0.15 287)

  9. Step 800

    800 (this color)

    #4D418F

    oklch(42.9% 0.124 287)

  10. Step 900

    900

    #3F3772

    oklch(37.6% 0.098 286.9)

  11. Step 950

    950

    #252143

    oklch(27.1% 0.062 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#4D418F 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)#1B4F920.065
Deuteranopia (no green cones)#1A4A8D0.064
Tritanopia (no blue cones)#3852610.105
Achromatopsia (no color)#4D4D4D0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D418F

    #4D418F

    oklch(42.9% 0.124 287)

  • #565200

    #565200

    oklch(42.9% 0.092 106.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D418F

    #4D418F

    oklch(42.9% 0.124 287)

  • #1B4E92

    #1B4E92

    oklch(42.9% 0.124 257)

  • #6A357C

    #6A357C

    oklch(42.9% 0.125 316.8)

Open the analogous palette in the generator

Split complementary

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

  • #4D418F

    #4D418F

    oklch(42.9% 0.124 287)

  • #6B4800

    #6B4800

    oklch(43% 0.09 77)

  • #2A5E09

    #2A5E09

    oklch(42.9% 0.124 136.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D418F

    #4D418F

    oklch(42.9% 0.124 287)

  • #813600

    #813600

    oklch(42.9% 0.118 47.5)

  • #005F45

    #005F45

    oklch(43.1% 0.089 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D418F

    #4D418F

    oklch(42.9% 0.124 287)

  • #862B36

    #862B36

    oklch(42.9% 0.124 17.1)

  • #565200

    #565200

    oklch(42.9% 0.092 106.4)

  • #005C5D

    #005C5D

    oklch(43% 0.073 196.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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