#4C3F78

Closest named color: Dark Slate Blue (#483D8B). oklch(40.9% 0.094 292.2), rgb(76, 63, 120).

Aa

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

About this color

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

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

Values

HEX#4C3F78
RGBrgb(76, 63, 120)
HSLhsl(254, 31%, 36%)
OKLCHoklch(40.9% 0.094 292.2)

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 #4C3F78 9.17:1 AAA Lc -95.4 Preferred for body text
Black text on #4C3F78 2.28:1 Fails Lc 13.0 Not readable
#4C3F78 text on white 9.17:1 AAA Lc 91.0 Preferred for body text
#4C3F78 text on black 2.28:1 Fails Lc -11.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #D9D6EC

    oklch(88.5% 0.03 292)

  4. Step 300

    300

    #C1BBE2

    oklch(81% 0.055 292.2)

  5. Step 400

    400

    #A297D3

    oklch(70.8% 0.087 292.4)

  6. Step 500

    500

    #8B7CC7

    oklch(63% 0.112 292.1)

  7. Step 600

    600

    #7664B4

    oklch(55.6% 0.122 292.3)

  8. Step 700

    700

    #63539B

    oklch(49.2% 0.113 291.9)

  9. Step 800

    800 (this color)

    #4C3F78

    oklch(40.9% 0.094 292.2)

  10. Step 900

    900

    #433A65

    oklch(37.8% 0.072 292.2)

  11. Step 950

    950

    #27223B

    oklch(27% 0.046 292.2)

Export this scale for Tailwind in the Tailwind colors tool

#4C3F78 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)#2C497A0.051
Deuteranopia (no green cones)#2D47770.049
Tritanopia (no blue cones)#414A550.078
Achromatopsia (no color)#4848480.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C3F78

    #4C3F78

    oklch(40.9% 0.094 292.2)

  • #4B4E00

    #4B4E00

    oklch(40.7% 0.09 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C3F78

    #4C3F78

    oklch(40.9% 0.094 292.2)

  • #2D487C

    #2D487C

    oklch(40.7% 0.094 262.3)

  • #613768

    #613768

    oklch(40.9% 0.094 321.7)

Open the analogous palette in the generator

Split complementary

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

  • #4C3F78

    #4C3F78

    oklch(40.9% 0.094 292.2)

  • #604500

    #604500

    oklch(40.9% 0.084 83.1)

  • #285625

    #285625

    oklch(40.8% 0.093 142.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C3F78

    #4C3F78

    oklch(40.9% 0.094 292.2)

  • #713910

    #713910

    oklch(41% 0.094 52)

  • #005845

    #005845

    oklch(41% 0.08 171.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C3F78

    #4C3F78

    oklch(40.9% 0.094 292.2)

  • #753232

    #753232

    oklch(40.9% 0.095 22.1)

  • #4B4E00

    #4B4E00

    oklch(40.7% 0.09 112.3)

  • #00555A

    #00555A

    oklch(40.9% 0.07 201.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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