#4D148C

Closest named color: Indigo (#4B0082). oklch(36.4% 0.177 298), rgb(77, 20, 140).

Aa

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

About this color

#4D148C is a dark, vivid purple. In OKLCH its lightness is 36%, its chroma 0.177 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Indigo (#4B0082), ΔE 0.028 away. White text reads best on it, at 11.70:1.

Hue familyPurples
Lightnessdark (36%)
Chromavivid (0.177)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.79:1
White text11.70:1

Values

HEX#4D148C
RGBrgb(77, 20, 140)
HSLhsl(268, 75%, 31%)
OKLCHoklch(36.4% 0.177 298)

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 #4D148C 11.70:1 AAA Lc -99.5 Preferred for body text
Black text on #4D148C 1.79:1 Fails Lc 8.3 Not readable
#4D148C text on white 11.70:1 AAA Lc 95.6 Preferred for body text
#4D148C 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

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE5FF

    oklch(93.5% 0.036 298)

  3. Step 200

    200

    #DED1FF

    oklch(88.6% 0.064 298)

  4. Step 300

    300

    #C9B1FF

    oklch(80.9% 0.111 298)

  5. Step 400

    400

    #AF84FF

    oklch(70.7% 0.177 297.9)

  6. Step 500

    500

    #9E5CFF

    oklch(63.1% 0.231 298.1)

  7. Step 600

    600

    #8F1DFF

    oklch(55.6% 0.286 298.1)

  8. Step 700

    700

    #7A00DE

    oklch(49.1% 0.265 298.1)

  9. Step 800

    800

    #6306B7

    oklch(42.7% 0.227 297.7)

  10. Step 900

    900 (this color)

    #4D148C

    oklch(36.4% 0.177 298)

  11. Step 950

    950

    #2F1354

    oklch(27.1% 0.111 298.3)

Export this scale for Tailwind in the Tailwind colors tool

#4D148C 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)#00388F0.109
Deuteranopia (no green cones)#00378A0.109
Tritanopia (no blue cones)#3C38520.133
Achromatopsia (no color)#3838380.178

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D148C

    #4D148C

    oklch(36.4% 0.177 298)

  • #3B4400

    #3B4400

    oklch(36.6% 0.085 117.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D148C

    #4D148C

    oklch(36.4% 0.177 298)

  • #1A2B99

    #1A2B99

    oklch(36.3% 0.177 268.1)

  • #680069

    #680069

    oklch(36.4% 0.168 327.9)

Open the analogous palette in the generator

Split complementary

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

  • #4D148C

    #4D148C

    oklch(36.4% 0.177 298)

  • #4E3B00

    #4E3B00

    oklch(36.3% 0.074 88.2)

  • #004C1A

    #004C1A

    oklch(36.3% 0.105 148.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D148C

    #4D148C

    oklch(36.4% 0.177 298)

  • #5F3000

    #5F3000

    oklch(36.4% 0.087 57.8)

  • #00493E

    #00493E

    oklch(36.3% 0.067 178.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D148C

    #4D148C

    oklch(36.4% 0.177 298)

  • #7A0005

    #7A0005

    oklch(36.4% 0.149 27.8)

  • #3B4400

    #3B4400

    oklch(36.6% 0.085 117.9)

  • #00474F

    #00474F

    oklch(36.4% 0.062 207.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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