#515173

Closest named color: Dusty Grape (#545775). oklch(44.9% 0.055 284), rgb(81, 81, 115).

Aa

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

About this color

#515173 is a dark, muted purple. In OKLCH its lightness is 45%, its chroma 0.055 and its hue 284°. 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.56:1.

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

Values

HEX#515173
RGBrgb(81, 81, 115)
HSLhsl(240, 17%, 38%)
OKLCHoklch(44.9% 0.055 284)

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 #515173 7.56:1 AAA Lc -91.1 Preferred for body text
Black text on #515173 2.77:1 Fails Lc 17.7 Dividers and decoration only
#515173 text on white 7.56:1 AAA Lc 86.3 Fine for body text
#515173 text on black 2.77:1 Fails Lc -15.8 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

    #BDBED5

    oklch(80.8% 0.032 283.7)

  5. Step 400

    400

    #9C9DC0

    oklch(70.7% 0.051 283.7)

  6. Step 500

    500

    #8484B1

    oklch(63% 0.067 284.3)

  7. Step 600

    600

    #6E6E9C

    oklch(55.7% 0.071 283.9)

  8. Step 700

    700

    #5C5C86

    oklch(49.2% 0.067 283.7)

  9. Step 800

    800 (this color)

    #515173

    oklch(44.9% 0.055 284)

  10. Step 900

    900

    #3E3F58

    oklch(37.8% 0.043 282.4)

  11. Step 950

    950

    #252534

    oklch(27.1% 0.028 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#515173 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)#4855740.017
Deuteranopia (no green cones)#4653720.017
Tritanopia (no blue cones)#49575D0.048
Achromatopsia (no color)#5454540.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #515173

    #515173

    oklch(44.9% 0.055 284)

  • #5A5731

    #5A5731

    oklch(45% 0.056 104.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #515173

    #515173

    oklch(44.9% 0.055 284)

  • #3F5773

    #3F5773

    oklch(44.9% 0.055 252.8)

  • #604C6B

    #604C6B

    oklch(44.9% 0.055 313.3)

Open the analogous palette in the generator

Split complementary

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

  • #515173

    #515173

    oklch(44.9% 0.055 284)

  • #685031

    #685031

    oklch(44.9% 0.056 72.7)

  • #485C3C

    #485C3C

    oklch(44.9% 0.056 134.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #515173

    #515173

    oklch(44.9% 0.055 284)

  • #6F4B3C

    #6F4B3C

    oklch(44.9% 0.055 43.5)

  • #365F4D

    #365F4D

    oklch(45% 0.055 164.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #515173

    #515173

    oklch(44.9% 0.055 284)

  • #70484C

    #70484C

    oklch(44.8% 0.055 13)

  • #5A5731

    #5A5731

    oklch(45% 0.056 104.5)

  • #2B5F5E

    #2B5F5E

    oklch(45% 0.056 193.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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