#5C22AB

Closest named color: Chrysanthemum (#560BAD). oklch(42.4% 0.198 295.7), rgb(92, 34, 171).

Aa

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

About this color

#5C22AB is a dark, vivid purple. In OKLCH its lightness is 42%, its chroma 0.198 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Chrysanthemum (#560BAD), ΔE 0.027 away. White text reads best on it, at 9.24:1.

Hue familyPurples
Lightnessdark (42%)
Chromavivid (0.198)
Temperaturein between
Nearest nameChrysanthemum (#560BAD)
Black text2.27:1
White text9.24:1

Values

HEX#5C22AB
RGBrgb(92, 34, 171)
HSLhsl(265, 67%, 40%)
OKLCHoklch(42.4% 0.198 295.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 #5C22AB 9.24:1 AAA Lc -94.7 Preferred for body text
Black text on #5C22AB 2.27:1 Fails Lc 13.8 Not readable
#5C22AB text on white 9.24:1 AAA Lc 90.2 Preferred for body text
#5C22AB text on black 2.27:1 Fails Lc -12.1 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 800.

  1. Step 50

    50

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FE

    oklch(93.6% 0.033 295.3)

  3. Step 200

    200

    #DCD1FF

    oklch(88.4% 0.064 296)

  4. Step 300

    300

    #C6B2FF

    oklch(80.8% 0.109 295.8)

  5. Step 400

    400

    #AB86FF

    oklch(70.7% 0.173 295.7)

  6. Step 500

    500

    #9960FF

    oklch(63.1% 0.225 295.8)

  7. Step 600

    600

    #8737F5

    oklch(55.7% 0.258 295.8)

  8. Step 700

    700

    #7326D5

    oklch(49.2% 0.239 295.8)

  9. Step 800

    800 (this color)

    #5C22AB

    oklch(42.4% 0.198 295.7)

  10. Step 900

    900

    #4B2588

    oklch(37.6% 0.155 295.5)

  11. Step 950

    950

    #2C1850

    oklch(27.1% 0.098 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#5C22AB 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)#0048AF0.117
Deuteranopia (no green cones)#0045A80.117
Tritanopia (no blue cones)#4549670.151
Achromatopsia (no color)#4747470.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C22AB

    #5C22AB

    oklch(42.4% 0.198 295.7)

  • #4C5400

    #4C5400

    oklch(42.4% 0.097 115.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C22AB

    #5C22AB

    oklch(42.4% 0.198 295.7)

  • #1A3CB8

    #1A3CB8

    oklch(42.5% 0.198 265.7)

  • #7F0086

    #7F0086

    oklch(42.3% 0.197 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #5C22AB

    #5C22AB

    oklch(42.4% 0.198 295.7)

  • #634A00

    #634A00

    oklch(42.4% 0.087 86.3)

  • #005F19

    #005F19

    oklch(42.2% 0.13 145.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C22AB

    #5C22AB

    oklch(42.4% 0.198 295.7)

  • #783C00

    #783C00

    oklch(42.5% 0.104 55.8)

  • #005C4C

    #005C4C

    oklch(42.4% 0.08 175.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C22AB

    #5C22AB

    oklch(42.4% 0.198 295.7)

  • #960012

    #960012

    oklch(42.4% 0.172 25.8)

  • #4C5400

    #4C5400

    oklch(42.4% 0.097 115.9)

  • #005961

    #005961

    oklch(42.4% 0.072 205.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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