#4D3E8B

Closest named color: Dark Slate Blue (#483D8B). oklch(42.1% 0.123 289), rgb(77, 62, 139).

Aa

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

About this color

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

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

Values

HEX#4D3E8B
RGBrgb(77, 62, 139)
HSLhsl(252, 38%, 39%)
OKLCHoklch(42.1% 0.123 289)

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 #4D3E8B 8.83:1 AAA Lc -94.4 Preferred for body text
Black text on #4D3E8B 2.37:1 Fails Lc 14.0 Not readable
#4D3E8B text on white 8.83:1 AAA Lc 90.0 Fine for body text
#4D3E8B text on black 2.37:1 Fails Lc -12.3 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F7

    oklch(93.6% 0.02 289.1)

  3. Step 200

    200

    #D8D5F3

    oklch(88.5% 0.041 290.1)

  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

    #8878DC

    oklch(63.2% 0.147 288.8)

  7. Step 600

    600

    #735EC9

    oklch(55.6% 0.16 289.2)

  8. Step 700

    700

    #614DAE

    oklch(49.1% 0.149 289.2)

  9. Step 800

    800 (this color)

    #4D3E8B

    oklch(42.1% 0.123 289)

  10. Step 900

    900

    #413771

    oklch(37.8% 0.096 288.9)

  11. Step 950

    950

    #262142

    oklch(27.1% 0.06 288.7)

Export this scale for Tailwind in the Tailwind colors tool

#4D3E8B 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)#184C8E0.069
Deuteranopia (no green cones)#1948890.067
Tritanopia (no blue cones)#3B4E5E0.101
Achromatopsia (no color)#4A4A4A0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D3E8B

    #4D3E8B

    oklch(42.1% 0.123 289)

  • #525100

    #525100

    oklch(42.2% 0.092 108.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D3E8B

    #4D3E8B

    oklch(42.1% 0.123 289)

  • #1F4B8F

    #1F4B8F

    oklch(42.1% 0.123 259)

  • #693377

    #693377

    oklch(42.1% 0.123 319)

Open the analogous palette in the generator

Split complementary

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

  • #4D3E8B

    #4D3E8B

    oklch(42.1% 0.123 289)

  • #674600

    #674600

    oklch(42% 0.088 78)

  • #235C0D

    #235C0D

    oklch(42% 0.123 139)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D3E8B

    #4D3E8B

    oklch(42.1% 0.123 289)

  • #7C3600

    #7C3600

    oklch(42.1% 0.113 49.2)

  • #005C45

    #005C45

    oklch(42.2% 0.085 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D3E8B

    #4D3E8B

    oklch(42.1% 0.123 289)

  • #832932

    #832932

    oklch(42% 0.123 18.5)

  • #525100

    #525100

    oklch(42.2% 0.092 108.9)

  • #00595C

    #00595C

    oklch(42.1% 0.072 198.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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