#52174A

Closest named color: Grape Purple (#5D1451). oklch(32.2% 0.11 333.7), rgb(82, 23, 74).

Aa

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

About this color

#52174A is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.110 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.027 away. White text reads best on it, at 13.28:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.110)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.58:1
White text13.28:1

Values

HEX#52174A
RGBrgb(82, 23, 74)
HSLhsl(308, 56%, 21%)
OKLCHoklch(32.2% 0.11 333.7)

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 #52174A 13.28:1 AAA Lc -102.3 Preferred for body text
Black text on #52174A 1.58:1 Fails Lc 0.0 Not readable
#52174A text on white 13.28:1 AAA Lc 99.0 Preferred for body text
#52174A text on black 1.58: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 950.

  1. Step 50

    50

    #FDF1FA

    oklch(97% 0.017 334.2)

  2. Step 100

    100

    #FAE1F5

    oklch(93.6% 0.038 332.6)

  3. Step 200

    200

    #F7C8ED

    oklch(88.5% 0.072 333.7)

  4. Step 300

    300

    #F3A0E4

    oklch(80.9% 0.13 333.4)

  5. Step 400

    400

    #E965D6

    oklch(70.7% 0.208 333.5)

  6. Step 500

    500

    #DF23CA

    oklch(63.1% 0.265 333.7)

  7. Step 600

    600

    #C000AE

    oklch(55.6% 0.249 333.6)

  8. Step 700

    700

    #A20093

    oklch(49.1% 0.22 333.5)

  9. Step 800

    800

    #860079

    oklch(42.7% 0.191 333.6)

  10. Step 900

    900

    #710066

    oklch(37.8% 0.169 333.6)

  11. Step 950

    950 (this color)

    #52174A

    oklch(32.2% 0.11 333.7)

Export this scale for Tailwind in the Tailwind colors tool

#52174A 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)#162A4B0.116
Deuteranopia (no green cones)#2A33490.101
Tritanopia (no blue cones)#561C2E0.056
Achromatopsia (no color)#3030300.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #52174A

    #52174A

    oklch(32.2% 0.11 333.7)

  • #003F1E

    #003F1E

    oklch(32.2% 0.083 153.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52174A

    #52174A

    oklch(32.2% 0.11 333.7)

  • #402060

    #402060

    oklch(32.2% 0.11 303.8)

  • #5D112D

    #5D112D

    oklch(32.2% 0.11 3.9)

Open the analogous palette in the generator

Split complementary

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

  • #52174A

    #52174A

    oklch(32.2% 0.11 333.7)

  • #2B3900

    #2B3900

    oklch(32% 0.079 123.5)

  • #003C36

    #003C36

    oklch(32% 0.057 183.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52174A

    #52174A

    oklch(32.2% 0.11 333.7)

  • #3F3200

    #3F3200

    oklch(32.2% 0.066 92.9)

  • #003A45

    #003A45

    oklch(32.1% 0.057 215.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52174A

    #52174A

    oklch(32.2% 0.11 333.7)

  • #4C2A00

    #4C2A00

    oklch(32.2% 0.072 64.8)

  • #003F1E

    #003F1E

    oklch(32.2% 0.083 153.2)

  • #003658

    #003658

    oklch(32.1% 0.079 244)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #52174A 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.