#52336B

Closest named color: Dark Slate Blue (#483D8B). oklch(38.4% 0.097 308), rgb(82, 51, 107).

Aa

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

About this color

#52336B is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.097 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.058 away. White text reads best on it, at 10.27:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.04:1
White text10.27:1

Values

HEX#52336B
RGBrgb(82, 51, 107)
HSLhsl(273, 35%, 31%)
OKLCHoklch(38.4% 0.097 308)

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 #52336B 10.27:1 AAA Lc -97.7 Preferred for body text
Black text on #52336B 2.04:1 Fails Lc 10.3 Not readable
#52336B text on white 10.27:1 AAA Lc 93.6 Preferred for body text
#52336B text on black 2.04:1 Fails Lc -8.9 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

    #EEE6F5

    oklch(93.6% 0.022 309.6)

  3. Step 200

    200

    #E0D2EE

    oklch(88.4% 0.041 307.9)

  4. Step 300

    300

    #CEB4E6

    oklch(80.9% 0.075 308.3)

  5. Step 400

    400

    #B58CD9

    oklch(70.7% 0.118 308.1)

  6. Step 500

    500

    #A36DCE

    oklch(63.1% 0.15 308.4)

  7. Step 600

    600

    #8E53BB

    oklch(55.6% 0.163 308.2)

  8. Step 700

    700

    #7943A1

    oklch(49.1% 0.151 308.3)

  9. Step 800

    800

    #623883

    oklch(42.8% 0.125 307.8)

  10. Step 900

    900 (this color)

    #52336B

    oklch(38.4% 0.097 308)

  11. Step 950

    950

    #2F1D3D

    oklch(27% 0.062 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#52336B 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)#243F6D0.076
Deuteranopia (no green cones)#2D416A0.069
Tritanopia (no blue cones)#4E3C4A0.069
Achromatopsia (no color)#4141410.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #52336B

    #52336B

    oklch(38.4% 0.097 308)

  • #344D04

    #344D04

    oklch(38.5% 0.098 128.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52336B

    #52336B

    oklch(38.4% 0.097 308)

  • #383C76

    #383C76

    oklch(38.4% 0.097 277.8)

  • #632C55

    #632C55

    oklch(38.4% 0.097 338)

Open the analogous palette in the generator

Split complementary

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

  • #52336B

    #52336B

    oklch(38.4% 0.097 308)

  • #4F4300

    #4F4300

    oklch(38.4% 0.079 97.6)

  • #005130

    #005130

    oklch(38.3% 0.09 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52336B

    #52336B

    oklch(38.4% 0.097 308)

  • #603900

    #603900

    oklch(38.3% 0.084 67.9)

  • #004F4A

    #004F4A

    oklch(38.5% 0.067 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52336B

    #52336B

    oklch(38.4% 0.097 308)

  • #6E2D19

    #6E2D19

    oklch(38.5% 0.098 37.6)

  • #344D04

    #344D04

    oklch(38.5% 0.098 128.2)

  • #004C5C

    #004C5C

    oklch(38.5% 0.069 218.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #52336B 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.