#5C124E

Closest named color: Grape Purple (#5D1451). oklch(33.6% 0.126 336.9), rgb(92, 18, 78).

Aa

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

About this color

#5C124E is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.126 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.006 away. White text reads best on it, at 12.71:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.126)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.65:1
White text12.71:1

Values

HEX#5C124E
RGBrgb(92, 18, 78)
HSLhsl(311, 67%, 22%)
OKLCHoklch(33.6% 0.126 336.9)

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 #5C124E 12.71:1 AAA Lc -101.2 Preferred for body text
Black text on #5C124E 1.65:1 Fails Lc 0.0 Not readable
#5C124E text on white 12.71:1 AAA Lc 97.7 Preferred for body text
#5C124E text on black 1.65:1 Fails Lc 0.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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F1CCE6

    oklch(88.4% 0.054 336.9)

  4. Step 300

    300

    #E9A9D7

    oklch(80.9% 0.095 337.1)

  5. Step 400

    400

    #DB79C3

    oklch(70.8% 0.151 337)

  6. Step 500

    500

    #CE50B3

    oklch(63% 0.194 337)

  7. Step 600

    600

    #B92D9F

    oklch(55.6% 0.21 336.8)

  8. Step 700

    700

    #9F1D88

    oklch(49.1% 0.196 336.8)

  9. Step 800

    800

    #811C6E

    oklch(42.6% 0.162 337)

  10. Step 900

    900 (this color)

    #5C124E

    oklch(33.6% 0.126 336.9)

  11. Step 950

    950

    #3D1434

    oklch(26.9% 0.079 337)

Export this scale for Tailwind in the Tailwind colors tool

#5C124E 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)#142B500.139
Deuteranopia (no green cones)#2E374C0.119
Tritanopia (no blue cones)#61172E0.062
Achromatopsia (no color)#3333330.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C124E

    #5C124E

    oklch(33.6% 0.126 336.9)

  • #004325

    #004325

    oklch(33.7% 0.081 156.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C124E

    #5C124E

    oklch(33.6% 0.126 336.9)

  • #481E68

    #481E68

    oklch(33.6% 0.125 306.9)

  • #67092C

    #67092C

    oklch(33.6% 0.126 6.6)

Open the analogous palette in the generator

Split complementary

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

  • #5C124E

    #5C124E

    oklch(33.6% 0.126 336.9)

  • #2B3E00

    #2B3E00

    oklch(33.5% 0.086 126.5)

  • #00403C

    #00403C

    oklch(33.5% 0.058 187.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C124E

    #5C124E

    oklch(33.6% 0.126 336.9)

  • #413600

    #413600

    oklch(33.5% 0.069 96.4)

  • #003E4B

    #003E4B

    oklch(33.6% 0.06 217.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C124E

    #5C124E

    oklch(33.6% 0.126 336.9)

  • #502E00

    #502E00

    oklch(33.6% 0.074 66.9)

  • #004325

    #004325

    oklch(33.7% 0.081 156.5)

  • #003961

    #003961

    oklch(33.5% 0.088 246.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5C124E.

Similar named colors

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

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