#504168

Closest named color: Dusk (#4E5481). oklch(40.8% 0.066 301.2), rgb(80, 65, 104).

Aa

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

About this color

#504168 is a dark, muted purple. In OKLCH its lightness is 41%, its chroma 0.066 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.061 away. White text reads best on it, at 9.14:1.

Hue familyPurples
Lightnessdark (41%)
Chromamuted (0.066)
Temperaturein between
Nearest nameDusk (#4E5481)
Black text2.29:1
White text9.14:1

Values

HEX#504168
RGBrgb(80, 65, 104)
HSLhsl(263, 23%, 33%)
OKLCHoklch(40.8% 0.066 301.2)

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 #504168 9.14:1 AAA Lc -95.4 Preferred for body text
Black text on #504168 2.29:1 Fails Lc 13.0 Not readable
#504168 text on white 9.14:1 AAA Lc 91.0 Preferred for body text
#504168 text on black 2.29:1 Fails Lc -11.3 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 800.

  1. Step 50

    50

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DBD6E5

    oklch(88.5% 0.021 301.1)

  4. Step 300

    300

    #C5BBD6

    oklch(80.9% 0.039 302.4)

  5. Step 400

    400

    #A798C2

    oklch(70.7% 0.063 301.1)

  6. Step 500

    500

    #927EB2

    oklch(63.1% 0.08 301.8)

  7. Step 600

    600

    #7C679E

    oklch(55.6% 0.087 301.2)

  8. Step 700

    700

    #695687

    oklch(49.2% 0.079 301.4)

  9. Step 800

    800 (this color)

    #504168

    oklch(40.8% 0.066 301.2)

  10. Step 900

    900

    #463B59

    oklch(37.7% 0.052 300.8)

  11. Step 950

    950

    #292334

    oklch(27.1% 0.032 300.5)

Export this scale for Tailwind in the Tailwind colors tool

#504168 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)#38486A0.041
Deuteranopia (no green cones)#3B48670.038
Tritanopia (no blue cones)#4C474F0.052
Achromatopsia (no color)#4848480.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #504168

    #504168

    oklch(40.8% 0.066 301.2)

  • #444F24

    #444F24

    oklch(40.7% 0.066 121.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #504168

    #504168

    oklch(40.8% 0.066 301.2)

  • #3D476E

    #3D476E

    oklch(40.7% 0.067 272.2)

  • #5E3C5A

    #5E3C5A

    oklch(40.7% 0.066 330.9)

Open the analogous palette in the generator

Split complementary

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

  • #504168

    #504168

    oklch(40.8% 0.066 301.2)

  • #57481A

    #57481A

    oklch(40.7% 0.066 91)

  • #2D5437

    #2D5437

    oklch(40.8% 0.066 150.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #504168

    #504168

    oklch(40.8% 0.066 301.2)

  • #644122

    #644122

    oklch(40.9% 0.066 60.8)

  • #13554C

    #13554C

    oklch(40.7% 0.066 181.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #504168

    #504168

    oklch(40.8% 0.066 301.2)

  • #693C33

    #693C33

    oklch(40.9% 0.066 32.1)

  • #444F24

    #444F24

    oklch(40.7% 0.066 121.2)

  • #0D535E

    #0D535E

    oklch(40.7% 0.066 211.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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