#4C2671

Closest named color: Royal Purple (#4B006E). oklch(36% 0.125 304.1), rgb(76, 38, 113).

Aa

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

About this color

#4C2671 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.125 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.056 away. White text reads best on it, at 11.51:1.

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.82:1
White text11.51:1

Values

HEX#4C2671
RGBrgb(76, 38, 113)
HSLhsl(270, 50%, 30%)
OKLCHoklch(36% 0.125 304.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 #4C2671 11.51:1 AAA Lc -99.8 Preferred for body text
Black text on #4C2671 1.82:1 Fails Lc 7.8 Not readable
#4C2671 text on white 11.51:1 AAA Lc 96.1 Preferred for body text
#4C2671 text on black 1.82: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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E0D1F6

    oklch(88.4% 0.053 303.7)

  4. Step 300

    300

    #CEB2F2

    oklch(81% 0.093 304.4)

  5. Step 400

    400

    #B587EC

    oklch(70.8% 0.15 303.8)

  6. Step 500

    500

    #A464E6

    oklch(63.2% 0.193 304.1)

  7. Step 600

    600

    #8F46D4

    oklch(55.6% 0.209 303.9)

  8. Step 700

    700

    #7A36B7

    oklch(49.1% 0.194 304.2)

  9. Step 800

    800

    #632E94

    oklch(42.6% 0.161 304.2)

  10. Step 900

    900 (this color)

    #4C2671

    oklch(36% 0.125 304.1)

  11. Step 950

    950

    #2F1A45

    oklch(26.9% 0.079 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#4C2671 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)#0038730.101
Deuteranopia (no green cones)#11396F0.094
Tritanopia (no blue cones)#4536480.091
Achromatopsia (no color)#3939390.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C2671

    #4C2671

    oklch(36% 0.125 304.1)

  • #334400

    #334400

    oklch(35.9% 0.089 124.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C2671

    #4C2671

    oklch(36% 0.125 304.1)

  • #2B327D

    #2B327D

    oklch(35.9% 0.126 274.1)

  • #611B57

    #611B57

    oklch(35.9% 0.125 334.1)

Open the analogous palette in the generator

Split complementary

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

  • #4C2671

    #4C2671

    oklch(36% 0.125 304.1)

  • #4A3C00

    #4A3C00

    oklch(36.1% 0.074 94.1)

  • #004A26

    #004A26

    oklch(35.9% 0.09 154.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C2671

    #4C2671

    oklch(36% 0.125 304.1)

  • #5A3200

    #5A3200

    oklch(36% 0.081 63.8)

  • #004841

    #004841

    oklch(36.1% 0.064 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C2671

    #4C2671

    oklch(36% 0.125 304.1)

  • #701803

    #701803

    oklch(35.9% 0.125 34.1)

  • #334400

    #334400

    oklch(35.9% 0.089 124.1)

  • #004551

    #004551

    oklch(35.9% 0.063 214.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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