#5A3E54

Closest named color: Purple Brown (#673A3F). oklch(40.3% 0.052 334.4), rgb(90, 62, 84).

Aa

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

About this color

#5A3E54 is a dark, muted purple. In OKLCH its lightness is 40%, its chroma 0.052 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.040 away. White text reads best on it, at 9.32:1.

Hue familyPurples
Lightnessdark (40%)
Chromamuted (0.052)
Temperaturein between
Nearest namePurple Brown (#673A3F)
Black text2.25:1
White text9.32:1

Values

HEX#5A3E54
RGBrgb(90, 62, 84)
HSLhsl(313, 18%, 30%)
OKLCHoklch(40.3% 0.052 334.4)

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 #5A3E54 9.32:1 AAA Lc -95.8 Preferred for body text
Black text on #5A3E54 2.25:1 Fails Lc 12.5 Not readable
#5A3E54 text on white 9.32:1 AAA Lc 91.5 Preferred for body text
#5A3E54 text on black 2.25:1 Fails Lc -10.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

    #F7F4F6

    oklch(97% 0.004 337.4)

  2. Step 100

    100

    #EEE8EC

    oklch(93.7% 0.008 337.4)

  3. Step 200

    200

    #E0D5DE

    oklch(88.4% 0.017 331.6)

  4. Step 300

    300

    #CDBAC9

    oklch(80.9% 0.03 332.9)

  5. Step 400

    400

    #B496AD

    oklch(70.7% 0.048 334.3)

  6. Step 500

    500

    #A17C99

    oklch(63.1% 0.061 334)

  7. Step 600

    600

    #8C6583

    oklch(55.7% 0.066 334.9)

  8. Step 700

    700

    #77536F

    oklch(49.1% 0.063 334.7)

  9. Step 800

    800 (this color)

    #5A3E54

    oklch(40.3% 0.052 334.4)

  10. Step 900

    900

    #4F3A4A

    oklch(37.8% 0.039 335)

  11. Step 950

    950

    #2E222C

    oklch(27% 0.025 332)

Export this scale for Tailwind in the Tailwind colors tool

#5A3E54 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)#3E44550.050
Deuteranopia (no green cones)#4548530.046
Tritanopia (no blue cones)#5D3F460.025
Achromatopsia (no color)#4747470.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A3E54

    #5A3E54

    oklch(40.3% 0.052 334.4)

  • #31513C

    #31513C

    oklch(40.3% 0.052 154.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A3E54

    #5A3E54

    oklch(40.3% 0.052 334.4)

  • #4F425F

    #4F425F

    oklch(40.4% 0.05 304.7)

  • #603D45

    #603D45

    oklch(40.3% 0.05 4.6)

Open the analogous palette in the generator

Split complementary

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

  • #5A3E54

    #5A3E54

    oklch(40.3% 0.052 334.4)

  • #424E2E

    #424E2E

    oklch(40.4% 0.053 125.4)

  • #24524C

    #24524C

    oklch(40.4% 0.052 184.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A3E54

    #5A3E54

    oklch(40.3% 0.052 334.4)

  • #524827

    #524827

    oklch(40.3% 0.051 93.1)

  • #23505A

    #23505A

    oklch(40.4% 0.052 214.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A3E54

    #5A3E54

    oklch(40.3% 0.052 334.4)

  • #5C432A

    #5C432A

    oklch(40.4% 0.051 65.5)

  • #31513C

    #31513C

    oklch(40.3% 0.052 154.6)

  • #304C63

    #304C63

    oklch(40.5% 0.052 244.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5A3E54 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.