#52337D

Closest named color: Dark Slate Blue (#483D8B). oklch(39.6% 0.121 300.3), rgb(82, 51, 125).

Aa

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

About this color

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

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

Values

HEX#52337D
RGBrgb(82, 51, 125)
HSLhsl(265, 42%, 35%)
OKLCHoklch(39.6% 0.121 300.3)

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 #52337D 9.86:1 AAA Lc -96.8 Preferred for body text
Black text on #52337D 2.12:1 Fails Lc 11.4 Not readable
#52337D text on white 9.86:1 AAA Lc 92.6 Preferred for body text
#52337D text on black 2.12:1 Fails Lc -9.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #ECE6F9

    oklch(93.5% 0.026 300.3)

  3. Step 200

    200

    #DED2F6

    oklch(88.5% 0.051 300.6)

  4. Step 300

    300

    #CAB4F3

    oklch(81% 0.09 300.4)

  5. Step 400

    400

    #AF89ED

    oklch(70.6% 0.146 300.2)

  6. Step 500

    500

    #9D68E7

    oklch(63.1% 0.186 300.4)

  7. Step 600

    600

    #884BD5

    oklch(55.5% 0.203 300.1)

  8. Step 700

    700

    #743BB9

    oklch(49.1% 0.189 300.2)

  9. Step 800

    800

    #5E3295

    oklch(42.6% 0.155 300.3)

  10. Step 900

    900 (this color)

    #52337D

    oklch(39.6% 0.121 300.3)

  11. Step 950

    950

    #2D1B46

    oklch(27% 0.078 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#52337D 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)#11437F0.090
Deuteranopia (no green cones)#1E437B0.082
Tritanopia (no blue cones)#4942530.092
Achromatopsia (no color)#4343430.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #52337D

    #52337D

    oklch(39.6% 0.121 300.3)

  • #404E00

    #404E00

    oklch(39.7% 0.095 120.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52337D

    #52337D

    oklch(39.6% 0.121 300.3)

  • #2F3F87

    #2F3F87

    oklch(39.6% 0.121 270.5)

  • #692965

    #692965

    oklch(39.7% 0.121 330.1)

Open the analogous palette in the generator

Split complementary

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

  • #52337D

    #52337D

    oklch(39.6% 0.121 300.3)

  • #574400

    #574400

    oklch(39.6% 0.081 90.6)

  • #005625

    #005625

    oklch(39.6% 0.108 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52337D

    #52337D

    oklch(39.6% 0.121 300.3)

  • #6A3800

    #6A3800

    oklch(39.6% 0.093 59.7)

  • #005348

    #005348

    oklch(39.6% 0.072 179.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52337D

    #52337D

    oklch(39.6% 0.121 300.3)

  • #7B251A

    #7B251A

    oklch(39.7% 0.121 30.4)

  • #404E00

    #404E00

    oklch(39.7% 0.095 120.7)

  • #00505B

    #00505B

    oklch(39.5% 0.069 210.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #52337D 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.