#523168

Closest named color: Dark Slate Blue (#483D8B). oklch(37.9% 0.097 310.2), rgb(82, 49, 104).

Aa

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

About this color

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

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

Values

HEX#523168
RGBrgb(82, 49, 104)
HSLhsl(276, 36%, 30%)
OKLCHoklch(37.9% 0.097 310.2)

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 #523168 10.51:1 AAA Lc -98.2 Preferred for body text
Black text on #523168 1.99:1 Fails Lc 9.8 Not readable
#523168 text on white 10.51:1 AAA Lc 94.2 Preferred for body text
#523168 text on black 1.99:1 Fails Lc -8.4 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EEE6F5

    oklch(93.6% 0.022 309.6)

  3. Step 200

    200

    #E1D2EE

    oklch(88.4% 0.041 309.4)

  4. Step 300

    300

    #CFB4E4

    oklch(80.9% 0.072 310.1)

  5. Step 400

    400

    #B78BD7

    oklch(70.6% 0.118 310.1)

  6. Step 500

    500

    #A56DCC

    oklch(63.2% 0.148 310)

  7. Step 600

    600

    #9052B8

    oklch(55.5% 0.162 310.2)

  8. Step 700

    700

    #7B429F

    oklch(49.1% 0.151 310.3)

  9. Step 800

    800

    #643781

    oklch(42.7% 0.125 310.2)

  10. Step 900

    900 (this color)

    #523168

    oklch(37.9% 0.097 310.2)

  11. Step 950

    950

    #301D3D

    oklch(27.1% 0.062 310.2)

Export this scale for Tailwind in the Tailwind colors tool

#523168 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)#233E6A0.079
Deuteranopia (no green cones)#2D40670.071
Tritanopia (no blue cones)#4F3A470.069
Achromatopsia (no color)#3F3F3F0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #523168

    #523168

    oklch(37.9% 0.097 310.2)

  • #304C07

    #304C07

    oklch(38% 0.097 130.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #523168

    #523168

    oklch(37.9% 0.097 310.2)

  • #393A74

    #393A74

    oklch(37.9% 0.097 280)

  • #632A52

    #632A52

    oklch(37.9% 0.098 340.3)

Open the analogous palette in the generator

Split complementary

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

  • #523168

    #523168

    oklch(37.9% 0.097 310.2)

  • #4C4300

    #4C4300

    oklch(38% 0.079 100.7)

  • #005032

    #005032

    oklch(38.1% 0.086 159.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #523168

    #523168

    oklch(37.9% 0.097 310.2)

  • #5D3900

    #5D3900

    oklch(37.9% 0.082 70.4)

  • #004D4A

    #004D4A

    oklch(37.9% 0.065 190.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #523168

    #523168

    oklch(37.9% 0.097 310.2)

  • #6B2C14

    #6B2C14

    oklch(37.8% 0.097 40.2)

  • #304C07

    #304C07

    oklch(38% 0.097 130.3)

  • #004A5B

    #004A5B

    oklch(37.8% 0.069 219.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #523168 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.