#504252

Closest named color: Charcoal Grey (#3C4142). oklch(40% 0.032 322.1), rgb(80, 66, 82).

Aa

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

About this color

#504252 is a dark, muted purple. In OKLCH its lightness is 40%, its chroma 0.032 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.045 away. White text reads best on it, at 9.36:1.

Hue familyPurples
Lightnessdark (40%)
Chromamuted (0.032)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text2.24:1
White text9.36:1

Values

HEX#504252
RGBrgb(80, 66, 82)
HSLhsl(293, 11%, 29%)
OKLCHoklch(40% 0.032 322.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 #504252 9.36:1 AAA Lc -95.9 Preferred for body text
Black text on #504252 2.24:1 Fails Lc 12.3 Not readable
#504252 text on white 9.36:1 AAA Lc 91.6 Preferred for body text
#504252 text on black 2.24:1 Fails Lc -10.7 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

    #DDD6DE

    oklch(88.4% 0.013 321.9)

  4. Step 300

    300

    #C8BCCA

    oklch(80.9% 0.023 321.4)

  5. Step 400

    400

    #AC99AF

    oklch(70.7% 0.038 321.6)

  6. Step 500

    500

    #98809B

    oklch(63.1% 0.049 322.6)

  7. Step 600

    600

    #826986

    oklch(55.5% 0.053 321.7)

  8. Step 700

    700

    #6E5772

    oklch(49% 0.051 321.3)

  9. Step 800

    800

    #5A485D

    oklch(42.8% 0.041 321.5)

  10. Step 900

    900 (this color)

    #504252

    oklch(40% 0.032 322.1)

  11. Step 950

    950

    #2B232C

    oklch(26.9% 0.02 322.5)

Export this scale for Tailwind in the Tailwind colors tool

#504252 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)#4146530.027
Deuteranopia (no green cones)#4447510.025
Tritanopia (no blue cones)#5143470.020
Achromatopsia (no color)#4646460.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #504252

    #504252

    oklch(40% 0.032 322.1)

  • #3E4C3C

    #3E4C3C

    oklch(39.9% 0.032 141.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504252

    #504252

    oklch(40% 0.032 322.1)

  • #484558

    #484558

    oklch(40.1% 0.032 292.1)

  • #564149

    #564149

    oklch(40.1% 0.032 353.9)

Open the analogous palette in the generator

Split complementary

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

  • #504252

    #504252

    oklch(40% 0.032 322.1)

  • #484A36

    #484A36

    oklch(40.1% 0.032 112.5)

  • #364D46

    #364D46

    oklch(39.9% 0.031 173.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504252

    #504252

    oklch(40% 0.032 322.1)

  • #504634

    #504634

    oklch(39.9% 0.032 82.1)

  • #334D4F

    #334D4F

    oklch(40% 0.032 202)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504252

    #504252

    oklch(40% 0.032 322.1)

  • #564338

    #564338

    oklch(40% 0.032 51.6)

  • #3E4C3C

    #3E4C3C

    oklch(39.9% 0.032 141.6)

  • #364B56

    #364B56

    oklch(40% 0.032 231.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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