#504257

Closest named color: Charcoal Grey (#3C4142). oklch(40.2% 0.039 314.4), rgb(80, 66, 87).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamuted (0.039)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text2.25:1
White text9.30:1

Values

HEX#504257
RGBrgb(80, 66, 87)
HSLhsl(280, 14%, 30%)
OKLCHoklch(40.2% 0.039 314.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 #504257 9.30:1 AAA Lc -95.8 Preferred for body text
Black text on #504257 2.25:1 Fails Lc 12.5 Not readable
#504257 text on white 9.30:1 AAA Lc 91.5 Preferred for body text
#504257 text on black 2.25:1 Fails Lc -10.9 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

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DDD6E1

    oklch(88.5% 0.017 313.6)

  4. Step 300

    300

    #C8BBCE

    oklch(80.9% 0.03 315.3)

  5. Step 400

    400

    #AC98B5

    oklch(70.7% 0.047 315.4)

  6. Step 500

    500

    #977FA3

    oklch(63.1% 0.06 314.4)

  7. Step 600

    600

    #81688E

    oklch(55.6% 0.065 313.9)

  8. Step 700

    700

    #6D5679

    oklch(49% 0.061 313.8)

  9. Step 800

    800

    #594762

    oklch(42.7% 0.049 314.3)

  10. Step 900

    900 (this color)

    #504257

    oklch(40.2% 0.039 314.4)

  11. Step 950

    950

    #2B232F

    oklch(27% 0.025 314.4)

Export this scale for Tailwind in the Tailwind colors tool

#504257 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)#3F46580.029
Deuteranopia (no green cones)#4247560.027
Tritanopia (no blue cones)#5044490.027
Achromatopsia (no color)#4747470.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #504257

    #504257

    oklch(40.2% 0.039 314.4)

  • #3F4D38

    #3F4D38

    oklch(40.2% 0.039 135.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504257

    #504257

    oklch(40.2% 0.039 314.4)

  • #45455D

    #45455D

    oklch(40% 0.04 284.4)

  • #58404D

    #58404D

    oklch(40.2% 0.039 345.3)

Open the analogous palette in the generator

Split complementary

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

  • #504257

    #504257

    oklch(40.2% 0.039 314.4)

  • #4B4931

    #4B4931

    oklch(40% 0.038 103.9)

  • #344F43

    #344F43

    oklch(40.2% 0.039 165.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504257

    #504257

    oklch(40.2% 0.039 314.4)

  • #554530

    #554530

    oklch(40.1% 0.039 73.9)

  • #2E4F4E

    #2E4F4E

    oklch(40.2% 0.039 193.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504257

    #504257

    oklch(40.2% 0.039 314.4)

  • #5A4237

    #5A4237

    oklch(40.2% 0.038 45.7)

  • #3F4D38

    #3F4D38

    oklch(40.2% 0.039 135.3)

  • #304D58

    #304D58

    oklch(40.2% 0.039 223.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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