#504158

Closest named color: Charcoal Grey (#3C4142). oklch(40% 0.042 313.7), rgb(80, 65, 88).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (40%)
Chromamuted (0.042)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text2.23:1
White text9.38:1

Values

HEX#504158
RGBrgb(80, 65, 88)
HSLhsl(279, 15%, 30%)
OKLCHoklch(40% 0.042 313.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 #504158 9.38:1 AAA Lc -96.0 Preferred for body text
Black text on #504158 2.23:1 Fails Lc 12.3 Not readable
#504158 text on white 9.38:1 AAA Lc 91.7 Preferred for body text
#504158 text on black 2.23: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

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DDD6E2

    oklch(88.5% 0.018 311.6)

  4. Step 300

    300

    #C8BBCF

    oklch(80.9% 0.031 314)

  5. Step 400

    400

    #AC98B7

    oklch(70.7% 0.05 313.6)

  6. Step 500

    500

    #987EA6

    oklch(63.1% 0.066 313.6)

  7. Step 600

    600

    #826791

    oklch(55.6% 0.071 313.2)

  8. Step 700

    700

    #6E567B

    oklch(49.2% 0.064 313.4)

  9. Step 800

    800

    #5A4664

    oklch(42.7% 0.055 314.2)

  10. Step 900

    900 (this color)

    #504158

    oklch(40% 0.042 313.7)

  11. Step 950

    950

    #2B2330

    oklch(27.1% 0.026 312.3)

Export this scale for Tailwind in the Tailwind colors tool

#504158 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)#3E46590.032
Deuteranopia (no green cones)#4147570.030
Tritanopia (no blue cones)#5044490.030
Achromatopsia (no color)#4646460.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #504158

    #504158

    oklch(40% 0.042 313.7)

  • #3E4D35

    #3E4D35

    oklch(40% 0.043 134.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504158

    #504158

    oklch(40% 0.042 313.7)

  • #44455E

    #44455E

    oklch(40% 0.042 282.5)

  • #583F4D

    #583F4D

    oklch(40% 0.041 344.4)

Open the analogous palette in the generator

Split complementary

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

  • #504158

    #504158

    oklch(40% 0.042 313.7)

  • #4B492E

    #4B492E

    oklch(40% 0.042 104.5)

  • #324F41

    #324F41

    oklch(40% 0.042 162.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504158

    #504158

    oklch(40% 0.042 313.7)

  • #56442E

    #56442E

    oklch(40% 0.042 71.7)

  • #2A4F4E

    #2A4F4E

    oklch(40% 0.043 193.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504158

    #504158

    oklch(40% 0.042 313.7)

  • #5C4035

    #5C4035

    oklch(40% 0.043 42.3)

  • #3E4D35

    #3E4D35

    oklch(40% 0.043 134.1)

  • #2D4D59

    #2D4D59

    oklch(40.1% 0.043 224)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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