#4D438B

Closest named color: Dark Slate Blue (#483D8B). oklch(43% 0.115 286.9), rgb(77, 67, 139).

Aa

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

About this color

#4D438B is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.115 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.019 away. White text reads best on it, at 8.42:1.

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

Values

HEX#4D438B
RGBrgb(77, 67, 139)
HSLhsl(248, 35%, 40%)
OKLCHoklch(43% 0.115 286.9)

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 #4D438B 8.42:1 AAA Lc -93.4 Preferred for body text
Black text on #4D438B 2.49:1 Fails Lc 15.1 Dividers and decoration only
#4D438B text on white 8.42:1 AAA Lc 88.9 Fine for body text
#4D438B text on black 2.49:1 Fails Lc -13.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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D7D6F1

    oklch(88.5% 0.037 287.3)

  4. Step 300

    300

    #BDBBEB

    oklch(81% 0.067 286.7)

  5. Step 400

    400

    #9C96E1

    oklch(70.7% 0.108 286.9)

  6. Step 500

    500

    #857AD8

    oklch(63.1% 0.138 287.1)

  7. Step 600

    600

    #6F61C5

    oklch(55.5% 0.15 286.9)

  8. Step 700

    700

    #5D50AA

    oklch(49% 0.139 286.7)

  9. Step 800

    800 (this color)

    #4D438B

    oklch(43% 0.115 286.9)

  10. Step 900

    900

    #3F386E

    oklch(37.6% 0.09 287.2)

  11. Step 950

    950

    #252141

    oklch(27% 0.058 287.5)

Export this scale for Tailwind in the Tailwind colors tool

#4D438B 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)#244F8E0.057
Deuteranopia (no green cones)#234B890.056
Tritanopia (no blue cones)#3A52600.097
Achromatopsia (no color)#4D4D4D0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D438B

    #4D438B

    oklch(43% 0.115 286.9)

  • #565300

    #565300

    oklch(43.1% 0.093 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D438B

    #4D438B

    oklch(43% 0.115 286.9)

  • #214F8E

    #214F8E

    oklch(43.1% 0.116 257.1)

  • #693879

    #693879

    oklch(43% 0.116 317.3)

Open the analogous palette in the generator

Split complementary

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

  • #4D438B

    #4D438B

    oklch(43% 0.115 286.9)

  • #6B4800

    #6B4800

    oklch(43% 0.09 77)

  • #2E5D14

    #2E5D14

    oklch(42.9% 0.115 136.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D438B

    #4D438B

    oklch(43% 0.115 286.9)

  • #813706

    #813706

    oklch(43.1% 0.116 46.8)

  • #005F45

    #005F45

    oklch(43.1% 0.089 166.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D438B

    #4D438B

    oklch(43% 0.115 286.9)

  • #832F39

    #832F39

    oklch(42.9% 0.116 16.3)

  • #565300

    #565300

    oklch(43.1% 0.093 107.3)

  • #005C5E

    #005C5E

    oklch(43.1% 0.073 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 #4D438B, closest first.

Similar named colors

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

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