#51174E

Closest named color: Grape Purple (#5D1451). oklch(32.2% 0.113 330), rgb(81, 23, 78).

Aa

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

About this color

#51174E is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.113 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.27:1.

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

Values

HEX#51174E
RGBrgb(81, 23, 78)
HSLhsl(303, 56%, 20%)
OKLCHoklch(32.2% 0.113 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 #51174E 13.27:1 AAA Lc -102.3 Preferred for body text
Black text on #51174E 1.58:1 Fails Lc 0.0 Not readable
#51174E text on white 13.27:1 AAA Lc 99.0 Preferred for body text
#51174E text on black 1.58: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 950.

  1. Step 50

    50

    #FDF1FB

    oklch(97% 0.018 331.1)

  2. Step 100

    100

    #F9E1F6

    oklch(93.5% 0.038 329.9)

  3. Step 200

    200

    #F6C8F1

    oklch(88.5% 0.074 329.8)

  4. Step 300

    300

    #F1A0E9

    oklch(80.9% 0.133 330.2)

  5. Step 400

    400

    #E665DE

    oklch(70.7% 0.212 330)

  6. Step 500

    500

    #DC21D5

    oklch(63.2% 0.272 330)

  7. Step 600

    600

    #BD00B7

    oklch(55.7% 0.254 330.1)

  8. Step 700

    700

    #9F009B

    oklch(49% 0.224 329.7)

  9. Step 800

    800

    #840080

    oklch(42.8% 0.195 330)

  10. Step 900

    900

    #6F006B

    oklch(37.7% 0.172 330.2)

  11. Step 950

    950 (this color)

    #51174E

    oklch(32.2% 0.113 330)

Export this scale for Tailwind in the Tailwind colors tool

#51174E 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.118
Deuteranopia (no green cones)#27324C0.101
Tritanopia (no blue cones)#541E300.061
Achromatopsia (no color)#3030300.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #51174E

    #51174E

    oklch(32.2% 0.113 330)

  • #003F19

    #003F19

    oklch(32.1% 0.088 150.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51174E

    #51174E

    oklch(32.2% 0.113 330)

  • #3D2163

    #3D2163

    oklch(32.2% 0.112 299.6)

  • #5D1031

    #5D1031

    oklch(32.3% 0.112 0.1)

Open the analogous palette in the generator

Split complementary

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

  • #51174E

    #51174E

    oklch(32.2% 0.113 330)

  • #2F3900

    #2F3900

    oklch(32.4% 0.077 120)

  • #003D34

    #003D34

    oklch(32.2% 0.059 179.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51174E

    #51174E

    oklch(32.2% 0.113 330)

  • #403100

    #403100

    oklch(32.1% 0.066 90)

  • #003B43

    #003B43

    oklch(32.3% 0.056 209.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51174E

    #51174E

    oklch(32.2% 0.113 330)

  • #4F2800

    #4F2800

    oklch(32.2% 0.076 59.3)

  • #003F19

    #003F19

    oklch(32.1% 0.088 150.3)

  • #003755

    #003755

    oklch(32.1% 0.074 240.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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