#5B114E

Closest named color: Grape Purple (#5D1451). oklch(33.3% 0.127 336.3), rgb(91, 17, 78).

Aa

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

About this color

#5B114E is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.127 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.008 away. White text reads best on it, at 12.84:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.63:1
White text12.84:1

Values

HEX#5B114E
RGBrgb(91, 17, 78)
HSLhsl(311, 69%, 21%)
OKLCHoklch(33.3% 0.127 336.3)

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 #5B114E 12.84:1 AAA Lc -101.4 Preferred for body text
Black text on #5B114E 1.63:1 Fails Lc 0.0 Not readable
#5B114E text on white 12.84:1 AAA Lc 98.0 Preferred for body text
#5B114E text on black 1.63: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

    #E8A9D8

    oklch(80.8% 0.095 335.9)

  5. Step 400

    400

    #DA79C4

    oklch(70.7% 0.151 336.1)

  6. Step 500

    500

    #CE50B5

    oklch(63.1% 0.195 336.2)

  7. Step 600

    600

    #B92DA0

    oklch(55.6% 0.211 336.5)

  8. Step 700

    700

    #9F1D89

    oklch(49.1% 0.196 336.4)

  9. Step 800

    800

    #811C6F

    oklch(42.7% 0.162 336.5)

  10. Step 900

    900 (this color)

    #5B114E

    oklch(33.3% 0.127 336.3)

  11. Step 950

    950

    #3D1435

    oklch(27% 0.08 335.8)

Export this scale for Tailwind in the Tailwind colors tool

#5B114E 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)#122B500.140
Deuteranopia (no green cones)#2D364C0.119
Tritanopia (no blue cones)#60162E0.062
Achromatopsia (no color)#3232320.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B114E

    #5B114E

    oklch(33.3% 0.127 336.3)

  • #004224

    #004224

    oklch(33.3% 0.081 156.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B114E

    #5B114E

    oklch(33.3% 0.127 336.3)

  • #471D68

    #471D68

    oklch(33.3% 0.127 306.3)

  • #66072C

    #66072C

    oklch(33.3% 0.127 6)

Open the analogous palette in the generator

Split complementary

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

  • #5B114E

    #5B114E

    oklch(33.3% 0.127 336.3)

  • #2B3E00

    #2B3E00

    oklch(33.5% 0.086 126.5)

  • #00403B

    #00403B

    oklch(33.4% 0.059 186.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B114E

    #5B114E

    oklch(33.3% 0.127 336.3)

  • #413600

    #413600

    oklch(33.5% 0.069 96.4)

  • #003D4A

    #003D4A

    oklch(33.2% 0.06 217.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B114E

    #5B114E

    oklch(33.3% 0.127 336.3)

  • #4F2D00

    #4F2D00

    oklch(33.3% 0.074 66.4)

  • #004224

    #004224

    oklch(33.3% 0.081 156.2)

  • #003960

    #003960

    oklch(33.4% 0.087 246.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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