#4C407F

Closest named color: Dark Slate Blue (#483D8B). oklch(41.5% 0.102 290), rgb(76, 64, 127).

Aa

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

About this color

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

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

Values

HEX#4C407F
RGBrgb(76, 64, 127)
HSLhsl(251, 33%, 37%)
OKLCHoklch(41.5% 0.102 290)

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 #4C407F 8.94:1 AAA Lc -94.8 Preferred for body text
Black text on #4C407F 2.34:1 Fails Lc 13.6 Not readable
#4C407F text on white 8.94:1 AAA Lc 90.4 Preferred for body text
#4C407F text on black 2.34:1 Fails Lc -11.9 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

    #E9E8F5

    oklch(93.6% 0.017 289.6)

  3. Step 200

    200

    #D8D6EE

    oklch(88.5% 0.033 289.5)

  4. Step 300

    300

    #BFBBE5

    oklch(80.9% 0.059 289.4)

  5. Step 400

    400

    #9F96D8

    oklch(70.6% 0.096 290)

  6. Step 500

    500

    #897BCE

    oklch(63.1% 0.123 290.2)

  7. Step 600

    600

    #7363BB

    oklch(55.6% 0.133 289.7)

  8. Step 700

    700

    #6152A1

    oklch(49.2% 0.123 289.8)

  9. Step 800

    800 (this color)

    #4C407F

    oklch(41.5% 0.102 290)

  10. Step 900

    900

    #413969

    oklch(37.7% 0.081 289.6)

  11. Step 950

    950

    #26223D

    oklch(27% 0.049 289.5)

Export this scale for Tailwind in the Tailwind colors tool

#4C407F 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)#284B810.054
Deuteranopia (no green cones)#29487E0.052
Tritanopia (no blue cones)#3E4D590.086
Achromatopsia (no color)#4949490.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C407F

    #4C407F

    oklch(41.5% 0.102 290)

  • #4F5000

    #4F5000

    oklch(41.6% 0.091 110.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C407F

    #4C407F

    oklch(41.5% 0.102 290)

  • #294A83

    #294A83

    oklch(41.5% 0.103 260.6)

  • #64376E

    #64376E

    oklch(41.6% 0.102 320.1)

Open the analogous palette in the generator

Split complementary

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

  • #4C407F

    #4C407F

    oklch(41.5% 0.102 290)

  • #644600

    #644600

    oklch(41.6% 0.086 80.6)

  • #2A591F

    #2A591F

    oklch(41.6% 0.102 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C407F

    #4C407F

    oklch(41.5% 0.102 290)

  • #76380B

    #76380B

    oklch(41.5% 0.102 50.4)

  • #005A45

    #005A45

    oklch(41.6% 0.082 170)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C407F

    #4C407F

    oklch(41.5% 0.102 290)

  • #7A3134

    #7A3134

    oklch(41.6% 0.102 20.2)

  • #4F5000

    #4F5000

    oklch(41.6% 0.091 110.6)

  • #00575B

    #00575B

    oklch(41.5% 0.071 200.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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