#523D87

Closest named color: Dark Slate Blue (#483D8B). oklch(42.1% 0.119 293.7), rgb(82, 61, 135).

Aa

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

About this color

#523D87 is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.119 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.019 away. White text reads best on it, at 8.83:1.

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.37:1
White text8.83:1

Values

HEX#523D87
RGBrgb(82, 61, 135)
HSLhsl(257, 38%, 38%)
OKLCHoklch(42.1% 0.119 293.7)

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 #523D87 8.83:1 AAA Lc -94.5 Preferred for body text
Black text on #523D87 2.37:1 Fails Lc 14.0 Not readable
#523D87 text on white 8.83:1 AAA Lc 90.0 Fine for body text
#523D87 text on black 2.37:1 Fails Lc -12.3 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 800.

  1. Step 50

    50

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #EAE8F6

    oklch(93.7% 0.019 292.6)

  3. Step 200

    200

    #DAD5F1

    oklch(88.6% 0.038 293.8)

  4. Step 300

    300

    #C2B9EA

    oklch(81% 0.069 293.2)

  5. Step 400

    400

    #A493DF

    oklch(70.7% 0.11 293.7)

  6. Step 500

    500

    #8F76D6

    oklch(63.1% 0.142 293.9)

  7. Step 600

    600

    #7A5DC4

    oklch(55.7% 0.155 293.7)

  8. Step 700

    700

    #674CA9

    oklch(49.2% 0.143 293.9)

  9. Step 800

    800 (this color)

    #523D87

    oklch(42.1% 0.119 293.7)

  10. Step 900

    900

    #45366D

    oklch(37.7% 0.092 294.1)

  11. Step 950

    950

    #282040

    oklch(27% 0.059 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#523D87 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)#1D4B8A0.074
Deuteranopia (no green cones)#2249850.070
Tritanopia (no blue cones)#454C5C0.095
Achromatopsia (no color)#4A4A4A0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #523D87

    #523D87

    oklch(42.1% 0.119 293.7)

  • #4D5200

    #4D5200

    oklch(42% 0.094 113.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #523D87

    #523D87

    oklch(42.1% 0.119 293.7)

  • #2A498E

    #2A498E

    oklch(42.1% 0.12 263.8)

  • #6C3372

    #6C3372

    oklch(42.2% 0.119 323.7)

Open the analogous palette in the generator

Split complementary

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

  • #523D87

    #523D87

    oklch(42.1% 0.119 293.7)

  • #644800

    #644800

    oklch(42.1% 0.087 83)

  • #195D1C

    #195D1C

    oklch(42.1% 0.119 143.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #523D87

    #523D87

    oklch(42.1% 0.119 293.7)

  • #783A00

    #783A00

    oklch(42.1% 0.106 54.1)

  • #005B4A

    #005B4A

    oklch(42% 0.08 174.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #523D87

    #523D87

    oklch(42.1% 0.119 293.7)

  • #822C2C

    #822C2C

    oklch(42.1% 0.119 23.7)

  • #4D5200

    #4D5200

    oklch(42% 0.094 113.8)

  • #00585F

    #00585F

    oklch(42% 0.072 204.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #523D87 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.