#4C2A5A

Closest named color: Grape Purple (#5D1451). oklch(35% 0.089 315.3), rgb(76, 42, 90).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.78:1
White text11.75:1

Values

HEX#4C2A5A
RGBrgb(76, 42, 90)
HSLhsl(283, 36%, 26%)
OKLCHoklch(35% 0.089 315.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 #4C2A5A 11.75:1 AAA Lc -100.4 Preferred for body text
Black text on #4C2A5A 1.78:1 Fails Lc 0.0 Not readable
#4C2A5A text on white 11.75:1 AAA Lc 96.8 Preferred for body text
#4C2A5A text on black 1.78: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

    #F8F4FA

    oklch(97.2% 0.009 314.8)

  2. Step 100

    100

    #EFE6F3

    oklch(93.6% 0.02 315.7)

  3. Step 200

    200

    #E3D2EA

    oklch(88.5% 0.037 316.2)

  4. Step 300

    300

    #D1B4DF

    oklch(80.9% 0.067 314.7)

  5. Step 400

    400

    #BA8CCE

    oklch(70.7% 0.106 315.3)

  6. Step 500

    500

    #A96DC2

    oklch(63.1% 0.139 315.4)

  7. Step 600

    600

    #9454AE

    oklch(55.7% 0.149 315.4)

  8. Step 700

    700

    #7E4495

    oklch(49.2% 0.138 315.5)

  9. Step 800

    800

    #663879

    oklch(42.6% 0.115 315.2)

  10. Step 900

    900 (this color)

    #4C2A5A

    oklch(35% 0.089 315.3)

  11. Step 950

    950

    #311D39

    oklch(27% 0.057 315.8)

Export this scale for Tailwind in the Tailwind colors tool

#4C2A5A 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)#20365C0.077
Deuteranopia (no green cones)#2A39590.070
Tritanopia (no blue cones)#4B313E0.058
Achromatopsia (no color)#3838380.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C2A5A

    #4C2A5A

    oklch(35% 0.089 315.3)

  • #24440E

    #24440E

    oklch(34.9% 0.089 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C2A5A

    #4C2A5A

    oklch(35% 0.089 315.3)

  • #373267

    #373267

    oklch(35.1% 0.09 285.1)

  • #5A2445

    #5A2445

    oklch(35% 0.09 345.1)

Open the analogous palette in the generator

Split complementary

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

  • #4C2A5A

    #4C2A5A

    oklch(35% 0.089 315.3)

  • #403C00

    #403C00

    oklch(34.9% 0.074 105.4)

  • #004631

    #004631

    oklch(34.9% 0.073 165.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C2A5A

    #4C2A5A

    oklch(35% 0.089 315.3)

  • #513400

    #513400

    oklch(35.1% 0.074 74.8)

  • #004444

    #004444

    oklch(35% 0.06 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C2A5A

    #4C2A5A

    oklch(35% 0.089 315.3)

  • #5F280A

    #5F280A

    oklch(35% 0.09 45.2)

  • #24440E

    #24440E

    oklch(34.9% 0.089 135.3)

  • #004155

    #004155

    oklch(35% 0.067 226.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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