#504159

Closest named color: Charcoal Grey (#3C4142). oklch(40% 0.044 312.6), rgb(80, 65, 89).

Aa

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

About this color

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

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

Values

HEX#504159
RGBrgb(80, 65, 89)
HSLhsl(278, 16%, 30%)
OKLCHoklch(40% 0.044 312.6)

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 #504159 9.36:1 AAA Lc -95.9 Preferred for body text
Black text on #504159 2.24:1 Fails Lc 12.3 Not readable
#504159 text on white 9.36:1 AAA Lc 91.6 Preferred for body text
#504159 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

    #F6F5F8

    oklch(97.2% 0.004 301.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

    #C8BBD0

    oklch(80.9% 0.032 312.8)

  5. Step 400

    400

    #AC97B9

    oklch(70.6% 0.054 312.5)

  6. Step 500

    500

    #987EA7

    oklch(63.2% 0.067 313)

  7. Step 600

    600

    #826792

    oklch(55.6% 0.072 312.6)

  8. Step 700

    700

    #6E557D

    oklch(49.1% 0.069 312.4)

  9. Step 800

    800

    #5A4665

    oklch(42.7% 0.056 313.3)

  10. Step 900

    900 (this color)

    #504159

    oklch(40% 0.044 312.6)

  11. Step 950

    950

    #2B2330

    oklch(27.1% 0.026 312.3)

Export this scale for Tailwind in the Tailwind colors tool

#504159 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)#3D465A0.033
Deuteranopia (no green cones)#4147580.030
Tritanopia (no blue cones)#4F44490.032
Achromatopsia (no color)#4646460.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #504159

    #504159

    oklch(40% 0.044 312.6)

  • #3F4D34

    #3F4D34

    oklch(40.1% 0.044 131.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504159

    #504159

    oklch(40% 0.044 312.6)

  • #44455F

    #44455F

    oklch(40% 0.044 282.5)

  • #593E4E

    #593E4E

    oklch(40% 0.045 343)

Open the analogous palette in the generator

Split complementary

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

  • #504159

    #504159

    oklch(40% 0.044 312.6)

  • #4C492D

    #4C492D

    oklch(40.1% 0.043 102.9)

  • #314F41

    #314F41

    oklch(39.9% 0.043 163.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504159

    #504159

    oklch(40% 0.044 312.6)

  • #57442D

    #57442D

    oklch(40.1% 0.044 71.4)

  • #294F4E

    #294F4E

    oklch(39.9% 0.044 193.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504159

    #504159

    oklch(40% 0.044 312.6)

  • #5C4035

    #5C4035

    oklch(40% 0.043 42.3)

  • #3F4D34

    #3F4D34

    oklch(40.1% 0.044 131.9)

  • #2C4D59

    #2C4D59

    oklch(40% 0.044 223.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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