#51404F

Closest named color: Charcoal Grey (#3C4142). oklch(39.5% 0.033 330.1), rgb(81, 64, 79).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamuted (0.033)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text2.19:1
White text9.56:1

Values

HEX#51404F
RGBrgb(81, 64, 79)
HSLhsl(307, 12%, 28%)
OKLCHoklch(39.5% 0.033 330.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 #51404F 9.56:1 AAA Lc -96.4 Preferred for body text
Black text on #51404F 2.19:1 Fails Lc 11.8 Not readable
#51404F text on white 9.56:1 AAA Lc 92.1 Preferred for body text
#51404F text on black 2.19:1 Fails Lc -10.3 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

    #CABBC8

    oklch(80.8% 0.024 330.1)

  5. Step 400

    400

    #B098AD

    oklch(70.8% 0.041 330.1)

  6. Step 500

    500

    #9C7F98

    oklch(63.2% 0.05 330.8)

  7. Step 600

    600

    #866883

    oklch(55.6% 0.055 329.6)

  8. Step 700

    700

    #72566F

    oklch(49.1% 0.052 330)

  9. Step 800

    800

    #5D475A

    oklch(42.8% 0.042 330.9)

  10. Step 900

    900 (this color)

    #51404F

    oklch(39.5% 0.033 330.1)

  11. Step 950

    950

    #2D232B

    oklch(27.1% 0.021 333.1)

Export this scale for Tailwind in the Tailwind colors tool

#51404F 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)#3F44500.031
Deuteranopia (no green cones)#43464E0.029
Tritanopia (no blue cones)#5241450.018
Achromatopsia (no color)#4545450.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #51404F

    #51404F

    oklch(39.5% 0.033 330.1)

  • #3A4C3D

    #3A4C3D

    oklch(39.6% 0.034 149.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51404F

    #51404F

    oklch(39.5% 0.033 330.1)

  • #494256

    #494256

    oklch(39.4% 0.034 300.8)

  • #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°).

  • #51404F

    #51404F

    oklch(39.5% 0.033 330.1)

  • #444935

    #444935

    oklch(39.5% 0.033 119.3)

  • #324C47

    #324C47

    oklch(39.4% 0.033 181.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51404F

    #51404F

    oklch(39.5% 0.033 330.1)

  • #4D4632

    #4D4632

    oklch(39.5% 0.033 91)

  • #314B50

    #314B50

    oklch(39.4% 0.033 210.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51404F

    #51404F

    oklch(39.5% 0.033 330.1)

  • #544234

    #544234

    oklch(39.4% 0.034 59.5)

  • #3A4C3D

    #3A4C3D

    oklch(39.6% 0.034 149.6)

  • #364957

    #364957

    oklch(39.5% 0.034 240.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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