#51184E

Closest named color: Grape Purple (#5D1451). oklch(32.4% 0.111 330), rgb(81, 24, 78).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.59:1
White text13.20:1

Values

HEX#51184E
RGBrgb(81, 24, 78)
HSLhsl(303, 54%, 21%)
OKLCHoklch(32.4% 0.111 330)

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 #51184E 13.20:1 AAA Lc -102.2 Preferred for body text
Black text on #51184E 1.59:1 Fails Lc 0.0 Not readable
#51184E text on white 13.20:1 AAA Lc 98.9 Preferred for body text
#51184E text on black 1.59: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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #EBCFE8

    oklch(88.5% 0.045 329.4)

  4. Step 300

    300

    #E0AEDA

    oklch(81% 0.082 330.4)

  5. Step 400

    400

    #CF80C8

    oklch(70.7% 0.134 330.1)

  6. Step 500

    500

    #C05DBA

    oklch(63.1% 0.171 329.7)

  7. Step 600

    600

    #AB40A6

    oklch(55.6% 0.184 329.6)

  8. Step 700

    700

    #93308E

    oklch(49.1% 0.173 329.9)

  9. Step 800

    800

    #772A73

    oklch(42.7% 0.141 329.8)

  10. Step 900

    900 (this color)

    #51184E

    oklch(32.4% 0.111 330)

  11. Step 950

    950

    #391837

    oklch(27.1% 0.071 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#51184E 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)#132B500.116
Deuteranopia (no green cones)#27334C0.101
Tritanopia (no blue cones)#541E300.060
Achromatopsia (no color)#3030300.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #51184E

    #51184E

    oklch(32.4% 0.111 330)

  • #004019

    #004019

    oklch(32.5% 0.089 150)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51184E

    #51184E

    oklch(32.4% 0.111 330)

  • #3D2163

    #3D2163

    oklch(32.2% 0.112 299.6)

  • #5D1131

    #5D1131

    oklch(32.4% 0.111 0.3)

Open the analogous palette in the generator

Split complementary

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

  • #51184E

    #51184E

    oklch(32.4% 0.111 330)

  • #2F3900

    #2F3900

    oklch(32.4% 0.077 120)

  • #003D35

    #003D35

    oklch(32.3% 0.058 180.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51184E

    #51184E

    oklch(32.4% 0.111 330)

  • #413200

    #413200

    oklch(32.5% 0.066 90.4)

  • #003B43

    #003B43

    oklch(32.3% 0.056 209.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51184E

    #51184E

    oklch(32.4% 0.111 330)

  • #4F2800

    #4F2800

    oklch(32.2% 0.076 59.3)

  • #004019

    #004019

    oklch(32.5% 0.089 150)

  • #003855

    #003855

    oklch(32.4% 0.073 239.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51184E 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.