#5C34A3

Closest named color: Rebecca Purple (#663399). oklch(43.8% 0.169 295), rgb(92, 52, 163).

Aa

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

About this color

#5C34A3 is a dark, vivid purple. In OKLCH its lightness is 44%, its chroma 0.169 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.026 away. White text reads best on it, at 8.48:1.

Hue familyPurples
Lightnessdark (44%)
Chromavivid (0.169)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.47:1
White text8.48:1

Values

HEX#5C34A3
RGBrgb(92, 52, 163)
HSLhsl(262, 52%, 42%)
OKLCHoklch(43.8% 0.169 295)

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 #5C34A3 8.48:1 AAA Lc -93.2 Preferred for body text
Black text on #5C34A3 2.47:1 Fails Lc 15.4 Dividers and decoration only
#5C34A3 text on white 8.48:1 AAA Lc 88.6 Fine for body text
#5C34A3 text on black 2.47:1 Fails Lc -13.6 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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #EBE7FC

    oklch(93.7% 0.028 294.6)

  3. Step 200

    200

    #DBD3FA

    oklch(88.6% 0.054 294.7)

  4. Step 300

    300

    #C5B4FA

    oklch(80.9% 0.099 295.2)

  5. Step 400

    400

    #A98AF8

    oklch(70.8% 0.158 295)

  6. Step 500

    500

    #9567F4

    oklch(63% 0.203 295)

  7. Step 600

    600

    #8149E3

    oklch(55.6% 0.22 294.9)

  8. Step 700

    700

    #6E39C5

    oklch(49.2% 0.204 295.1)

  9. Step 800

    800 (this color)

    #5C34A3

    oklch(43.8% 0.169 295)

  10. Step 900

    900

    #492D7F

    oklch(37.8% 0.132 295)

  11. Step 950

    950

    #2A1B4A

    oklch(26.9% 0.084 294.9)

Export this scale for Tailwind in the Tailwind colors tool

#5C34A3 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)#004EA60.106
Deuteranopia (no green cones)#004BA10.106
Tritanopia (no blue cones)#494F670.132
Achromatopsia (no color)#4D4D4D0.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C34A3

    #5C34A3

    oklch(43.8% 0.169 295)

  • #515800

    #515800

    oklch(43.9% 0.099 115)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C34A3

    #5C34A3

    oklch(43.8% 0.169 295)

  • #2247AD

    #2247AD

    oklch(43.8% 0.169 264.9)

  • #7D2384

    #7D2384

    oklch(43.9% 0.169 324.8)

Open the analogous palette in the generator

Split complementary

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

  • #5C34A3

    #5C34A3

    oklch(43.8% 0.169 295)

  • #694D00

    #694D00

    oklch(43.8% 0.09 84.4)

  • #006417

    #006417

    oklch(43.7% 0.137 145)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C34A3

    #5C34A3

    oklch(43.8% 0.169 295)

  • #7E3E00

    #7E3E00

    oklch(43.8% 0.109 54.7)

  • #00604F

    #00604F

    oklch(43.7% 0.082 175.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C34A3

    #5C34A3

    oklch(43.8% 0.169 295)

  • #9A0F1B

    #9A0F1B

    oklch(43.8% 0.169 25)

  • #515800

    #515800

    oklch(43.9% 0.099 115)

  • #005E66

    #005E66

    oklch(44% 0.075 204.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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