#51404E

Closest named color: Charcoal Grey (#3C4142). oklch(39.5% 0.032 332.3), rgb(81, 64, 78).

Aa

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

About this color

#51404E is a dark, muted purple. In OKLCH its lightness is 39%, its chroma 0.032 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.043 away. White text reads best on it, at 9.57:1.

Hue familyPurples
Lightnessdark (39%)
Chromamuted (0.032)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text2.19:1
White text9.57:1

Values

HEX#51404E
RGBrgb(81, 64, 78)
HSLhsl(311, 12%, 28%)
OKLCHoklch(39.5% 0.032 332.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 #51404E 9.57:1 AAA Lc -96.4 Preferred for body text
Black text on #51404E 2.19:1 Fails Lc 11.8 Not readable
#51404E text on white 9.57:1 AAA Lc 92.2 Preferred for body text
#51404E text on black 2.19:1 Fails Lc -10.2 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

    #F7F5F6

    oklch(97.2% 0.002 345.2)

  2. Step 100

    100

    #EDE8EC

    oklch(93.6% 0.008 332.1)

  3. Step 200

    200

    #DFD6DD

    oklch(88.5% 0.014 333.1)

  4. Step 300

    300

    #CBBBC8

    oklch(80.9% 0.025 332)

  5. Step 400

    400

    #B098AB

    oklch(70.7% 0.039 333.1)

  6. Step 500

    500

    #9C7F97

    oklch(63.2% 0.049 332.1)

  7. Step 600

    600

    #876881

    oklch(55.7% 0.054 333.1)

  8. Step 700

    700

    #72566D

    oklch(49% 0.05 332.6)

  9. Step 800

    800

    #5D4759

    oklch(42.8% 0.041 332.6)

  10. Step 900

    900 (this color)

    #51404E

    oklch(39.5% 0.032 332.3)

  11. Step 950

    950

    #2D232B

    oklch(27.1% 0.021 333.1)

Export this scale for Tailwind in the Tailwind colors tool

#51404E 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)#40444F0.030
Deuteranopia (no green cones)#44464D0.028
Tritanopia (no blue cones)#5341450.017
Achromatopsia (no color)#4545450.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #51404E

    #51404E

    oklch(39.5% 0.032 332.3)

  • #394B3E

    #394B3E

    oklch(39.3% 0.032 153.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51404E

    #51404E

    oklch(39.5% 0.032 332.3)

  • #494255

    #494255

    oklch(39.4% 0.033 301.7)

  • #563F45

    #563F45

    oklch(39.5% 0.033 1.5)

Open the analogous palette in the generator

Split complementary

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

  • #51404E

    #51404E

    oklch(39.5% 0.032 332.3)

  • #434936

    #434936

    oklch(39.4% 0.032 122.1)

  • #324C48

    #324C48

    oklch(39.4% 0.032 184)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51404E

    #51404E

    oklch(39.5% 0.032 332.3)

  • #4C4632

    #4C4632

    oklch(39.4% 0.033 93.4)

  • #324B50

    #324B50

    oklch(39.5% 0.032 211.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51404E

    #51404E

    oklch(39.5% 0.032 332.3)

  • #534334

    #534334

    oklch(39.5% 0.033 64.8)

  • #394B3E

    #394B3E

    oklch(39.3% 0.032 153.4)

  • #374956

    #374956

    oklch(39.5% 0.032 240)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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