#47227C

Closest named color: Indigo (#4B0082). oklch(35.7% 0.144 297.4), rgb(71, 34, 124).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromavivid (0.144)
Temperaturein between
Nearest nameIndigo (#4B0082)
Black text1.78:1
White text11.74:1

Values

HEX#47227C
RGBrgb(71, 34, 124)
HSLhsl(265, 57%, 31%)
OKLCHoklch(35.7% 0.144 297.4)

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 #47227C 11.74:1 AAA Lc -100.1 Preferred for body text
Black text on #47227C 1.78:1 Fails Lc 7.5 Not readable
#47227C text on white 11.74:1 AAA Lc 96.3 Preferred for body text
#47227C text on black 1.78: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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FD

    oklch(93.6% 0.031 297.7)

  3. Step 200

    200

    #DDD1FD

    oklch(88.4% 0.061 297.6)

  4. Step 300

    300

    #C8B2FE

    oklch(80.9% 0.108 297.2)

  5. Step 400

    400

    #AE85FD

    oklch(70.7% 0.173 297.6)

  6. Step 500

    500

    #9C60FB

    oklch(63.1% 0.221 297.5)

  7. Step 600

    600

    #883FEA

    oklch(55.7% 0.239 297.4)

  8. Step 700

    700

    #732ECB

    oklch(49% 0.222 297.2)

  9. Step 800

    800

    #5E29A4

    oklch(42.7% 0.184 297.6)

  10. Step 900

    900 (this color)

    #47227C

    oklch(35.7% 0.144 297.4)

  11. Step 950

    950

    #2C194C

    oklch(26.9% 0.09 297.1)

Export this scale for Tailwind in the Tailwind colors tool

#47227C 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.094
Deuteranopia (no green cones)#00377A0.094
Tritanopia (no blue cones)#3A384C0.110
Achromatopsia (no color)#3838380.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #47227C

    #47227C

    oklch(35.7% 0.144 297.4)

  • #394100

    #394100

    oklch(35.5% 0.082 117.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #47227C

    #47227C

    oklch(35.7% 0.144 297.4)

  • #1C3186

    #1C3186

    oklch(35.6% 0.144 267.5)

  • #601362

    #601362

    oklch(35.6% 0.144 327)

Open the analogous palette in the generator

Split complementary

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

  • #47227C

    #47227C

    oklch(35.7% 0.144 297.4)

  • #4C3900

    #4C3900

    oklch(35.6% 0.073 87.6)

  • #004A17

    #004A17

    oklch(35.7% 0.105 147.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #47227C

    #47227C

    oklch(35.7% 0.144 297.4)

  • #5D2E00

    #5D2E00

    oklch(35.7% 0.086 56.8)

  • #00473C

    #00473C

    oklch(35.6% 0.066 178)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #47227C

    #47227C

    oklch(35.7% 0.144 297.4)

  • #760208

    #760208

    oklch(35.7% 0.144 27.2)

  • #394100

    #394100

    oklch(35.5% 0.082 117.3)

  • #00454D

    #00454D

    oklch(35.7% 0.061 207.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #47227C 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.