#472168

Closest named color: Royal Purple (#4B006E). oklch(33.9% 0.121 305.5), rgb(71, 33, 104).

Aa

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

About this color

#472168 is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.121 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Royal Purple (#4B006E), ΔE 0.047 away. White text reads best on it, at 12.46:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameRoyal Purple (#4B006E)
Black text1.68:1
White text12.46:1

Values

HEX#472168
RGBrgb(71, 33, 104)
HSLhsl(272, 52%, 27%)
OKLCHoklch(33.9% 0.121 305.5)

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 #472168 12.46:1 AAA Lc -101.3 Preferred for body text
Black text on #472168 1.68:1 Fails Lc 0.0 Not readable
#472168 text on white 12.46:1 AAA Lc 97.8 Preferred for body text
#472168 text on black 1.68: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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EEE6F8

    oklch(93.6% 0.025 305.8)

  3. Step 200

    200

    #E1D1F4

    oklch(88.4% 0.05 306)

  4. Step 300

    300

    #CEB2F0

    oklch(80.9% 0.091 305.1)

  5. Step 400

    400

    #B687E8

    oklch(70.7% 0.145 305.3)

  6. Step 500

    500

    #A565E1

    oklch(63.1% 0.186 305.6)

  7. Step 600

    600

    #9048CE

    oklch(55.5% 0.201 305.5)

  8. Step 700

    700

    #7B38B3

    oklch(49.1% 0.187 305.5)

  9. Step 800

    800

    #643091

    oklch(42.8% 0.155 305.4)

  10. Step 900

    900 (this color)

    #472168

    oklch(33.9% 0.121 305.5)

  11. Step 950

    950

    #301B44

    oklch(27.2% 0.076 305.6)

Export this scale for Tailwind in the Tailwind colors tool

#472168 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)#00336A0.099
Deuteranopia (no green cones)#0F34660.092
Tritanopia (no blue cones)#4130410.087
Achromatopsia (no color)#3434340.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #472168

    #472168

    oklch(33.9% 0.121 305.5)

  • #2D3F00

    #2D3F00

    oklch(33.9% 0.086 125.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #472168

    #472168

    oklch(33.9% 0.121 305.5)

  • #292D74

    #292D74

    oklch(33.9% 0.12 275.5)

  • #5B174F

    #5B174F

    oklch(34% 0.12 335.8)

Open the analogous palette in the generator

Split complementary

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

  • #472168

    #472168

    oklch(33.9% 0.121 305.5)

  • #433700

    #433700

    oklch(34% 0.07 95.4)

  • #004424

    #004424

    oklch(34% 0.083 155.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #472168

    #472168

    oklch(33.9% 0.121 305.5)

  • #522E00

    #522E00

    oklch(33.9% 0.076 65.1)

  • #00413C

    #00413C

    oklch(33.8% 0.059 186.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #472168

    #472168

    oklch(33.9% 0.121 305.5)

  • #671600

    #671600

    oklch(33.9% 0.118 35.4)

  • #2D3F00

    #2D3F00

    oklch(33.9% 0.086 125.7)

  • #003F4B

    #003F4B

    oklch(33.9% 0.06 215.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #472168 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.