#515168

Closest named color: Dusty Grape (#545775). oklch(44.4% 0.038 284.8), rgb(81, 81, 104).

Aa

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

About this color

#515168 is a dark, muted purple. In OKLCH its lightness is 44%, its chroma 0.038 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.025 away. White text reads best on it, at 7.70:1.

Hue familyPurples
Lightnessdark (44%)
Chromamuted (0.038)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text2.72:1
White text7.70:1

Values

HEX#515168
RGBrgb(81, 81, 104)
HSLhsl(240, 12%, 36%)
OKLCHoklch(44.4% 0.038 284.8)

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 #515168 7.70:1 AAA Lc -91.5 Preferred for body text
Black text on #515168 2.72:1 Fails Lc 17.2 Dividers and decoration only
#515168 text on white 7.70:1 AAA Lc 86.8 Fine for body text
#515168 text on black 2.72:1 Fails Lc -15.3 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

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E9E9EE

    oklch(93.5% 0.007 286.3)

  3. Step 200

    200

    #D8D8E1

    oklch(88.5% 0.012 286.1)

  4. Step 300

    300

    #BFBFCF

    oklch(81% 0.022 285.9)

  5. Step 400

    400

    #9E9EB6

    oklch(70.7% 0.035 285.5)

  6. Step 500

    500

    #8686A4

    oklch(63.1% 0.045 285)

  7. Step 600

    600

    #70708F

    oklch(55.7% 0.048 284.7)

  8. Step 700

    700

    #5E5D7A

    oklch(49.1% 0.046 286.1)

  9. Step 800

    800 (this color)

    #515168

    oklch(44.4% 0.038 284.8)

  10. Step 900

    900

    #404051

    oklch(37.8% 0.029 284.9)

  11. Step 950

    950

    #25252F

    oklch(26.9% 0.018 285.1)

Export this scale for Tailwind in the Tailwind colors tool

#515168 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)#4B54690.012
Deuteranopia (no green cones)#4B52670.010
Tritanopia (no blue cones)#4C55590.033
Achromatopsia (no color)#5353530.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #515168

    #515168

    oklch(44.4% 0.038 284.8)

  • #57553D

    #57553D

    oklch(44.5% 0.037 103.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #515168

    #515168

    oklch(44.4% 0.038 284.8)

  • #465568

    #465568

    oklch(44.4% 0.037 254.5)

  • #5C4E62

    #5C4E62

    oklch(44.5% 0.037 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #515168

    #515168

    oklch(44.4% 0.038 284.8)

  • #60513C

    #60513C

    oklch(44.4% 0.038 75.8)

  • #4B5944

    #4B5944

    oklch(44.6% 0.038 135.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #515168

    #515168

    oklch(44.4% 0.038 284.8)

  • #664D43

    #664D43

    oklch(44.4% 0.038 42.8)

  • #405A4E

    #405A4E

    oklch(44.3% 0.037 164.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #515168

    #515168

    oklch(44.4% 0.038 284.8)

  • #674B4D

    #674B4D

    oklch(44.4% 0.038 14)

  • #57553D

    #57553D

    oklch(44.5% 0.037 103.8)

  • #3A5A5A

    #3A5A5A

    oklch(44.3% 0.037 195.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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