#5B2F67

Closest named color: Grape Purple (#5D1451). oklch(38.7% 0.104 318.7), rgb(91, 47, 103).

Aa

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

About this color

#5B2F67 is a dark, moderately saturated purple. In OKLCH its lightness is 39%, its chroma 0.104 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.061 away. White text reads best on it, at 10.25:1.

Hue familyPurples
Lightnessdark (39%)
Chromamoderately saturated (0.104)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text2.04:1
White text10.25:1

Values

HEX#5B2F67
RGBrgb(91, 47, 103)
HSLhsl(287, 37%, 29%)
OKLCHoklch(38.7% 0.104 318.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 #5B2F67 10.25:1 AAA Lc -97.6 Preferred for body text
Black text on #5B2F67 2.04:1 Fails Lc 10.4 Not readable
#5B2F67 text on white 10.25:1 AAA Lc 93.5 Preferred for body text
#5B2F67 text on black 2.04:1 Fails Lc -9.0 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F4

    oklch(93.6% 0.024 319.5)

  3. Step 200

    200

    #E6D1EC

    oklch(88.6% 0.043 318.7)

  4. Step 300

    300

    #D7B1E1

    oklch(80.9% 0.078 319.2)

  5. Step 400

    400

    #C286D2

    oklch(70.7% 0.126 319)

  6. Step 500

    500

    #B166C6

    oklch(63.1% 0.159 318.6)

  7. Step 600

    600

    #9D4AB3

    oklch(55.7% 0.174 318.8)

  8. Step 700

    700

    #863B9A

    oklch(49.2% 0.161 318.7)

  9. Step 800

    800

    #6D317D

    oklch(42.7% 0.134 318.7)

  10. Step 900

    900 (this color)

    #5B2F67

    oklch(38.7% 0.104 318.7)

  11. Step 950

    950

    #341B3B

    oklch(27.1% 0.066 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B2F67 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)#243E690.095
Deuteranopia (no green cones)#3242650.084
Tritanopia (no blue cones)#5B37460.066
Achromatopsia (no color)#4141410.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B2F67

    #5B2F67

    oklch(38.7% 0.104 318.7)

  • #235013

    #235013

    oklch(38.5% 0.103 138.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B2F67

    #5B2F67

    oklch(38.7% 0.104 318.7)

  • #433877

    #433877

    oklch(38.6% 0.104 288.6)

  • #6A294D

    #6A294D

    oklch(38.6% 0.103 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #5B2F67

    #5B2F67

    oklch(38.7% 0.104 318.7)

  • #484700

    #484700

    oklch(38.6% 0.084 108.8)

  • #00513D

    #00513D

    oklch(38.7% 0.077 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B2F67

    #5B2F67

    oklch(38.7% 0.104 318.7)

  • #5B3E00

    #5B3E00

    oklch(38.7% 0.08 78.8)

  • #004F51

    #004F51

    oklch(38.8% 0.066 197.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B2F67

    #5B2F67

    oklch(38.7% 0.104 318.7)

  • #6E2F00

    #6E2F00

    oklch(38.6% 0.103 49.1)

  • #235013

    #235013

    oklch(38.5% 0.103 138.8)

  • #004B64

    #004B64

    oklch(38.6% 0.076 228.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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