#505173

Closest named color: Dusty Grape (#545775). oklch(44.8% 0.055 282.6), rgb(80, 81, 115).

Aa

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

About this color

#505173 is a dark, muted purple. In OKLCH its lightness is 45%, its chroma 0.055 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.019 away. White text reads best on it, at 7.59:1.

Hue familyPurples
Lightnessdark (45%)
Chromamuted (0.055)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text2.76:1
White text7.59:1

Values

HEX#505173
RGBrgb(80, 81, 115)
HSLhsl(238, 18%, 38%)
OKLCHoklch(44.8% 0.055 282.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 #505173 7.59:1 AAA Lc -91.2 Preferred for body text
Black text on #505173 2.76:1 Fails Lc 17.6 Dividers and decoration only
#505173 text on white 7.59:1 AAA Lc 86.4 Fine for body text
#505173 text on black 2.76:1 Fails Lc -15.7 Dividers and decoration only

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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9F0

    oklch(93.6% 0.009 286.2)

  3. Step 200

    200

    #D7D8E5

    oklch(88.5% 0.018 282.5)

  4. Step 300

    300

    #BDBED6

    oklch(80.8% 0.034 283.7)

  5. Step 400

    400

    #9B9DC1

    oklch(70.7% 0.052 282.5)

  6. Step 500

    500

    #8385B1

    oklch(63.1% 0.066 282.3)

  7. Step 600

    600

    #6D6E9D

    oklch(55.6% 0.073 282.8)

  8. Step 700

    700

    #5B5C86

    oklch(49.1% 0.067 282.6)

  9. Step 800

    800 (this color)

    #505173

    oklch(44.8% 0.055 282.6)

  10. Step 900

    900

    #3E3F58

    oklch(37.8% 0.043 282.4)

  11. Step 950

    950

    #242534

    oklch(27% 0.028 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#505173 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)#4755740.017
Deuteranopia (no green cones)#4653720.016
Tritanopia (no blue cones)#47575D0.048
Achromatopsia (no color)#5454540.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #505173

    #505173

    oklch(44.8% 0.055 282.6)

  • #5A5631

    #5A5631

    oklch(44.7% 0.055 103)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #505173

    #505173

    oklch(44.8% 0.055 282.6)

  • #3E5773

    #3E5773

    oklch(44.9% 0.055 251.9)

  • #5F4C6B

    #5F4C6B

    oklch(44.8% 0.055 312)

Open the analogous palette in the generator

Split complementary

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

  • #505173

    #505173

    oklch(44.8% 0.055 282.6)

  • #685031

    #685031

    oklch(44.9% 0.056 72.7)

  • #495C3B

    #495C3B

    oklch(45% 0.057 132.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #505173

    #505173

    oklch(44.8% 0.055 282.6)

  • #6F4B3C

    #6F4B3C

    oklch(44.9% 0.055 43.5)

  • #375F4C

    #375F4C

    oklch(45% 0.056 162.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #505173

    #505173

    oklch(44.8% 0.055 282.6)

  • #70484C

    #70484C

    oklch(44.8% 0.055 13)

  • #5A5631

    #5A5631

    oklch(44.7% 0.055 103)

  • #2B5F5D

    #2B5F5D

    oklch(44.9% 0.056 192)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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