#52184E

Closest named color: Grape Purple (#5D1451). oklch(32.5% 0.112 330.7), rgb(82, 24, 78).

Aa

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

About this color

#52184E is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.112 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.024 away. White text reads best on it, at 13.12:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.59:1
White text13.12:1

Values

HEX#52184E
RGBrgb(82, 24, 78)
HSLhsl(304, 55%, 21%)
OKLCHoklch(32.5% 0.112 330.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 #52184E 13.12:1 AAA Lc -102.1 Preferred for body text
Black text on #52184E 1.59:1 Fails Lc 0.0 Not readable
#52184E text on white 13.12:1 AAA Lc 98.8 Preferred for body text
#52184E text on black 1.59: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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #ECCFE8

    oklch(88.6% 0.046 330.5)

  4. Step 300

    300

    #E1ADDA

    oklch(80.9% 0.085 331)

  5. Step 400

    400

    #D080C7

    oklch(70.8% 0.134 331)

  6. Step 500

    500

    #C15CB9

    oklch(63% 0.172 330.5)

  7. Step 600

    600

    #AC3FA5

    oklch(55.6% 0.186 330.4)

  8. Step 700

    700

    #942F8D

    oklch(49.1% 0.174 330.8)

  9. Step 800

    800

    #782973

    oklch(42.7% 0.143 330.4)

  10. Step 900

    900 (this color)

    #52184E

    oklch(32.5% 0.112 330.7)

  11. Step 950

    950

    #391836

    oklch(27% 0.069 330.8)

Export this scale for Tailwind in the Tailwind colors tool

#52184E 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)#142B500.117
Deuteranopia (no green cones)#28334C0.101
Tritanopia (no blue cones)#551E300.060
Achromatopsia (no color)#3030300.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #52184E

    #52184E

    oklch(32.5% 0.112 330.7)

  • #00401A

    #00401A

    oklch(32.5% 0.088 150.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52184E

    #52184E

    oklch(32.5% 0.112 330.7)

  • #3F2163

    #3F2163

    oklch(32.5% 0.112 301.3)

  • #5E1131

    #5E1131

    oklch(32.5% 0.112 0.8)

Open the analogous palette in the generator

Split complementary

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

  • #52184E

    #52184E

    oklch(32.5% 0.112 330.7)

  • #2F3A00

    #2F3A00

    oklch(32.7% 0.078 120.8)

  • #003E36

    #003E36

    oklch(32.6% 0.059 180.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52184E

    #52184E

    oklch(32.5% 0.112 330.7)

  • #413200

    #413200

    oklch(32.5% 0.066 90.4)

  • #003C44

    #003C44

    oklch(32.6% 0.056 209.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52184E

    #52184E

    oklch(32.5% 0.112 330.7)

  • #4F2900

    #4F2900

    oklch(32.4% 0.076 60.7)

  • #00401A

    #00401A

    oklch(32.5% 0.088 150.6)

  • #003857

    #003857

    oklch(32.6% 0.076 240.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #52184E 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.