#52173D

Closest named color: Grape Purple (#5D1451). oklch(31.5% 0.099 344.7), rgb(82, 23, 61).

Aa

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

About this color

#52173D is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.099 and its hue 345°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.042 away. White text reads best on it, at 13.55:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.54:1
White text13.55:1

Values

HEX#52173D
RGBrgb(82, 23, 61)
HSLhsl(321, 56%, 21%)
OKLCHoklch(31.5% 0.099 344.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 #52173D 13.55:1 AAA Lc -102.7 Preferred for body text
Black text on #52173D 1.54:1 Fails Lc 0.0 Not readable
#52173D text on white 13.55:1 AAA Lc 99.4 Preferred for body text
#52173D text on black 1.54: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

    #FEF1F8

    oklch(97% 0.017 343.6)

  2. Step 100

    100

    #FCE1EF

    oklch(93.6% 0.035 345.1)

  3. Step 200

    200

    #FAC9E3

    oklch(88.6% 0.065 345.3)

  4. Step 300

    300

    #F7A1D2

    oklch(80.8% 0.118 344.9)

  5. Step 400

    400

    #EE68BC

    oklch(70.7% 0.189 344.5)

  6. Step 500

    500

    #E42FAA

    oklch(63% 0.24 344.8)

  7. Step 600

    600

    #C80093

    oklch(55.6% 0.237 344.5)

  8. Step 700

    700

    #A9007B

    oklch(49% 0.209 344.8)

  9. Step 800

    800

    #8C0065

    oklch(42.7% 0.182 344.9)

  10. Step 900

    900

    #750554

    oklch(37.7% 0.156 345)

  11. Step 950

    950 (this color)

    #52173D

    oklch(31.5% 0.099 344.7)

Export this scale for Tailwind in the Tailwind colors tool

#52173D 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)#1D283E0.109
Deuteranopia (no green cones)#2E323C0.097
Tritanopia (no blue cones)#5816270.042
Achromatopsia (no color)#2E2E2E0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #52173D

    #52173D

    oklch(31.5% 0.099 344.7)

  • #003C29

    #003C29

    oklch(31.6% 0.066 164.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52173D

    #52173D

    oklch(31.5% 0.099 344.7)

  • #441E53

    #441E53

    oklch(31.5% 0.099 315.3)

  • #591521

    #591521

    oklch(31.5% 0.099 14.9)

Open the analogous palette in the generator

Split complementary

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

  • #52173D

    #52173D

    oklch(31.5% 0.099 344.7)

  • #1B3B00

    #1B3B00

    oklch(31.5% 0.092 134.8)

  • #003A3A

    #003A3A

    oklch(31.5% 0.054 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52173D

    #52173D

    oklch(31.5% 0.099 344.7)

  • #373300

    #373300

    oklch(31.5% 0.067 104.8)

  • #003748

    #003748

    oklch(31.4% 0.06 225.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52173D

    #52173D

    oklch(31.5% 0.099 344.7)

  • #452C00

    #452C00

    oklch(31.6% 0.067 75.3)

  • #003C29

    #003C29

    oklch(31.6% 0.066 164.9)

  • #033162

    #033162

    oklch(31.6% 0.099 254.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #52173D 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.