#4C1E40

Closest named color: Grape Purple (#5D1451). oklch(31.6% 0.084 338.6), rgb(76, 30, 64).

Aa

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

About this color

#4C1E40 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.084 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.050 away. White text reads best on it, at 13.40:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.56:1
White text13.40:1

Values

HEX#4C1E40
RGBrgb(76, 30, 64)
HSLhsl(316, 43%, 21%)
OKLCHoklch(31.6% 0.084 338.6)

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 #4C1E40 13.40:1 AAA Lc -102.7 Preferred for body text
Black text on #4C1E40 1.56:1 Fails Lc 0.0 Not readable
#4C1E40 text on white 13.40:1 AAA Lc 99.5 Preferred for body text
#4C1E40 text on black 1.56:1 Fails Lc 0.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 950.

  1. Step 50

    50

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E3F0

    oklch(93.6% 0.028 340)

  3. Step 200

    200

    #F3CCE6

    oklch(88.6% 0.055 338.5)

  4. Step 300

    300

    #ECA8D6

    oklch(81% 0.099 339.1)

  5. Step 400

    400

    #DF75C2

    oklch(70.7% 0.16 338.5)

  6. Step 500

    500

    #D34BB2

    oklch(63.1% 0.204 338.7)

  7. Step 600

    600

    #BE239E

    oklch(55.6% 0.221 338.5)

  8. Step 700

    700

    #A31087

    oklch(49% 0.206 338.4)

  9. Step 800

    800

    #85156E

    oklch(42.8% 0.171 338.4)

  10. Step 900

    900

    #6B1B59

    oklch(37.7% 0.133 338.4)

  11. Step 950

    950 (this color)

    #4C1E40

    oklch(31.6% 0.084 338.6)

Export this scale for Tailwind in the Tailwind colors tool

#4C1E40 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)#202A410.088
Deuteranopia (no green cones)#2D323F0.079
Tritanopia (no blue cones)#501F2C0.038
Achromatopsia (no color)#2F2F2F0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1E40

    #4C1E40

    oklch(31.6% 0.084 338.6)

  • #003D23

    #003D23

    oklch(31.7% 0.074 158)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1E40

    #4C1E40

    oklch(31.6% 0.084 338.6)

  • #3E2452

    #3E2452

    oklch(31.6% 0.084 308.4)

  • #541C29

    #541C29

    oklch(31.7% 0.084 9)

Open the analogous palette in the generator

Split complementary

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

  • #4C1E40

    #4C1E40

    oklch(31.6% 0.084 338.6)

  • #253900

    #253900

    oklch(31.5% 0.083 128.2)

  • #003B37

    #003B37

    oklch(31.7% 0.055 187.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1E40

    #4C1E40

    oklch(31.6% 0.084 338.6)

  • #3A3200

    #3A3200

    oklch(31.6% 0.066 99.5)

  • #003845

    #003845

    oklch(31.5% 0.057 219)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1E40

    #4C1E40

    oklch(31.6% 0.084 338.6)

  • #482A00

    #482A00

    oklch(31.6% 0.069 68.7)

  • #003D23

    #003D23

    oklch(31.7% 0.074 158)

  • #02335A

    #02335A

    oklch(31.5% 0.085 249)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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