#4C175B

Closest named color: Plum Purple (#4E0550). oklch(32.3% 0.123 317.8), rgb(76, 23, 91).

Aa

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

About this color

#4C175B is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.123 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum Purple (#4E0550), ΔE 0.031 away. White text reads best on it, at 13.28:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest namePlum Purple (#4E0550)
Black text1.58:1
White text13.28:1

Values

HEX#4C175B
RGBrgb(76, 23, 91)
HSLhsl(287, 60%, 22%)
OKLCHoklch(32.3% 0.123 317.8)

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 #4C175B 13.28:1 AAA Lc -102.3 Preferred for body text
Black text on #4C175B 1.58:1 Fails Lc 0.0 Not readable
#4C175B text on white 13.28:1 AAA Lc 99.0 Preferred for body text
#4C175B text on black 1.58: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 950.

  1. Step 50

    50

    #FBF2FE

    oklch(97.2% 0.018 317.7)

  2. Step 100

    100

    #F6E2FD

    oklch(93.7% 0.042 317.4)

  3. Step 200

    200

    #F0C9FC

    oklch(88.5% 0.08 318.2)

  4. Step 300

    300

    #E7A1FD

    oklch(80.8% 0.145 317.9)

  5. Step 400

    400

    #DA65FC

    oklch(70.7% 0.232 318)

  6. Step 500

    500

    #CE19F9

    oklch(63.1% 0.296 317.9)

  7. Step 600

    600

    #AF00D6

    oklch(55.6% 0.27 317.7)

  8. Step 700

    700

    #9400B5

    oklch(49.1% 0.238 317.8)

  9. Step 800

    800

    #7A0096

    oklch(42.7% 0.207 317.7)

  10. Step 900

    900

    #66007E

    oklch(37.6% 0.183 317.6)

  11. Step 950

    950 (this color)

    #4C175B

    oklch(32.3% 0.123 317.8)

Export this scale for Tailwind in the Tailwind colors tool

#4C175B 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)#002C5D0.120
Deuteranopia (no green cones)#1A31590.104
Tritanopia (no blue cones)#4C24370.077
Achromatopsia (no color)#3030300.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C175B

    #4C175B

    oklch(32.3% 0.123 317.8)

  • #153E00

    #153E00

    oklch(32.2% 0.099 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C175B

    #4C175B

    oklch(32.3% 0.123 317.8)

  • #33236D

    #33236D

    oklch(32.3% 0.122 287.4)

  • #5C0C3F

    #5C0C3F

    oklch(32.3% 0.122 347.5)

Open the analogous palette in the generator

Split complementary

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

  • #4C175B

    #4C175B

    oklch(32.3% 0.123 317.8)

  • #373600

    #373600

    oklch(32.3% 0.07 108.6)

  • #003E2D

    #003E2D

    oklch(32.3% 0.066 167.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C175B

    #4C175B

    oklch(32.3% 0.123 317.8)

  • #462E00

    #462E00

    oklch(32.2% 0.067 77.5)

  • #003C3E

    #003C3E

    oklch(32.3% 0.055 198.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C175B

    #4C175B

    oklch(32.3% 0.123 317.8)

  • #562200

    #562200

    oklch(32.3% 0.088 47.9)

  • #153E00

    #153E00

    oklch(32.2% 0.099 137.8)

  • #00394D

    #00394D

    oklch(32.2% 0.063 228.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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