#52316C

Closest named color: Dark Slate Blue (#483D8B). oklch(38.2% 0.102 308.1), rgb(82, 49, 108).

Aa

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

About this color

#52316C is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.102 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.059 away. White text reads best on it, at 10.42:1.

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

Values

HEX#52316C
RGBrgb(82, 49, 108)
HSLhsl(274, 38%, 31%)
OKLCHoklch(38.2% 0.102 308.1)

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 #52316C 10.42:1 AAA Lc -98.0 Preferred for body text
Black text on #52316C 2.01:1 Fails Lc 10.0 Not readable
#52316C text on white 10.42:1 AAA Lc 93.9 Preferred for body text
#52316C text on black 2.01:1 Fails Lc -8.6 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

    #EEE6F6

    oklch(93.6% 0.023 308.2)

  3. Step 200

    200

    #E1D2EF

    oklch(88.5% 0.042 308.6)

  4. Step 300

    300

    #CEB4E7

    oklch(80.9% 0.076 307.8)

  5. Step 400

    400

    #B68BDB

    oklch(70.7% 0.122 308.2)

  6. Step 500

    500

    #A46BD1

    oklch(63% 0.157 308.3)

  7. Step 600

    600

    #8F51BE

    oklch(55.6% 0.17 308.1)

  8. Step 700

    700

    #7A41A4

    oklch(49.2% 0.158 308.2)

  9. Step 800

    800

    #633685

    oklch(42.7% 0.131 308.1)

  10. Step 900

    900 (this color)

    #52316C

    oklch(38.2% 0.102 308.1)

  11. Step 950

    950

    #2F1D3E

    oklch(27% 0.063 307.9)

Export this scale for Tailwind in the Tailwind colors tool

#52316C 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)#203E6E0.082
Deuteranopia (no green cones)#2A406B0.074
Tritanopia (no blue cones)#4E3B490.074
Achromatopsia (no color)#4040400.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #52316C

    #52316C

    oklch(38.2% 0.102 308.1)

  • #334C00

    #334C00

    oklch(38.2% 0.1 128)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #52316C

    #52316C

    oklch(38.2% 0.102 308.1)

  • #373B78

    #373B78

    oklch(38.2% 0.102 277.6)

  • #642A55

    #642A55

    oklch(38.2% 0.101 338.4)

Open the analogous palette in the generator

Split complementary

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

  • #52316C

    #52316C

    oklch(38.2% 0.102 308.1)

  • #4E4300

    #4E4300

    oklch(38.3% 0.079 98.6)

  • #005130

    #005130

    oklch(38.3% 0.09 158)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #52316C

    #52316C

    oklch(38.2% 0.102 308.1)

  • #5F3900

    #5F3900

    oklch(38.2% 0.083 68.7)

  • #004E49

    #004E49

    oklch(38.2% 0.067 187.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #52316C

    #52316C

    oklch(38.2% 0.102 308.1)

  • #6E2B14

    #6E2B14

    oklch(38.1% 0.102 38.7)

  • #334C00

    #334C00

    oklch(38.2% 0.1 128)

  • #004B5B

    #004B5B

    oklch(38.1% 0.069 218.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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