#5C2E54

Closest named color: Grape Purple (#5D1451). oklch(37.6% 0.086 334), rgb(92, 46, 84).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.97:1
White text10.63:1

Values

HEX#5C2E54
RGBrgb(92, 46, 84)
HSLhsl(310, 33%, 27%)
OKLCHoklch(37.6% 0.086 334)

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 #5C2E54 10.63:1 AAA Lc -98.4 Preferred for body text
Black text on #5C2E54 1.97:1 Fails Lc 9.5 Not readable
#5C2E54 text on white 10.63:1 AAA Lc 94.4 Preferred for body text
#5C2E54 text on black 1.97:1 Fails Lc -8.2 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

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D1E3

    oklch(88.6% 0.036 334.5)

  4. Step 300

    300

    #DBB2D2

    oklch(81% 0.064 333.9)

  5. Step 400

    400

    #C888BB

    oklch(70.7% 0.103 334.2)

  6. Step 500

    500

    #B969AA

    oklch(63.2% 0.131 334.3)

  7. Step 600

    600

    #A44E95

    oklch(55.6% 0.144 334.4)

  8. Step 700

    700

    #8C3F7F

    oklch(49.1% 0.133 334.3)

  9. Step 800

    800

    #723468

    oklch(42.7% 0.112 333.8)

  10. Step 900

    900 (this color)

    #5C2E54

    oklch(37.6% 0.086 334)

  11. Step 950

    950

    #361C31

    oklch(27.1% 0.053 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#5C2E54 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)#2E3A550.086
Deuteranopia (no green cones)#3A41530.079
Tritanopia (no blue cones)#60303D0.043
Achromatopsia (no color)#3E3E3E0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C2E54

    #5C2E54

    oklch(37.6% 0.086 334)

  • #0F4E2B

    #0F4E2B

    oklch(37.6% 0.086 153.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C2E54

    #5C2E54

    oklch(37.6% 0.086 334)

  • #4B3466

    #4B3466

    oklch(37.5% 0.086 303.8)

  • #662B3C

    #662B3C

    oklch(37.7% 0.087 4.1)

Open the analogous palette in the generator

Split complementary

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

  • #5C2E54

    #5C2E54

    oklch(37.6% 0.086 334)

  • #38490A

    #38490A

    oklch(37.8% 0.087 124.2)

  • #004D45

    #004D45

    oklch(37.7% 0.067 183.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C2E54

    #5C2E54

    oklch(37.6% 0.086 334)

  • #4F4000

    #4F4000

    oklch(37.6% 0.077 93.9)

  • #004A57

    #004A57

    oklch(37.6% 0.066 214.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C2E54

    #5C2E54

    oklch(37.6% 0.086 334)

  • #603600

    #603600

    oklch(37.7% 0.085 64.2)

  • #0F4E2B

    #0F4E2B

    oklch(37.6% 0.086 153.8)

  • #0B456B

    #0B456B

    oklch(37.6% 0.086 243.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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