#4C1252

Closest named color: Plum Purple (#4E0550). oklch(31.1% 0.12 323.8), rgb(76, 18, 82).

Aa

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

About this color

#4C1252 is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.120 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.017 away. White text reads best on it, at 13.85:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.51:1
White text13.85:1

Values

HEX#4C1252
RGBrgb(76, 18, 82)
HSLhsl(294, 64%, 20%)
OKLCHoklch(31.1% 0.12 323.8)

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 #4C1252 13.85:1 AAA Lc -102.9 Preferred for body text
Black text on #4C1252 1.51:1 Fails Lc 0.0 Not readable
#4C1252 text on white 13.85:1 AAA Lc 99.7 Preferred for body text
#4C1252 text on black 1.51: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

    #FCF1FD

    oklch(97% 0.02 323.2)

  2. Step 100

    100

    #F8E1FA

    oklch(93.6% 0.041 323.4)

  3. Step 200

    200

    #F4C8F7

    oklch(88.5% 0.079 324.2)

  4. Step 300

    300

    #EDA0F5

    oklch(80.9% 0.142 323.5)

  5. Step 400

    400

    #E262EF

    oklch(70.7% 0.229 323.9)

  6. Step 500

    500

    #D710E9

    oklch(63.1% 0.291 323.9)

  7. Step 600

    600

    #B600C7

    oklch(55.6% 0.262 323.6)

  8. Step 700

    700

    #9A00A8

    oklch(49.1% 0.231 323.8)

  9. Step 800

    800

    #7F008B

    oklch(42.7% 0.201 323.7)

  10. Step 900

    900

    #6B0075

    oklch(37.7% 0.178 323.8)

  11. Step 950

    950 (this color)

    #4C1252

    oklch(31.1% 0.12 323.8)

Export this scale for Tailwind in the Tailwind colors tool

#4C1252 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)#0028540.126
Deuteranopia (no green cones)#1D2F500.107
Tritanopia (no blue cones)#4D1D310.069
Achromatopsia (no color)#2D2D2D0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C1252

    #4C1252

    oklch(31.1% 0.12 323.8)

  • #003D06

    #003D06

    oklch(31.3% 0.101 143.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C1252

    #4C1252

    oklch(31.1% 0.12 323.8)

  • #361D66

    #361D66

    oklch(31% 0.121 293.9)

  • #5A0735

    #5A0735

    oklch(31.2% 0.12 353.8)

Open the analogous palette in the generator

Split complementary

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

  • #4C1252

    #4C1252

    oklch(31.1% 0.12 323.8)

  • #313400

    #313400

    oklch(31.2% 0.07 113.3)

  • #003A2E

    #003A2E

    oklch(31.1% 0.059 173.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C1252

    #4C1252

    oklch(31.1% 0.12 323.8)

  • #402D00

    #402D00

    oklch(31.1% 0.064 83.3)

  • #00383D

    #00383D

    oklch(31.1% 0.053 204.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C1252

    #4C1252

    oklch(31.1% 0.12 323.8)

  • #4E2300

    #4E2300

    oklch(31.1% 0.078 53.5)

  • #003D06

    #003D06

    oklch(31.3% 0.101 143.9)

  • #00354C

    #00354C

    oklch(31% 0.065 234.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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