#4D175A

Closest named color: Plum Purple (#4E0550). oklch(32.4% 0.122 319.2), rgb(77, 23, 90).

Aa

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

About this color

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

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

Values

HEX#4D175A
RGBrgb(77, 23, 90)
HSLhsl(288, 59%, 22%)
OKLCHoklch(32.4% 0.122 319.2)

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 #4D175A 13.24:1 AAA Lc -102.2 Preferred for body text
Black text on #4D175A 1.58:1 Fails Lc 0.0 Not readable
#4D175A text on white 13.24:1 AAA Lc 98.9 Preferred for body text
#4D175A 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 900.

  1. Step 50

    50

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEF

    oklch(88.5% 0.051 318.8)

  4. Step 300

    300

    #DBAEE6

    oklch(80.9% 0.091 319.6)

  5. Step 400

    400

    #C781DA

    oklch(70.7% 0.146 318.9)

  6. Step 500

    500

    #B85CCF

    oklch(63% 0.187 319.2)

  7. Step 600

    600

    #A43EBC

    oklch(55.7% 0.203 319.4)

  8. Step 700

    700

    #8C2EA2

    oklch(49.1% 0.189 319.3)

  9. Step 800

    800

    #722884

    oklch(42.7% 0.157 319.1)

  10. Step 900

    900 (this color)

    #4D175A

    oklch(32.4% 0.122 319.2)

  11. Step 950

    950

    #36183E

    oklch(27.1% 0.077 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#4D175A 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)#002C5C0.122
Deuteranopia (no green cones)#1C32580.105
Tritanopia (no blue cones)#4D24360.077
Achromatopsia (no color)#3030300.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D175A

    #4D175A

    oklch(32.4% 0.122 319.2)

  • #113F00

    #113F00

    oklch(32.3% 0.102 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D175A

    #4D175A

    oklch(32.4% 0.122 319.2)

  • #35236D

    #35236D

    oklch(32.5% 0.122 289)

  • #5D0C3D

    #5D0C3D

    oklch(32.4% 0.122 349.5)

Open the analogous palette in the generator

Split complementary

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

  • #4D175A

    #4D175A

    oklch(32.4% 0.122 319.2)

  • #373600

    #373600

    oklch(32.3% 0.07 108.6)

  • #003E2E

    #003E2E

    oklch(32.3% 0.065 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D175A

    #4D175A

    oklch(32.4% 0.122 319.2)

  • #462F00

    #462F00

    oklch(32.4% 0.067 79.2)

  • #003C3E

    #003C3E

    oklch(32.3% 0.055 198.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D175A

    #4D175A

    oklch(32.4% 0.122 319.2)

  • #552300

    #552300

    oklch(32.3% 0.086 49.4)

  • #113F00

    #113F00

    oklch(32.3% 0.102 139.1)

  • #00394E

    #00394E

    oklch(32.3% 0.064 230.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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