#52336C

Closest named color: Dark Slate Blue (#483D8B). oklch(38.5% 0.099 307.5), rgb(82, 51, 108).

Aa

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

About this color

#52336C is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.099 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.057 away. White text reads best on it, at 10.24:1.

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

Values

HEX#52336C
RGBrgb(82, 51, 108)
HSLhsl(273, 36%, 31%)
OKLCHoklch(38.5% 0.099 307.5)

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 #52336C 10.24:1 AAA Lc -97.7 Preferred for body text
Black text on #52336C 2.04:1 Fails Lc 10.4 Not readable
#52336C text on white 10.24:1 AAA Lc 93.6 Preferred for body text
#52336C 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

    #E0D2EF

    oklch(88.4% 0.042 307.2)

  4. Step 300

    300

    #CDB4E6

    oklch(80.8% 0.074 307.4)

  5. Step 400

    400

    #B58CDA

    oklch(70.8% 0.119 307.7)

  6. Step 500

    500

    #A26DD0

    oklch(63.1% 0.152 307.3)

  7. Step 600

    600

    #8D53BC

    oklch(55.5% 0.164 307.4)

  8. Step 700

    700

    #7843A3

    oklch(49.2% 0.153 307.1)

  9. Step 800

    800

    #623884

    oklch(42.8% 0.126 307.4)

  10. Step 900

    900 (this color)

    #52336C

    oklch(38.5% 0.099 307.5)

  11. Step 950

    950

    #2F1D3E

    oklch(27% 0.063 307.9)

Export this scale for Tailwind in the Tailwind colors tool

#52336C 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)#23406E0.077
Deuteranopia (no green cones)#2C416B0.070
Tritanopia (no blue cones)#4E3D4A0.072
Achromatopsia (no color)#4141410.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #52336C

    #52336C

    oklch(38.5% 0.099 307.5)

  • #354D02

    #354D02

    oklch(38.6% 0.099 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52336C

    #52336C

    oklch(38.5% 0.099 307.5)

  • #383C77

    #383C77

    oklch(38.4% 0.099 277.7)

  • #642C56

    #642C56

    oklch(38.6% 0.099 337.9)

Open the analogous palette in the generator

Split complementary

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

  • #52336C

    #52336C

    oklch(38.5% 0.099 307.5)

  • #4F4300

    #4F4300

    oklch(38.4% 0.079 97.6)

  • #005230

    #005230

    oklch(38.6% 0.091 157.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52336C

    #52336C

    oklch(38.5% 0.099 307.5)

  • #613900

    #613900

    oklch(38.5% 0.085 67.1)

  • #004F4A

    #004F4A

    oklch(38.5% 0.067 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52336C

    #52336C

    oklch(38.5% 0.099 307.5)

  • #6E2D19

    #6E2D19

    oklch(38.5% 0.098 37.6)

  • #354D02

    #354D02

    oklch(38.6% 0.099 127.4)

  • #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 #52336C, closest first.

Similar named colors

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

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