#4C2240

Closest named color: Grape Purple (#5D1451). oklch(32.2% 0.076 339.3), rgb(76, 34, 64).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.61:1
White text13.04:1

Values

HEX#4C2240
RGBrgb(76, 34, 64)
HSLhsl(317, 38%, 22%)
OKLCHoklch(32.2% 0.076 339.3)

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 #4C2240 13.04:1 AAA Lc -102.3 Preferred for body text
Black text on #4C2240 1.61:1 Fails Lc 0.0 Not readable
#4C2240 text on white 13.04:1 AAA Lc 99.0 Preferred for body text
#4C2240 text on black 1.61: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

    #FBF2F8

    oklch(97% 0.012 337.5)

  2. Step 100

    100

    #F7E3F0

    oklch(93.6% 0.028 338.6)

  3. Step 200

    200

    #F1CDE4

    oklch(88.5% 0.05 339.6)

  4. Step 300

    300

    #E8AAD4

    oklch(80.9% 0.09 338.9)

  5. Step 400

    400

    #DA7ABE

    oklch(70.6% 0.145 339)

  6. Step 500

    500

    #CE53AD

    oklch(63.1% 0.185 339.4)

  7. Step 600

    600

    #B93299

    oklch(55.7% 0.201 339.2)

  8. Step 700

    700

    #9F2282

    oklch(49.1% 0.187 339.4)

  9. Step 800

    800

    #811F6A

    oklch(42.7% 0.155 339.2)

  10. Step 900

    900

    #682156

    oklch(37.7% 0.12 339.2)

  11. Step 950

    950 (this color)

    #4C2240

    oklch(32.2% 0.076 339.3)

Export this scale for Tailwind in the Tailwind colors tool

#4C2240 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)#242D410.079
Deuteranopia (no green cones)#2F333F0.071
Tritanopia (no blue cones)#50232E0.035
Achromatopsia (no color)#3131310.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C2240

    #4C2240

    oklch(32.2% 0.076 339.3)

  • #003E25

    #003E25

    oklch(32.1% 0.074 159.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C2240

    #4C2240

    oklch(32.2% 0.076 339.3)

  • #3F2751

    #3F2751

    oklch(32.3% 0.077 309.1)

  • #53202B

    #53202B

    oklch(32.2% 0.077 9)

Open the analogous palette in the generator

Split complementary

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

  • #4C2240

    #4C2240

    oklch(32.2% 0.076 339.3)

  • #273B09

    #273B09

    oklch(32.4% 0.077 129.2)

  • #003C39

    #003C39

    oklch(32.1% 0.056 189.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C2240

    #4C2240

    oklch(32.2% 0.076 339.3)

  • #3C3400

    #3C3400

    oklch(32.4% 0.067 99.8)

  • #003A48

    #003A48

    oklch(32.2% 0.059 220)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C2240

    #4C2240

    oklch(32.2% 0.076 339.3)

  • #4A2C00

    #4A2C00

    oklch(32.3% 0.07 69.8)

  • #003E25

    #003E25

    oklch(32.1% 0.074 159.2)

  • #0D3558

    #0D3558

    oklch(32.1% 0.076 249.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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