#5C236E

Closest named color: Grape Purple (#5D1451). oklch(37.5% 0.132 317.1), rgb(92, 35, 110).

Aa

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

About this color

#5C236E is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.132 and its hue 317°. 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.93:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.92:1
White text10.93:1

Values

HEX#5C236E
RGBrgb(92, 35, 110)
HSLhsl(286, 52%, 28%)
OKLCHoklch(37.5% 0.132 317.1)

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 #5C236E 10.93:1 AAA Lc -98.6 Preferred for body text
Black text on #5C236E 1.92:1 Fails Lc 9.2 Not readable
#5C236E text on white 10.93:1 AAA Lc 94.7 Preferred for body text
#5C236E text on black 1.92:1 Fails Lc -7.9 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E8CEF2

    oklch(88.4% 0.056 316.6)

  4. Step 300

    300

    #DBADEB

    oklch(80.9% 0.099 317.2)

  5. Step 400

    400

    #C87EE1

    oklch(70.7% 0.159 317.2)

  6. Step 500

    500

    #B958D8

    oklch(63.1% 0.202 317.2)

  7. Step 600

    600

    #A437C6

    oklch(55.6% 0.22 316.8)

  8. Step 700

    700

    #8D27AB

    oklch(49.2% 0.205 317.1)

  9. Step 800

    800

    #72238A

    oklch(42.6% 0.169 317.1)

  10. Step 900

    900 (this color)

    #5C236E

    oklch(37.5% 0.132 317.1)

  11. Step 950

    950

    #361641

    oklch(26.9% 0.084 316.6)

Export this scale for Tailwind in the Tailwind colors tool

#5C236E 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)#0739700.128
Deuteranopia (no green cones)#253E6C0.110
Tritanopia (no blue cones)#5B31450.085
Achromatopsia (no color)#3D3D3D0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C236E

    #5C236E

    oklch(37.5% 0.132 317.1)

  • #1F4E00

    #1F4E00

    oklch(37.6% 0.114 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C236E

    #5C236E

    oklch(37.5% 0.132 317.1)

  • #403082

    #403082

    oklch(37.6% 0.132 287.3)

  • #6F184E

    #6F184E

    oklch(37.5% 0.133 347.4)

Open the analogous palette in the generator

Split complementary

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

  • #5C236E

    #5C236E

    oklch(37.5% 0.132 317.1)

  • #464300

    #464300

    oklch(37.4% 0.08 106.8)

  • #004E38

    #004E38

    oklch(37.6% 0.078 166.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C236E

    #5C236E

    oklch(37.5% 0.132 317.1)

  • #583B00

    #583B00

    oklch(37.6% 0.078 77.7)

  • #004B4D

    #004B4D

    oklch(37.5% 0.064 197.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C236E

    #5C236E

    oklch(37.5% 0.132 317.1)

  • #6B2B00

    #6B2B00

    oklch(37.5% 0.104 47.1)

  • #1F4E00

    #1F4E00

    oklch(37.6% 0.114 137)

  • #00485F

    #00485F

    oklch(37.5% 0.073 227.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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