#504152

Closest named color: Charcoal Grey (#3C4142). oklch(39.7% 0.034 322.4), rgb(80, 65, 82).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamuted (0.034)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text2.21:1
White text9.46:1

Values

HEX#504152
RGBrgb(80, 65, 82)
HSLhsl(293, 12%, 29%)
OKLCHoklch(39.7% 0.034 322.4)

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 #504152 9.46:1 AAA Lc -96.2 Preferred for body text
Black text on #504152 2.21:1 Fails Lc 12.1 Not readable
#504152 text on white 9.46:1 AAA Lc 91.9 Preferred for body text
#504152 text on black 2.21:1 Fails Lc -10.5 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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8ED

    oklch(93.6% 0.008 319.4)

  3. Step 200

    200

    #DED6DF

    oklch(88.5% 0.015 322.3)

  4. Step 300

    300

    #C9BBCB

    oklch(80.8% 0.027 322)

  5. Step 400

    400

    #AD98B0

    oklch(70.6% 0.042 322)

  6. Step 500

    500

    #997F9C

    oklch(63% 0.052 322.8)

  7. Step 600

    600

    #846887

    oklch(55.6% 0.058 323.1)

  8. Step 700

    700

    #6F5773

    oklch(49.1% 0.053 321.5)

  9. Step 800

    800

    #5B475D

    oklch(42.7% 0.044 323.3)

  10. Step 900

    900 (this color)

    #504152

    oklch(39.7% 0.034 322.4)

  11. Step 950

    950

    #2C232D

    oklch(27.1% 0.022 322.9)

Export this scale for Tailwind in the Tailwind colors tool

#504152 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)#4045530.028
Deuteranopia (no green cones)#4346510.026
Tritanopia (no blue cones)#5143470.022
Achromatopsia (no color)#4646460.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #504152

    #504152

    oklch(39.7% 0.034 322.4)

  • #3D4C3B

    #3D4C3B

    oklch(39.8% 0.034 141.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504152

    #504152

    oklch(39.7% 0.034 322.4)

  • #474458

    #474458

    oklch(39.8% 0.034 291.7)

  • #564049

    #564049

    oklch(39.9% 0.033 352.3)

Open the analogous palette in the generator

Split complementary

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

  • #504152

    #504152

    oklch(39.7% 0.034 322.4)

  • #474934

    #474934

    oklch(39.7% 0.034 112.4)

  • #344D45

    #344D45

    oklch(39.7% 0.034 172.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504152

    #504152

    oklch(39.7% 0.034 322.4)

  • #504532

    #504532

    oklch(39.6% 0.034 81.1)

  • #304D4F

    #304D4F

    oklch(39.8% 0.035 201.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504152

    #504152

    oklch(39.7% 0.034 322.4)

  • #564236

    #564236

    oklch(39.7% 0.034 52.4)

  • #3D4C3B

    #3D4C3B

    oklch(39.8% 0.034 141.8)

  • #344A56

    #344A56

    oklch(39.6% 0.034 232.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #504152 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.