#4C1D4C

Closest named color: Grape Purple (#5D1451). oklch(32.1% 0.097 327.6), rgb(76, 29, 76).

Aa

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

About this color

#4C1D4C is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.097 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.039 away. White text reads best on it, at 13.22:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.58:1
White text13.22:1

Values

HEX#4C1D4C
RGBrgb(76, 29, 76)
HSLhsl(300, 45%, 21%)
OKLCHoklch(32.1% 0.097 327.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 #4C1D4C 13.22:1 AAA Lc -102.4 Preferred for body text
Black text on #4C1D4C 1.58:1 Fails Lc 0.0 Not readable
#4C1D4C text on white 13.22:1 AAA Lc 99.2 Preferred for body text
#4C1D4C text on black 1.58: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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F7E2F6

    oklch(93.6% 0.035 327.3)

  3. Step 200

    200

    #F1CBEF

    oklch(88.5% 0.064 327.8)

  4. Step 300

    300

    #E9A6E7

    oklch(80.9% 0.115 327.6)

  5. Step 400

    400

    #DB71DB

    oklch(70.7% 0.185 327.3)

  6. Step 500

    500

    #CF41D0

    oklch(63.1% 0.236 327.6)

  7. Step 600

    600

    #BA00BD

    oklch(55.5% 0.256 327.5)

  8. Step 700

    700

    #9D00A0

    oklch(49% 0.226 327.4)

  9. Step 800

    800

    #820084

    oklch(42.7% 0.197 327.6)

  10. Step 900

    900

    #69146A

    oklch(37.7% 0.154 327.6)

  11. Step 950

    950 (this color)

    #4C1D4C

    oklch(32.1% 0.097 327.6)

Export this scale for Tailwind in the Tailwind colors tool

#4C1D4C 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)#182C4D0.098
Deuteranopia (no green cones)#27324B0.086
Tritanopia (no blue cones)#4E23310.056
Achromatopsia (no color)#3030300.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1D4C

    #4C1D4C

    oklch(32.1% 0.097 327.6)

  • #003F13

    #003F13

    oklch(32.1% 0.094 147.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1D4C

    #4C1D4C

    oklch(32.1% 0.097 327.6)

  • #3A255E

    #3A255E

    oklch(32.2% 0.098 297.6)

  • #571833

    #571833

    oklch(32.1% 0.097 357.7)

Open the analogous palette in the generator

Split complementary

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

  • #4C1D4C

    #4C1D4C

    oklch(32.1% 0.097 327.6)

  • #303800

    #303800

    oklch(32.2% 0.075 118.2)

  • #003D33

    #003D33

    oklch(32.2% 0.059 177.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1D4C

    #4C1D4C

    oklch(32.1% 0.097 327.6)

  • #413000

    #413000

    oklch(32% 0.065 87.1)

  • #003B41

    #003B41

    oklch(32.2% 0.055 206)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1D4C

    #4C1D4C

    oklch(32.1% 0.097 327.6)

  • #4F2700

    #4F2700

    oklch(32% 0.077 58)

  • #003F13

    #003F13

    oklch(32.1% 0.094 147.6)

  • #003752

    #003752

    oklch(32% 0.07 237.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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