#4C2E4B

Closest named color: Onyx (#343A40). oklch(35% 0.063 328), rgb(76, 46, 75).

Aa

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

About this color

#4C2E4B is a dark, muted purple. In OKLCH its lightness is 35%, its chroma 0.063 and its hue 328°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.062 away. White text reads best on it, at 11.66:1.

Hue familyPurples
Lightnessdark (35%)
Chromamuted (0.063)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.79:1
White text11.66:1

Values

HEX#4C2E4B
RGBrgb(76, 46, 75)
HSLhsl(302, 25%, 24%)
OKLCHoklch(35% 0.063 328)

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 #4C2E4B 11.66:1 AAA Lc -100.4 Preferred for body text
Black text on #4C2E4B 1.79:1 Fails Lc 0.0 Not readable
#4C2E4B text on white 11.66:1 AAA Lc 96.7 Preferred for body text
#4C2E4B text on black 1.79: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

    #EFE7EE

    oklch(93.6% 0.013 329.6)

  3. Step 200

    200

    #E3D3E2

    oklch(88.4% 0.027 327.7)

  4. Step 300

    300

    #D2B6D0

    oklch(80.8% 0.047 328.3)

  5. Step 400

    400

    #BB90B9

    oklch(70.7% 0.076 327.9)

  6. Step 500

    500

    #A974A7

    oklch(63.1% 0.096 327.9)

  7. Step 600

    600

    #945C92

    oklch(55.6% 0.104 328.1)

  8. Step 700

    700

    #7E4B7D

    oklch(49% 0.099 327.6)

  9. Step 800

    800

    #673E65

    oklch(42.7% 0.081 328.6)

  10. Step 900

    900 (this color)

    #4C2E4B

    oklch(35% 0.063 328)

  11. Step 950

    950

    #311F30

    oklch(26.9% 0.04 328.5)

Export this scale for Tailwind in the Tailwind colors tool

#4C2E4B 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)#2C364C0.059
Deuteranopia (no green cones)#343A4A0.054
Tritanopia (no blue cones)#4E31390.036
Achromatopsia (no color)#3838380.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C2E4B

    #4C2E4B

    oklch(35% 0.063 328)

  • #214327

    #214327

    oklch(34.8% 0.063 148.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C2E4B

    #4C2E4B

    oklch(35% 0.063 328)

  • #3E3357

    #3E3357

    oklch(35% 0.063 297.1)

  • #542C3A

    #542C3A

    oklch(35% 0.062 358.4)

Open the analogous palette in the generator

Split complementary

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

  • #4C2E4B

    #4C2E4B

    oklch(35% 0.063 328)

  • #383F15

    #383F15

    oklch(35.1% 0.063 117.7)

  • #03453A

    #03453A

    oklch(35% 0.063 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C2E4B

    #4C2E4B

    oklch(35% 0.063 328)

  • #48380C

    #48380C

    oklch(34.9% 0.063 87.9)

  • #00434B

    #00434B

    oklch(35% 0.06 208.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C2E4B

    #4C2E4B

    oklch(35% 0.063 328)

  • #533116

    #533116

    oklch(34.9% 0.064 57)

  • #214327

    #214327

    oklch(34.8% 0.063 148.2)

  • #143F57

    #143F57

    oklch(35% 0.063 237.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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