#5B345F

Closest named color: Purple Brown (#673A3F). oklch(39.1% 0.085 323.6), rgb(91, 52, 95).

Aa

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

About this color

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

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

Values

HEX#5B345F
RGBrgb(91, 52, 95)
HSLhsl(294, 29%, 29%)
OKLCHoklch(39.1% 0.085 323.6)

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 #5B345F 9.99:1 AAA Lc -97.1 Preferred for body text
Black text on #5B345F 2.10:1 Fails Lc 10.9 Not readable
#5B345F text on white 9.99:1 AAA Lc 93.0 Preferred for body text
#5B345F text on black 2.10:1 Fails Lc -9.5 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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #F0E6F1

    oklch(93.6% 0.018 323)

  3. Step 200

    200

    #E5D2E7

    oklch(88.5% 0.035 322.9)

  4. Step 300

    300

    #D6B3D9

    oklch(80.9% 0.065 323.6)

  5. Step 400

    400

    #C08BC5

    oklch(70.8% 0.101 323.6)

  6. Step 500

    500

    #AF6CB6

    oklch(63% 0.13 323.6)

  7. Step 600

    600

    #9A52A2

    oklch(55.5% 0.143 323.5)

  8. Step 700

    700

    #84438B

    oklch(49.2% 0.132 323.6)

  9. Step 800

    800

    #6B3771

    oklch(42.7% 0.11 323.3)

  10. Step 900

    900 (this color)

    #5B345F

    oklch(39.1% 0.085 323.6)

  11. Step 950

    950

    #331D35

    oklch(27% 0.053 323.9)

Export this scale for Tailwind in the Tailwind colors tool

#5B345F 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)#2F3F610.078
Deuteranopia (no green cones)#3A445E0.070
Tritanopia (no blue cones)#5D39450.051
Achromatopsia (no color)#4242420.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B345F

    #5B345F

    oklch(39.1% 0.085 323.6)

  • #265125

    #265125

    oklch(39.2% 0.086 143.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B345F

    #5B345F

    oklch(39.1% 0.085 323.6)

  • #483B6E

    #483B6E

    oklch(39.1% 0.085 293.8)

  • #673049

    #673049

    oklch(39.1% 0.085 353.2)

Open the analogous palette in the generator

Split complementary

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

  • #5B345F

    #5B345F

    oklch(39.1% 0.085 323.6)

  • #454A04

    #454A04

    oklch(39.1% 0.086 114.2)

  • #005242

    #005242

    oklch(39.1% 0.075 173.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B345F

    #5B345F

    oklch(39.1% 0.085 323.6)

  • #5A4100

    #5A4100

    oklch(39.2% 0.081 83.7)

  • #004F55

    #004F55

    oklch(39% 0.066 203.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B345F

    #5B345F

    oklch(39.1% 0.085 323.6)

  • #683711

    #683711

    oklch(39.2% 0.086 54.1)

  • #265125

    #265125

    oklch(39.2% 0.086 143.3)

  • #004C6A

    #004C6A

    oklch(39.2% 0.081 233.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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