#5D345B

Closest named color: Purple Brown (#673A3F). oklch(39.1% 0.082 328.8), rgb(93, 52, 91).

Aa

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

About this color

#5D345B is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.082 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.059 away. White text reads best on it, at 9.96:1.

Hue familyPurples
Lightnessdark (39%)
Chromamoderately saturated (0.082)
Temperaturein between
Nearest namePurple Brown (#673A3F)
Black text2.10:1
White text9.96:1

Values

HEX#5D345B
RGBrgb(93, 52, 91)
HSLhsl(303, 28%, 28%)
OKLCHoklch(39.1% 0.082 328.8)

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 #5D345B 9.96:1 AAA Lc -97.1 Preferred for body text
Black text on #5D345B 2.10:1 Fails Lc 11.0 Not readable
#5D345B text on white 9.96:1 AAA Lc 92.9 Preferred for body text
#5D345B text on black 2.10:1 Fails Lc -9.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

    #F9F4F8

    oklch(97.2% 0.007 332.1)

  2. Step 100

    100

    #F1E6F0

    oklch(93.6% 0.018 328.5)

  3. Step 200

    200

    #E6D2E5

    oklch(88.6% 0.034 327.4)

  4. Step 300

    300

    #D8B3D5

    oklch(81% 0.062 328.8)

  5. Step 400

    400

    #C38ABF

    oklch(70.7% 0.099 329)

  6. Step 500

    500

    #B36CAF

    oklch(63.2% 0.126 329)

  7. Step 600

    600

    #9E529A

    oklch(55.6% 0.137 329.2)

  8. Step 700

    700

    #874284

    oklch(49.1% 0.128 329)

  9. Step 800

    800

    #6D376B

    oklch(42.6% 0.105 328.6)

  10. Step 900

    900 (this color)

    #5D345B

    oklch(39.1% 0.082 328.8)

  11. Step 950

    950

    #341D33

    oklch(27.1% 0.051 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#5D345B 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)#323F5C0.078
Deuteranopia (no green cones)#3C455A0.073
Tritanopia (no blue cones)#6037430.045
Achromatopsia (no color)#4343430.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D345B

    #5D345B

    oklch(39.1% 0.082 328.8)

  • #21512C

    #21512C

    oklch(39.1% 0.081 148.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D345B

    #5D345B

    oklch(39.1% 0.082 328.8)

  • #4C3A6B

    #4C3A6B

    oklch(39.1% 0.083 299.5)

  • #683145

    #683145

    oklch(39.3% 0.082 358.5)

Open the analogous palette in the generator

Split complementary

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

  • #5D345B

    #5D345B

    oklch(39.1% 0.082 328.8)

  • #414B0F

    #414B0F

    oklch(39.1% 0.082 118.7)

  • #005246

    #005246

    oklch(39.3% 0.072 178.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D345B

    #5D345B

    oklch(39.1% 0.082 328.8)

  • #574200

    #574200

    oklch(39.1% 0.08 88)

  • #004F59

    #004F59

    oklch(39.2% 0.068 209.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D345B

    #5D345B

    oklch(39.1% 0.082 328.8)

  • #653910

    #653910

    oklch(39.1% 0.082 58.9)

  • #21512C

    #21512C

    oklch(39.1% 0.081 148.9)

  • #0B4B6C

    #0B4B6C

    oklch(39.2% 0.082 238)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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