#4C284D

Closest named color: Grape Purple (#5D1451). oklch(33.9% 0.078 326.1), rgb(76, 40, 77).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.71:1
White text12.22:1

Values

HEX#4C284D
RGBrgb(76, 40, 77)
HSLhsl(298, 32%, 23%)
OKLCHoklch(33.9% 0.078 326.1)

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 #4C284D 12.22:1 AAA Lc -101.2 Preferred for body text
Black text on #4C284D 1.71:1 Fails Lc 0.0 Not readable
#4C284D text on white 12.22:1 AAA Lc 97.7 Preferred for body text
#4C284D text on black 1.71: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 900.

  1. Step 50

    50

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6F0

    oklch(93.6% 0.017 325.7)

  3. Step 200

    200

    #E5D2E5

    oklch(88.5% 0.033 325.9)

  4. Step 300

    300

    #D5B4D5

    oklch(80.9% 0.058 326.1)

  5. Step 400

    400

    #BF8CC0

    oklch(70.7% 0.094 325.9)

  6. Step 500

    500

    #AE6FB0

    oklch(63.1% 0.118 325.8)

  7. Step 600

    600

    #99559B

    oklch(55.5% 0.13 326.1)

  8. Step 700

    700

    #834585

    oklch(49.1% 0.121 326.1)

  9. Step 800

    800

    #6A396C

    oklch(42.6% 0.1 325.7)

  10. Step 900

    900 (this color)

    #4C284D

    oklch(33.9% 0.078 326.1)

  11. Step 950

    950

    #331D33

    oklch(26.9% 0.05 326.9)

Export this scale for Tailwind in the Tailwind colors tool

#4C284D 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)#25324E0.073
Deuteranopia (no green cones)#2F374C0.066
Tritanopia (no blue cones)#4E2C370.044
Achromatopsia (no color)#3535350.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C284D

    #4C284D

    oklch(33.9% 0.078 326.1)

  • #18421E

    #18421E

    oklch(33.9% 0.077 146.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C284D

    #4C284D

    oklch(33.9% 0.078 326.1)

  • #3C2E5B

    #3C2E5B

    oklch(33.9% 0.078 296.4)

  • #562539

    #562539

    oklch(34% 0.077 356.3)

Open the analogous palette in the generator

Split complementary

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

  • #4C284D

    #4C284D

    oklch(33.9% 0.078 326.1)

  • #363C00

    #363C00

    oklch(33.9% 0.077 115.9)

  • #004237

    #004237

    oklch(33.9% 0.063 177)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C284D

    #4C284D

    oklch(33.9% 0.078 326.1)

  • #483500

    #483500

    oklch(34.1% 0.07 86.3)

  • #004047

    #004047

    oklch(34% 0.058 207)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C284D

    #4C284D

    oklch(33.9% 0.078 326.1)

  • #552B06

    #552B06

    oklch(33.9% 0.077 55.8)

  • #18421E

    #18421E

    oklch(33.9% 0.077 146.4)

  • #003D58

    #003D58

    oklch(34% 0.073 235.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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