#4C4078

Closest named color: Dark Slate Blue (#483D8B). oklch(41.1% 0.092 291.7), rgb(76, 64, 120).

Aa

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

About this color

#4C4078 is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.092 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.035 away. White text reads best on it, at 9.08:1.

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

Values

HEX#4C4078
RGBrgb(76, 64, 120)
HSLhsl(253, 30%, 36%)
OKLCHoklch(41.1% 0.092 291.7)

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 #4C4078 9.08:1 AAA Lc -95.2 Preferred for body text
Black text on #4C4078 2.31:1 Fails Lc 13.2 Not readable
#4C4078 text on white 9.08:1 AAA Lc 90.8 Preferred for body text
#4C4078 text on black 2.31:1 Fails Lc -11.5 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

    #C0BBE1

    oklch(80.9% 0.053 291.2)

  5. Step 400

    400

    #A197D2

    oklch(70.7% 0.086 291.8)

  6. Step 500

    500

    #8B7DC6

    oklch(63.2% 0.109 291.8)

  7. Step 600

    600

    #7565B3

    oklch(55.7% 0.119 291.5)

  8. Step 700

    700

    #62539A

    oklch(49% 0.111 291.5)

  9. Step 800

    800 (this color)

    #4C4078

    oklch(41.1% 0.092 291.7)

  10. Step 900

    900

    #423A64

    oklch(37.7% 0.071 291.4)

  11. Step 950

    950

    #27223B

    oklch(27% 0.046 292.2)

Export this scale for Tailwind in the Tailwind colors tool

#4C4078 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)#2D497A0.048
Deuteranopia (no green cones)#2E47770.046
Tritanopia (no blue cones)#414B560.076
Achromatopsia (no color)#4848480.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C4078

    #4C4078

    oklch(41.1% 0.092 291.7)

  • #4D4F00

    #4D4F00

    oklch(41.2% 0.091 111.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C4078

    #4C4078

    oklch(41.1% 0.092 291.7)

  • #2E497C

    #2E497C

    oklch(41% 0.092 262)

  • #613868

    #613868

    oklch(41% 0.092 321.6)

Open the analogous palette in the generator

Split complementary

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

  • #4C4078

    #4C4078

    oklch(41.1% 0.092 291.7)

  • #614500

    #614500

    oklch(41% 0.085 82.1)

  • #2B5726

    #2B5726

    oklch(41.2% 0.092 141.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C4078

    #4C4078

    oklch(41.1% 0.092 291.7)

  • #713A13

    #713A13

    oklch(41.2% 0.092 51.9)

  • #005845

    #005845

    oklch(41% 0.08 171.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C4078

    #4C4078

    oklch(41.1% 0.092 291.7)

  • #743334

    #743334

    oklch(41% 0.092 21)

  • #4D4F00

    #4D4F00

    oklch(41.2% 0.091 111.4)

  • #00565B

    #00565B

    oklch(41.2% 0.07 201.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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