#5C0F54

Closest named color: Grape Purple (#5D1451). oklch(33.7% 0.134 332.9), rgb(92, 15, 84).

Aa

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

About this color

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

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

Values

HEX#5C0F54
RGBrgb(92, 15, 84)
HSLhsl(306, 72%, 21%)
OKLCHoklch(33.7% 0.134 332.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 #5C0F54 12.71:1 AAA Lc -101.1 Preferred for body text
Black text on #5C0F54 1.65:1 Fails Lc 0.0 Not readable
#5C0F54 text on white 12.71:1 AAA Lc 97.6 Preferred for body text
#5C0F54 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

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #F1CCE9

    oklch(88.5% 0.056 333.6)

  4. Step 300

    300

    #E8A8DD

    oklch(80.8% 0.102 332.6)

  5. Step 400

    400

    #DA77CB

    oklch(70.7% 0.16 333)

  6. Step 500

    500

    #CE4DBE

    oklch(63.2% 0.206 332.9)

  7. Step 600

    600

    #B926AA

    oklch(55.7% 0.224 332.9)

  8. Step 700

    700

    #9F1592

    oklch(49.2% 0.208 332.9)

  9. Step 800

    800

    #811776

    oklch(42.7% 0.172 333)

  10. Step 900

    900 (this color)

    #5C0F54

    oklch(33.7% 0.134 332.9)

  11. Step 950

    950

    #3D1338

    oklch(27% 0.084 332.6)

Export this scale for Tailwind in the Tailwind colors tool

#5C0F54 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)#0A2C560.148
Deuteranopia (no green cones)#2A36520.124
Tritanopia (no blue cones)#6018310.069
Achromatopsia (no color)#3333330.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C0F54

    #5C0F54

    oklch(33.7% 0.134 332.9)

  • #004320

    #004320

    oklch(33.6% 0.086 153.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C0F54

    #5C0F54

    oklch(33.7% 0.134 332.9)

  • #461D6E

    #461D6E

    oklch(33.7% 0.133 303)

  • #690231

    #690231

    oklch(33.7% 0.134 2.6)

Open the analogous palette in the generator

Split complementary

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

  • #5C0F54

    #5C0F54

    oklch(33.7% 0.134 332.9)

  • #2F3E00

    #2F3E00

    oklch(33.8% 0.084 123.6)

  • #00413A

    #00413A

    oklch(33.7% 0.06 183)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C0F54

    #5C0F54

    oklch(33.7% 0.134 332.9)

  • #443600

    #443600

    oklch(33.8% 0.069 92.7)

  • #003F49

    #003F49

    oklch(33.8% 0.059 212.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C0F54

    #5C0F54

    oklch(33.7% 0.134 332.9)

  • #522D00

    #522D00

    oklch(33.7% 0.076 63.7)

  • #004320

    #004320

    oklch(33.6% 0.086 153.1)

  • #003B5D

    #003B5D

    oklch(33.8% 0.081 242.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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