#5C2E6E

Closest named color: Grape Purple (#5D1451). oklch(39.1% 0.114 315.6), rgb(92, 46, 110).

Aa

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

About this color

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

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

Values

HEX#5C2E6E
RGBrgb(92, 46, 110)
HSLhsl(283, 41%, 31%)
OKLCHoklch(39.1% 0.114 315.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 #5C2E6E 10.13:1 AAA Lc -97.3 Preferred for body text
Black text on #5C2E6E 2.07:1 Fails Lc 10.8 Not readable
#5C2E6E text on white 10.13:1 AAA Lc 93.2 Preferred for body text
#5C2E6E text on black 2.07:1 Fails Lc -9.3 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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #F0E5F5

    oklch(93.5% 0.024 315.5)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D6B0E7

    oklch(80.9% 0.086 315.3)

  5. Step 400

    400

    #C184DA

    oklch(70.6% 0.138 315.7)

  6. Step 500

    500

    #B162D0

    oklch(63% 0.176 315.6)

  7. Step 600

    600

    #9C45BD

    oklch(55.5% 0.191 315.5)

  8. Step 700

    700

    #8636A3

    oklch(49.2% 0.177 315.8)

  9. Step 800

    800

    #6D2E84

    oklch(42.8% 0.147 315.9)

  10. Step 900

    900 (this color)

    #5C2E6E

    oklch(39.1% 0.114 315.6)

  11. Step 950

    950

    #341A3E

    oklch(27.1% 0.072 315.9)

Export this scale for Tailwind in the Tailwind colors tool

#5C2E6E 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)#1E3F700.103
Deuteranopia (no green cones)#2E436C0.091
Tritanopia (no blue cones)#5B38490.075
Achromatopsia (no color)#4141410.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C2E6E

    #5C2E6E

    oklch(39.1% 0.114 315.6)

  • #265201

    #265201

    oklch(39.1% 0.115 135.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C2E6E

    #5C2E6E

    oklch(39.1% 0.114 315.6)

  • #41387F

    #41387F

    oklch(39% 0.116 285.5)

  • #6E2652

    #6E2652

    oklch(39.1% 0.115 346)

Open the analogous palette in the generator

Split complementary

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

  • #5C2E6E

    #5C2E6E

    oklch(39.1% 0.114 315.6)

  • #4C4700

    #4C4700

    oklch(39% 0.083 105)

  • #00533B

    #00533B

    oklch(39.2% 0.082 165.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C2E6E

    #5C2E6E

    oklch(39.1% 0.114 315.6)

  • #5E3E00

    #5E3E00

    oklch(39.1% 0.082 76)

  • #005051

    #005051

    oklch(39.1% 0.067 196.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C2E6E

    #5C2E6E

    oklch(39.1% 0.114 315.6)

  • #732D00

    #732D00

    oklch(39.2% 0.11 45.8)

  • #265201

    #265201

    oklch(39.1% 0.115 135.6)

  • #004D63

    #004D63

    oklch(39.1% 0.074 225.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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