#51173D

Closest named color: Grape Purple (#5D1451). oklch(31.3% 0.098 344.1), rgb(81, 23, 61).

Aa

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

About this color

#51173D is a dark, moderately saturated purple. In OKLCH its lightness is 31%, its chroma 0.098 and its hue 344°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.044 away. White text reads best on it, at 13.63:1.

Hue familyPurples
Lightnessdark (31%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.53:1
White text13.63:1

Values

HEX#51173D
RGBrgb(81, 23, 61)
HSLhsl(321, 56%, 20%)
OKLCHoklch(31.3% 0.098 344.1)

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 #51173D 13.63:1 AAA Lc -102.8 Preferred for body text
Black text on #51173D 1.53:1 Fails Lc 0.0 Not readable
#51173D text on white 13.63:1 AAA Lc 99.6 Preferred for body text
#51173D text on black 1.53: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

    #FEF2F8

    oklch(97.2% 0.015 345.5)

  2. Step 100

    100

    #FBE1EF

    oklch(93.5% 0.034 344.1)

  3. Step 200

    200

    #F9C9E4

    oklch(88.5% 0.064 343.7)

  4. Step 300

    300

    #F6A2D3

    oklch(80.9% 0.116 344.1)

  5. Step 400

    400

    #ED69BD

    oklch(70.7% 0.187 343.9)

  6. Step 500

    500

    #E331AC

    oklch(63.1% 0.239 344)

  7. Step 600

    600

    #C80094

    oklch(55.6% 0.237 344.2)

  8. Step 700

    700

    #A9007D

    oklch(49.1% 0.21 344)

  9. Step 800

    800

    #8C0067

    oklch(42.8% 0.183 344)

  10. Step 900

    900

    #740755

    oklch(37.7% 0.155 344.1)

  11. Step 950

    950 (this color)

    #51173D

    oklch(31.3% 0.098 344.1)

Export this scale for Tailwind in the Tailwind colors tool

#51173D 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)#1D283E0.107
Deuteranopia (no green cones)#2E313C0.094
Tritanopia (no blue cones)#5717270.043
Achromatopsia (no color)#2E2E2E0.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #51173D

    #51173D

    oklch(31.3% 0.098 344.1)

  • #003B28

    #003B28

    oklch(31.2% 0.066 164.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51173D

    #51173D

    oklch(31.3% 0.098 344.1)

  • #431E53

    #431E53

    oklch(31.4% 0.098 314.4)

  • #581421

    #581421

    oklch(31.2% 0.099 14.1)

Open the analogous palette in the generator

Split complementary

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

  • #51173D

    #51173D

    oklch(31.3% 0.098 344.1)

  • #1C3A00

    #1C3A00

    oklch(31.3% 0.09 134)

  • #003939

    #003939

    oklch(31.2% 0.053 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51173D

    #51173D

    oklch(31.3% 0.098 344.1)

  • #373200

    #373200

    oklch(31.3% 0.066 103.4)

  • #003747

    #003747

    oklch(31.3% 0.059 224)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51173D

    #51173D

    oklch(31.3% 0.098 344.1)

  • #452B00

    #452B00

    oklch(31.3% 0.067 73.7)

  • #003B28

    #003B28

    oklch(31.2% 0.066 164.6)

  • #013061

    #013061

    oklch(31.2% 0.099 254.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51173D 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.