#4B217C

Closest named color: Indigo (#4B0082). oklch(36% 0.145 300.2), rgb(75, 33, 124).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromavivid (0.145)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.80:1
White text11.61:1

Values

HEX#4B217C
RGBrgb(75, 33, 124)
HSLhsl(268, 58%, 31%)
OKLCHoklch(36% 0.145 300.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 #4B217C 11.61:1 AAA Lc -99.8 Preferred for body text
Black text on #4B217C 1.80:1 Fails Lc 7.8 Not readable
#4B217C text on white 11.61:1 AAA Lc 96.0 Preferred for body text
#4B217C text on black 1.80: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FC

    oklch(93.7% 0.03 300.3)

  3. Step 200

    200

    #DFD1FC

    oklch(88.6% 0.06 300)

  4. Step 300

    300

    #CBB1FD

    oklch(81% 0.109 299.7)

  5. Step 400

    400

    #B383FC

    oklch(70.7% 0.175 300.3)

  6. Step 500

    500

    #A15DF9

    oklch(63.1% 0.223 300.1)

  7. Step 600

    600

    #8D3AE8

    oklch(55.5% 0.243 300.1)

  8. Step 700

    700

    #782AC9

    oklch(49% 0.225 300.1)

  9. Step 800

    800

    #6226A3

    oklch(42.8% 0.187 300.3)

  10. Step 900

    900 (this color)

    #4B217C

    oklch(36% 0.145 300.2)

  11. Step 950

    950

    #2E184C

    oklch(27% 0.092 299.7)

Export this scale for Tailwind in the Tailwind colors tool

#4B217C 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)#00387F0.101
Deuteranopia (no green cones)#00387A0.102
Tritanopia (no blue cones)#40374C0.108
Achromatopsia (no color)#3939390.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #4B217C

    #4B217C

    oklch(36% 0.145 300.2)

  • #384300

    #384300

    oklch(36% 0.085 119.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4B217C

    #4B217C

    oklch(36% 0.145 300.2)

  • #233188

    #233188

    oklch(36.1% 0.145 270.3)

  • #641260

    #641260

    oklch(36.1% 0.145 330.3)

Open the analogous palette in the generator

Split complementary

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

  • #4B217C

    #4B217C

    oklch(36% 0.145 300.2)

  • #4C3B00

    #4C3B00

    oklch(36.1% 0.074 90.5)

  • #004B1F

    #004B1F

    oklch(36.1% 0.099 150.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4B217C

    #4B217C

    oklch(36% 0.145 300.2)

  • #5C3000

    #5C3000

    oklch(35.9% 0.084 59.9)

  • #00483F

    #00483F

    oklch(36% 0.065 181)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4B217C

    #4B217C

    oklch(36% 0.145 300.2)

  • #770600

    #770600

    oklch(36.1% 0.144 30.2)

  • #384300

    #384300

    oklch(36% 0.085 119.7)

  • #00464F

    #00464F

    oklch(36.1% 0.062 209.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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