#4C2670

Closest named color: Royal Purple (#4B006E). oklch(35.9% 0.124 304.5), rgb(76, 38, 112).

Aa

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

About this color

#4C2670 is a dark, moderately saturated purple. In OKLCH its lightness is 36%, its chroma 0.124 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.54:1.

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

Values

HEX#4C2670
RGBrgb(76, 38, 112)
HSLhsl(271, 49%, 29%)
OKLCHoklch(35.9% 0.124 304.5)

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 #4C2670 11.54:1 AAA Lc -99.9 Preferred for body text
Black text on #4C2670 1.81:1 Fails Lc 7.8 Not readable
#4C2670 text on white 11.54:1 AAA Lc 96.1 Preferred for body text
#4C2670 text on black 1.81: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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EEE6F9

    oklch(93.7% 0.027 304.8)

  3. Step 200

    200

    #E1D1F5

    oklch(88.5% 0.052 305.4)

  4. Step 300

    300

    #CEB2F2

    oklch(81% 0.093 304.4)

  5. Step 400

    400

    #B687EB

    oklch(70.8% 0.149 304.6)

  6. Step 500

    500

    #A464E4

    oklch(63% 0.19 304.6)

  7. Step 600

    600

    #9047D2

    oklch(55.7% 0.206 304.6)

  8. Step 700

    700

    #7A37B6

    oklch(49.1% 0.192 304.3)

  9. Step 800

    800

    #632F93

    oklch(42.7% 0.158 304.3)

  10. Step 900

    900 (this color)

    #4C2670

    oklch(35.9% 0.124 304.5)

  11. Step 950

    950

    #2F1A45

    oklch(26.9% 0.079 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#4C2670 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)#0038720.101
Deuteranopia (no green cones)#13396E0.093
Tritanopia (no blue cones)#4536470.091
Achromatopsia (no color)#3939390.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C2670

    #4C2670

    oklch(35.9% 0.124 304.5)

  • #334400

    #334400

    oklch(35.9% 0.089 124.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C2670

    #4C2670

    oklch(35.9% 0.124 304.5)

  • #2C327C

    #2C327C

    oklch(35.8% 0.124 274.8)

  • #611B56

    #611B56

    oklch(35.8% 0.124 334.8)

Open the analogous palette in the generator

Split complementary

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

  • #4C2670

    #4C2670

    oklch(35.9% 0.124 304.5)

  • #493C00

    #493C00

    oklch(35.9% 0.074 95.2)

  • #004A26

    #004A26

    oklch(35.9% 0.09 154.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C2670

    #4C2670

    oklch(35.9% 0.124 304.5)

  • #593200

    #593200

    oklch(35.8% 0.081 64.6)

  • #004741

    #004741

    oklch(35.8% 0.063 185.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C2670

    #4C2670

    oklch(35.9% 0.124 304.5)

  • #6F1903

    #6F1903

    oklch(35.8% 0.123 34.6)

  • #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 #4C2670, closest first.

Similar named colors

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

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