#4D4170

Closest named color: Dark Slate Blue (#483D8B). oklch(40.9% 0.078 294.4), rgb(77, 65, 112).

Aa

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

About this color

#4D4170 is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.078 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.049 away. White text reads best on it, at 9.10:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.30:1
White text9.10:1

Values

HEX#4D4170
RGBrgb(77, 65, 112)
HSLhsl(255, 27%, 35%)
OKLCHoklch(40.9% 0.078 294.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 #4D4170 9.10:1 AAA Lc -95.3 Preferred for body text
Black text on #4D4170 2.30:1 Fails Lc 13.1 Not readable
#4D4170 text on white 9.10:1 AAA Lc 90.9 Preferred for body text
#4D4170 text on black 2.30:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #DAD6E9

    oklch(88.5% 0.026 295.5)

  4. Step 300

    300

    #C2BBDC

    oklch(80.8% 0.047 295.1)

  5. Step 400

    400

    #A398CA

    oklch(70.7% 0.073 294.5)

  6. Step 500

    500

    #8D7EBC

    oklch(63.1% 0.093 294.7)

  7. Step 600

    600

    #7767A8

    oklch(55.6% 0.1 294.2)

  8. Step 700

    700

    #645591

    oklch(49.1% 0.095 294.1)

  9. Step 800

    800 (this color)

    #4D4170

    oklch(40.9% 0.078 294.4)

  10. Step 900

    900

    #443B5F

    oklch(37.8% 0.061 294.8)

  11. Step 950

    950

    #282337

    oklch(27.1% 0.037 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#4D4170 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)#3449720.042
Deuteranopia (no green cones)#35486F0.040
Tritanopia (no blue cones)#4549530.063
Achromatopsia (no color)#4848480.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D4170

    #4D4170

    oklch(40.9% 0.078 294.4)

  • #494F16

    #494F16

    oklch(41% 0.079 115.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D4170

    #4D4170

    oklch(40.9% 0.078 294.4)

  • #354974

    #354974

    oklch(41% 0.077 264.3)

  • #5F3B62

    #5F3B62

    oklch(41% 0.078 324.1)

Open the analogous palette in the generator

Split complementary

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

  • #4D4170

    #4D4170

    oklch(40.9% 0.078 294.4)

  • #5E460C

    #5E460C

    oklch(41% 0.078 84.1)

  • #2D552E

    #2D552E

    oklch(40.9% 0.078 144.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D4170

    #4D4170

    oklch(40.9% 0.078 294.4)

  • #6A3D1D

    #6A3D1D

    oklch(40.8% 0.078 53.9)

  • #005847

    #005847

    oklch(41.1% 0.078 173.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D4170

    #4D4170

    oklch(40.9% 0.078 294.4)

  • #6E3835

    #6E3835

    oklch(40.9% 0.077 24.3)

  • #494F16

    #494F16

    oklch(41% 0.079 115.1)

  • #00555C

    #00555C

    oklch(41% 0.07 204.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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