#5C286D

Closest named color: Grape Purple (#5D1451). oklch(38.1% 0.123 317), rgb(92, 40, 109).

Aa

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

About this color

#5C286D is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.123 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.057 away. White text reads best on it, at 10.60:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.97:1
White text10.60:1

Values

HEX#5C286D
RGBrgb(92, 40, 109)
HSLhsl(285, 46%, 29%)
OKLCHoklch(38.1% 0.123 317)

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 #5C286D 10.60:1 AAA Lc -98.1 Preferred for body text
Black text on #5C286D 1.97:1 Fails Lc 9.8 Not readable
#5C286D text on white 10.60:1 AAA Lc 94.1 Preferred for body text
#5C286D text on black 1.97:1 Fails Lc -8.4 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

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E7CFF0

    oklch(88.4% 0.051 316.8)

  4. Step 300

    300

    #D9AEE9

    oklch(80.9% 0.094 316.7)

  5. Step 400

    400

    #C581DD

    oklch(70.7% 0.148 316.9)

  6. Step 500

    500

    #B65DD3

    oklch(63.1% 0.189 317.2)

  7. Step 600

    600

    #A13EC0

    oklch(55.5% 0.205 317)

  8. Step 700

    700

    #8A2FA6

    oklch(49.2% 0.191 317)

  9. Step 800

    800

    #702887

    oklch(42.7% 0.159 316.8)

  10. Step 900

    900 (this color)

    #5C286D

    oklch(38.1% 0.123 317)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#5C286D 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)#153B6F0.116
Deuteranopia (no green cones)#2A406B0.101
Tritanopia (no blue cones)#5B34460.080
Achromatopsia (no color)#3F3F3F0.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C286D

    #5C286D

    oklch(38.1% 0.123 317)

  • #205000

    #205000

    oklch(38.2% 0.116 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C286D

    #5C286D

    oklch(38.1% 0.123 317)

  • #413380

    #413380

    oklch(38.1% 0.125 287.3)

  • #6E1F4F

    #6E1F4F

    oklch(38.1% 0.123 347.1)

Open the analogous palette in the generator

Split complementary

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

  • #5C286D

    #5C286D

    oklch(38.1% 0.123 317)

  • #484500

    #484500

    oklch(38.1% 0.082 106.9)

  • #004F3A

    #004F3A

    oklch(38% 0.077 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C286D

    #5C286D

    oklch(38.1% 0.123 317)

  • #5A3C00

    #5A3C00

    oklch(38.1% 0.08 77.1)

  • #004D4E

    #004D4E

    oklch(38.1% 0.065 196.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C286D

    #5C286D

    oklch(38.1% 0.123 317)

  • #6E2C00

    #6E2C00

    oklch(38.1% 0.106 46.7)

  • #205000

    #205000

    oklch(38.2% 0.116 137)

  • #004A61

    #004A61

    oklch(38.2% 0.074 227)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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