#52387C

Closest named color: Dark Slate Blue (#483D8B). oklch(40.5% 0.112 299), rgb(82, 56, 124).

Aa

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

About this color

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

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

Values

HEX#52387C
RGBrgb(82, 56, 124)
HSLhsl(263, 38%, 35%)
OKLCHoklch(40.5% 0.112 299)

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 #52387C 9.47:1 AAA Lc -96.0 Preferred for body text
Black text on #52387C 2.21:1 Fails Lc 12.3 Not readable
#52387C text on white 9.47:1 AAA Lc 91.7 Preferred for body text
#52387C text on black 2.21:1 Fails Lc -10.7 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 800.

  1. Step 50

    50

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EBE7F5

    oklch(93.5% 0.019 299.1)

  3. Step 200

    200

    #DCD4EE

    oklch(88.4% 0.036 299.7)

  4. Step 300

    300

    #C6B8E6

    oklch(80.9% 0.066 298.9)

  5. Step 400

    400

    #A992D9

    oklch(70.7% 0.104 298.6)

  6. Step 500

    500

    #9575CE

    oklch(63% 0.133 299.1)

  7. Step 600

    600

    #805CBB

    oklch(55.5% 0.145 299.1)

  8. Step 700

    700

    #6C4BA2

    oklch(49% 0.136 298.8)

  9. Step 800

    800 (this color)

    #52387C

    oklch(40.5% 0.112 299)

  10. Step 900

    900

    #483669

    oklch(37.8% 0.086 298.5)

  11. Step 950

    950

    #2A203D

    oklch(27% 0.054 298.6)

Export this scale for Tailwind in the Tailwind colors tool

#52387C 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)#1E467E0.078
Deuteranopia (no green cones)#26457A0.071
Tritanopia (no blue cones)#4945540.087
Achromatopsia (no color)#4646460.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #52387C

    #52387C

    oklch(40.5% 0.112 299)

  • #444F00

    #444F00

    oklch(40.4% 0.094 118.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52387C

    #52387C

    oklch(40.5% 0.112 299)

  • #304385

    #304385

    oklch(40.4% 0.113 268.8)

  • #682F66

    #682F66

    oklch(40.4% 0.111 328.7)

Open the analogous palette in the generator

Split complementary

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

  • #52387C

    #52387C

    oklch(40.5% 0.112 299)

  • #5B4600

    #5B4600

    oklch(40.5% 0.083 89.1)

  • #045924

    #045924

    oklch(40.6% 0.112 149.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52387C

    #52387C

    oklch(40.5% 0.112 299)

  • #6E3A00

    #6E3A00

    oklch(40.6% 0.096 59.3)

  • #00564A

    #00564A

    oklch(40.6% 0.074 179.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52387C

    #52387C

    oklch(40.5% 0.112 299)

  • #7A2B23

    #7A2B23

    oklch(40.4% 0.112 28.7)

  • #444F00

    #444F00

    oklch(40.4% 0.094 118.5)

  • #00535D

    #00535D

    oklch(40.5% 0.07 208.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #52387C 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.