#52396F

Closest named color: Dark Slate Blue (#483D8B). oklch(39.8% 0.092 303.9), rgb(82, 57, 111).

Aa

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

About this color

#52396F is a dark, moderately saturated purple. In OKLCH its lightness is 40%, its chroma 0.092 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.050 away. White text reads best on it, at 9.66:1.

Hue familyPurples
Lightnessdark (40%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.17:1
White text9.66:1

Values

HEX#52396F
RGBrgb(82, 57, 111)
HSLhsl(268, 32%, 33%)
OKLCHoklch(39.8% 0.092 303.9)

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 #52396F 9.66:1 AAA Lc -96.5 Preferred for body text
Black text on #52396F 2.17:1 Fails Lc 11.7 Not readable
#52396F text on white 9.66:1 AAA Lc 92.2 Preferred for body text
#52396F text on black 2.17:1 Fails Lc -10.2 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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DED3EE

    oklch(88.4% 0.038 304)

  4. Step 300

    300

    #CAB6E6

    oklch(80.9% 0.07 303.8)

  5. Step 400

    400

    #AF8FD9

    oklch(70.7% 0.111 303.6)

  6. Step 500

    500

    #9C71CE

    oklch(63% 0.141 304)

  7. Step 600

    600

    #8758BB

    oklch(55.6% 0.153 303.8)

  8. Step 700

    700

    #7347A1

    oklch(49.1% 0.143 304.2)

  9. Step 800

    800

    #5D3B83

    oklch(42.7% 0.119 303.6)

  10. Step 900

    900 (this color)

    #52396F

    oklch(39.8% 0.092 303.9)

  11. Step 950

    950

    #2D1E3D

    oklch(26.9% 0.059 305.1)

Export this scale for Tailwind in the Tailwind colors tool

#52396F 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)#2A44710.066
Deuteranopia (no green cones)#30456E0.061
Tritanopia (no blue cones)#4D424E0.069
Achromatopsia (no color)#4545450.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #52396F

    #52396F

    oklch(39.8% 0.092 303.9)

  • #3D4F0B

    #3D4F0B

    oklch(39.8% 0.092 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52396F

    #52396F

    oklch(39.8% 0.092 303.9)

  • #384278

    #384278

    oklch(39.8% 0.092 273.6)

  • #64325B

    #64325B

    oklch(39.8% 0.092 334.3)

Open the analogous palette in the generator

Split complementary

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

  • #52396F

    #52396F

    oklch(39.8% 0.092 303.9)

  • #564600

    #564600

    oklch(39.9% 0.082 94)

  • #10552F

    #10552F

    oklch(39.8% 0.092 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52396F

    #52396F

    oklch(39.8% 0.092 303.9)

  • #683B00

    #683B00

    oklch(39.9% 0.09 64.3)

  • #00534B

    #00534B

    oklch(39.7% 0.07 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52396F

    #52396F

    oklch(39.8% 0.092 303.9)

  • #703224

    #703224

    oklch(39.8% 0.092 34.1)

  • #3D4F0B

    #3D4F0B

    oklch(39.8% 0.092 124)

  • #00505E

    #00505E

    oklch(39.7% 0.07 214.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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