#47227F

Closest named color: Indigo (#4B0082). oklch(35.9% 0.147 296.4), rgb(71, 34, 127).

Aa

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

About this color

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

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

Values

HEX#47227F
RGBrgb(71, 34, 127)
HSLhsl(264, 58%, 32%)
OKLCHoklch(35.9% 0.147 296.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 #47227F 11.64:1 AAA Lc -99.9 Preferred for body text
Black text on #47227F 1.80:1 Fails Lc 7.8 Not readable
#47227F text on white 11.64:1 AAA Lc 96.1 Preferred for body text
#47227F 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

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FD

    oklch(93.6% 0.031 295.8)

  3. Step 200

    200

    #DCD1FE

    oklch(88.4% 0.062 296.3)

  4. Step 300

    300

    #C7B2FF

    oklch(80.9% 0.109 296.4)

  5. Step 400

    400

    #AC86FF

    oklch(70.8% 0.174 296.2)

  6. Step 500

    500

    #9A5FFF

    oklch(63.1% 0.226 296.3)

  7. Step 600

    600

    #873DEE

    oklch(55.7% 0.245 296.5)

  8. Step 700

    700

    #722CCF

    oklch(49.1% 0.228 296.2)

  9. Step 800

    800

    #5D28A7

    oklch(42.7% 0.188 296.5)

  10. Step 900

    900 (this color)

    #47227F

    oklch(35.9% 0.147 296.4)

  11. Step 950

    950

    #2C194E

    oklch(27.1% 0.093 296.1)

Export this scale for Tailwind in the Tailwind colors tool

#47227F 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)#0039820.093
Deuteranopia (no green cones)#00377D0.093
Tritanopia (no blue cones)#38394E0.112
Achromatopsia (no color)#3838380.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #47227F

    #47227F

    oklch(35.9% 0.147 296.4)

  • #3B4200

    #3B4200

    oklch(36% 0.083 116.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #47227F

    #47227F

    oklch(35.9% 0.147 296.4)

  • #193289

    #193289

    oklch(36% 0.148 266.3)

  • #611264

    #611264

    oklch(35.8% 0.147 326.5)

Open the analogous palette in the generator

Split complementary

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

  • #47227F

    #47227F

    oklch(35.9% 0.147 296.4)

  • #4E3A00

    #4E3A00

    oklch(36.1% 0.074 86.8)

  • #004B14

    #004B14

    oklch(35.9% 0.109 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #47227F

    #47227F

    oklch(35.9% 0.147 296.4)

  • #5E2E00

    #5E2E00

    oklch(35.8% 0.087 56.2)

  • #00483C

    #00483C

    oklch(35.9% 0.067 176.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #47227F

    #47227F

    oklch(35.9% 0.147 296.4)

  • #78000A

    #78000A

    oklch(36% 0.147 26.4)

  • #3B4200

    #3B4200

    oklch(36% 0.083 116.3)

  • #00464D

    #00464D

    oklch(36% 0.062 206.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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