#504254

Closest named color: Charcoal Grey (#3C4142). oklch(40% 0.035 318.7), rgb(80, 66, 84).

Aa

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

About this color

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

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

Values

HEX#504254
RGBrgb(80, 66, 84)
HSLhsl(287, 12%, 29%)
OKLCHoklch(40% 0.035 318.7)

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 #504254 9.33:1 AAA Lc -95.9 Preferred for body text
Black text on #504254 2.24:1 Fails Lc 12.4 Not readable
#504254 text on white 9.33:1 AAA Lc 91.6 Preferred for body text
#504254 text on black 2.24:1 Fails Lc -10.8 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

    #DDD6DF

    oklch(88.4% 0.014 318.7)

  4. Step 300

    300

    #C8BCCC

    oklch(81% 0.026 317.7)

  5. Step 400

    400

    #AC99B2

    oklch(70.8% 0.042 318)

  6. Step 500

    500

    #98809E

    oklch(63.2% 0.052 319.5)

  7. Step 600

    600

    #826989

    oklch(55.6% 0.057 318.8)

  8. Step 700

    700

    #6E5775

    oklch(49.1% 0.055 318.2)

  9. Step 800

    800

    #5A475F

    oklch(42.7% 0.046 319.2)

  10. Step 900

    900 (this color)

    #504254

    oklch(40% 0.035 318.7)

  11. Step 950

    950

    #2B232D

    oklch(26.9% 0.022 319.5)

Export this scale for Tailwind in the Tailwind colors tool

#504254 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)#4046550.028
Deuteranopia (no green cones)#4347530.026
Tritanopia (no blue cones)#5044480.023
Achromatopsia (no color)#4747470.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #504254

    #504254

    oklch(40% 0.035 318.7)

  • #3E4D3A

    #3E4D3A

    oklch(40.1% 0.037 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504254

    #504254

    oklch(40% 0.035 318.7)

  • #47455A

    #47455A

    oklch(40.1% 0.035 289.1)

  • #56404B

    #56404B

    oklch(39.9% 0.035 347.3)

Open the analogous palette in the generator

Split complementary

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

  • #504254

    #504254

    oklch(40% 0.035 318.7)

  • #494934

    #494934

    oklch(39.9% 0.033 107.8)

  • #354E44

    #354E44

    oklch(40% 0.035 167.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504254

    #504254

    oklch(40% 0.035 318.7)

  • #524632

    #524632

    oklch(40.1% 0.035 80.2)

  • #314E4F

    #314E4F

    oklch(40.1% 0.035 198.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504254

    #504254

    oklch(40% 0.035 318.7)

  • #584237

    #584237

    oklch(40% 0.036 47.8)

  • #3E4D3A

    #3E4D3A

    oklch(40.1% 0.037 139.1)

  • #344C57

    #344C57

    oklch(40.1% 0.035 228.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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