#4D3F8C

Closest named color: Dark Slate Blue (#483D8B). oklch(42.3% 0.123 288.4), rgb(77, 63, 140).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.40:1
White text8.73:1

Values

HEX#4D3F8C
RGBrgb(77, 63, 140)
HSLhsl(251, 38%, 40%)
OKLCHoklch(42.3% 0.123 288.4)

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 #4D3F8C 8.73:1 AAA Lc -94.2 Preferred for body text
Black text on #4D3F8C 2.40:1 Fails Lc 14.3 Not readable
#4D3F8C text on white 8.73:1 AAA Lc 89.7 Fine for body text
#4D3F8C text on black 2.40:1 Fails Lc -12.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

    #F5F5FC

    oklch(97.2% 0.009 286.2)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D7D5F3

    oklch(88.4% 0.041 288.6)

  4. Step 300

    300

    #BEBAED

    oklch(80.9% 0.072 288.3)

  5. Step 400

    400

    #9E94E4

    oklch(70.7% 0.116 288.8)

  6. Step 500

    500

    #8778DC

    oklch(63.1% 0.147 288.3)

  7. Step 600

    600

    #725FCA

    oklch(55.7% 0.16 288.3)

  8. Step 700

    700

    #604DAE

    oklch(49% 0.149 288.7)

  9. Step 800

    800 (this color)

    #4D3F8C

    oklch(42.3% 0.123 288.4)

  10. Step 900

    900

    #403771

    oklch(37.7% 0.096 288)

  11. Step 950

    950

    #262142

    oklch(27.1% 0.06 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#4D3F8C 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)#194D8F0.068
Deuteranopia (no green cones)#1A498A0.066
Tritanopia (no blue cones)#3A4F5F0.101
Achromatopsia (no color)#4B4B4B0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D3F8C

    #4D3F8C

    oklch(42.3% 0.123 288.4)

  • #535100

    #535100

    oklch(42.3% 0.091 108.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D3F8C

    #4D3F8C

    oklch(42.3% 0.123 288.4)

  • #1E4C90

    #1E4C90

    oklch(42.4% 0.123 258.4)

  • #693478

    #693478

    oklch(42.3% 0.122 318.4)

Open the analogous palette in the generator

Split complementary

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

  • #4D3F8C

    #4D3F8C

    oklch(42.3% 0.123 288.4)

  • #684700

    #684700

    oklch(42.4% 0.088 78.4)

  • #255D0D

    #255D0D

    oklch(42.4% 0.123 138.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D3F8C

    #4D3F8C

    oklch(42.3% 0.123 288.4)

  • #7E3600

    #7E3600

    oklch(42.4% 0.115 48.5)

  • #005D45

    #005D45

    oklch(42.5% 0.086 167.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D3F8C

    #4D3F8C

    oklch(42.3% 0.123 288.4)

  • #842A33

    #842A33

    oklch(42.3% 0.123 18.4)

  • #535100

    #535100

    oklch(42.3% 0.091 108.1)

  • #005A5C

    #005A5C

    oklch(42.4% 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 #4D3F8C, closest first.

Similar named colors

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

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