#4C4980

Closest named color: Twilight (#4E518B). oklch(43.5% 0.089 284.5), rgb(76, 73, 128).

Aa

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

About this color

#4C4980 is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.089 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.027 away. White text reads best on it, at 8.16:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.089)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.57:1
White text8.16:1

Values

HEX#4C4980
RGBrgb(76, 73, 128)
HSLhsl(243, 27%, 39%)
OKLCHoklch(43.5% 0.089 284.5)

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 #4C4980 8.16:1 AAA Lc -92.8 Preferred for body text
Black text on #4C4980 2.57:1 Fails Lc 15.8 Dividers and decoration only
#4C4980 text on white 8.16:1 AAA Lc 88.2 Fine for body text
#4C4980 text on black 2.57:1 Fails Lc -14.0 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

    #E8E9F4

    oklch(93.6% 0.015 281.9)

  3. Step 200

    200

    #D6D7EC

    oklch(88.5% 0.029 283.6)

  4. Step 300

    300

    #BCBDE2

    oklch(81% 0.052 284)

  5. Step 400

    400

    #9A9AD3

    oklch(70.7% 0.083 284.1)

  6. Step 500

    500

    #8280C8

    oklch(63.1% 0.107 284.2)

  7. Step 600

    600

    #6C68B4

    oklch(55.5% 0.116 284.3)

  8. Step 700

    700

    #5B569B

    oklch(49% 0.108 285)

  9. Step 800

    800 (this color)

    #4C4980

    oklch(43.5% 0.089 284.5)

  10. Step 900

    900

    #3E3C65

    oklch(37.8% 0.069 284.8)

  11. Step 950

    950

    #24233B

    oklch(26.9% 0.044 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#4C4980 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)#3651820.035
Deuteranopia (no green cones)#344E7F0.035
Tritanopia (no blue cones)#3D545E0.077
Achromatopsia (no color)#4F4F4F0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C4980

    #4C4980

    oklch(43.5% 0.089 284.5)

  • #595306

    #595306

    oklch(43.4% 0.089 104.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C4980

    #4C4980

    oklch(43.5% 0.089 284.5)

  • #2C5281

    #2C5281

    oklch(43.4% 0.09 254.8)

  • #634173

    #634173

    oklch(43.5% 0.089 314.3)

Open the analogous palette in the generator

Split complementary

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

  • #4C4980

    #4C4980

    oklch(43.5% 0.089 284.5)

  • #6E4805

    #6E4805

    oklch(43.4% 0.09 73.7)

  • #3B5C26

    #3B5C26

    oklch(43.6% 0.09 134.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C4980

    #4C4980

    oklch(43.5% 0.089 284.5)

  • #793F24

    #793F24

    oklch(43.5% 0.09 44.6)

  • #076044

    #076044

    oklch(43.4% 0.089 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C4980

    #4C4980

    oklch(43.5% 0.089 284.5)

  • #7A3A41

    #7A3A41

    oklch(43.4% 0.089 14.7)

  • #595306

    #595306

    oklch(43.4% 0.089 104.5)

  • #005D5D

    #005D5D

    oklch(43.3% 0.074 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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