#523A8A

Closest named color: Dark Slate Blue (#483D8B). oklch(41.8% 0.128 294), rgb(82, 58, 138).

Aa

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

About this color

#523A8A is a dark, moderately saturated purple. In OKLCH its lightness is 42%, its chroma 0.128 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.018 away. White text reads best on it, at 9.00:1.

Hue familyPurples
Lightnessdark (42%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.33:1
White text9.00:1

Values

HEX#523A8A
RGBrgb(82, 58, 138)
HSLhsl(258, 41%, 38%)
OKLCHoklch(41.8% 0.128 294)

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 #523A8A 9.00:1 AAA Lc -94.8 Preferred for body text
Black text on #523A8A 2.33:1 Fails Lc 13.6 Not readable
#523A8A text on white 9.00:1 AAA Lc 90.4 Preferred for body text
#523A8A text on black 2.33:1 Fails Lc -11.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 800.

  1. Step 50

    50

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EAE7F7

    oklch(93.5% 0.022 294.6)

  3. Step 200

    200

    #DAD4F3

    oklch(88.4% 0.043 294.4)

  4. Step 300

    300

    #C3B8ED

    oklch(81% 0.075 294.2)

  5. Step 400

    400

    #A591E4

    oklch(70.7% 0.12 294.2)

  6. Step 500

    500

    #9074DC

    oklch(63.2% 0.153 294)

  7. Step 600

    600

    #7B5AC9

    oklch(55.6% 0.166 294.1)

  8. Step 700

    700

    #6849AE

    oklch(49.1% 0.155 294.1)

  9. Step 800

    800 (this color)

    #523A8A

    oklch(41.8% 0.128 294)

  10. Step 900

    900

    #453571

    oklch(37.8% 0.1 293.3)

  11. Step 950

    950

    #281F42

    oklch(26.9% 0.064 293.5)

Export this scale for Tailwind in the Tailwind colors tool

#523A8A 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)#104A8D0.083
Deuteranopia (no green cones)#1948880.079
Tritanopia (no blue cones)#444B5C0.102
Achromatopsia (no color)#4949490.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #523A8A

    #523A8A

    oklch(41.8% 0.128 294)

  • #4C5200

    #4C5200

    oklch(41.9% 0.095 114.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #523A8A

    #523A8A

    oklch(41.8% 0.128 294)

  • #274791

    #274791

    oklch(41.7% 0.128 264.1)

  • #6D2F73

    #6D2F73

    oklch(41.9% 0.127 324)

Open the analogous palette in the generator

Split complementary

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

  • #523A8A

    #523A8A

    oklch(41.8% 0.128 294)

  • #624800

    #624800

    oklch(41.8% 0.086 84.9)

  • #0C5D15

    #0C5D15

    oklch(41.8% 0.128 144)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #523A8A

    #523A8A

    oklch(41.8% 0.128 294)

  • #773900

    #773900

    oklch(41.8% 0.105 53.7)

  • #005A49

    #005A49

    oklch(41.7% 0.079 174.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #523A8A

    #523A8A

    oklch(41.8% 0.128 294)

  • #842728

    #842728

    oklch(41.8% 0.127 24)

  • #4C5200

    #4C5200

    oklch(41.9% 0.095 114.5)

  • #00575E

    #00575E

    oklch(41.7% 0.071 204.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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