#515174

Closest named color: Dusty Grape (#545775). oklch(45% 0.057 283.9), rgb(81, 81, 116).

Aa

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

About this color

#515174 is a dark, muted purple. In OKLCH its lightness is 45%, its chroma 0.057 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.55:1.

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

Values

HEX#515174
RGBrgb(81, 81, 116)
HSLhsl(240, 18%, 39%)
OKLCHoklch(45% 0.057 283.9)

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 #515174 7.55:1 AAA Lc -91.0 Preferred for body text
Black text on #515174 2.77:1 Fails Lc 17.8 Dividers and decoration only
#515174 text on white 7.55:1 AAA Lc 86.2 Fine for body text
#515174 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

    #BDBED6

    oklch(80.8% 0.034 283.7)

  5. Step 400

    400

    #9C9DC1

    oklch(70.8% 0.052 283.7)

  6. Step 500

    500

    #8484B2

    oklch(63.1% 0.069 284.3)

  7. Step 600

    600

    #6E6E9D

    oklch(55.7% 0.072 283.8)

  8. Step 700

    700

    #5C5B87

    oklch(49.1% 0.07 284.6)

  9. Step 800

    800 (this color)

    #515174

    oklch(45% 0.057 283.9)

  10. Step 900

    900

    #3E3F59

    oklch(37.8% 0.044 282.4)

  11. Step 950

    950

    #252534

    oklch(27.1% 0.028 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#515174 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)#4755750.018
Deuteranopia (no green cones)#4653730.017
Tritanopia (no blue cones)#49575D0.049
Achromatopsia (no color)#5454540.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #515174

    #515174

    oklch(45% 0.057 283.9)

  • #5A5730

    #5A5730

    oklch(45% 0.057 104.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #515174

    #515174

    oklch(45% 0.057 283.9)

  • #3F5774

    #3F5774

    oklch(45% 0.056 253.6)

  • #614C6C

    #614C6C

    oklch(45.1% 0.057 313.8)

Open the analogous palette in the generator

Split complementary

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

  • #515174

    #515174

    oklch(45% 0.057 283.9)

  • #685030

    #685030

    oklch(44.8% 0.057 73.5)

  • #485C3C

    #485C3C

    oklch(44.9% 0.056 134.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #515174

    #515174

    oklch(45% 0.057 283.9)

  • #704B3B

    #704B3B

    oklch(45% 0.057 44.2)

  • #355F4D

    #355F4D

    oklch(44.9% 0.056 164.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #515174

    #515174

    oklch(45% 0.057 283.9)

  • #71484C

    #71484C

    oklch(45% 0.056 13.2)

  • #5A5730

    #5A5730

    oklch(45% 0.057 104.6)

  • #295F5E

    #295F5E

    oklch(44.9% 0.057 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 #515174, closest first.

Similar named colors

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

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