#51526F

Closest named color: Dusty Grape (#545775). oklch(45% 0.047 282.8), rgb(81, 82, 111).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (45%)
Chromamuted (0.047)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text2.78:1
White text7.53:1

Values

HEX#51526F
RGBrgb(81, 82, 111)
HSLhsl(238, 16%, 38%)
OKLCHoklch(45% 0.047 282.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 #51526F 7.53:1 AAA Lc -91.0 Preferred for body text
Black text on #51526F 2.78:1 Fails Lc 17.8 Dividers and decoration only
#51526F text on white 7.53:1 AAA Lc 86.2 Fine for body text
#51526F text on black 2.78:1 Fails Lc -15.9 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

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D7D8E3

    oklch(88.5% 0.015 281.9)

  4. Step 300

    300

    #BDBFD2

    oklch(80.9% 0.027 281)

  5. Step 400

    400

    #9C9EBC

    oklch(70.8% 0.044 282.2)

  6. Step 500

    500

    #8486AB

    oklch(63.2% 0.055 282.3)

  7. Step 600

    600

    #6E6F97

    oklch(55.6% 0.062 283.1)

  8. Step 700

    700

    #5C5D81

    oklch(49.2% 0.057 282.8)

  9. Step 800

    800 (this color)

    #51526F

    oklch(45% 0.047 282.8)

  10. Step 900

    900

    #3E3F55

    oklch(37.6% 0.038 282.4)

  11. Step 950

    950

    #252532

    oklch(27% 0.024 284.7)

Export this scale for Tailwind in the Tailwind colors tool

#51526F 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)#4A55700.013
Deuteranopia (no green cones)#49536E0.012
Tritanopia (no blue cones)#4A575C0.041
Achromatopsia (no color)#5454540.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #51526F

    #51526F

    oklch(45% 0.047 282.8)

  • #5A5637

    #5A5637

    oklch(44.9% 0.047 101.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51526F

    #51526F

    oklch(45% 0.047 282.8)

  • #42576F

    #42576F

    oklch(44.9% 0.047 252.2)

  • #5E4E68

    #5E4E68

    oklch(45% 0.046 312.2)

Open the analogous palette in the generator

Split complementary

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

  • #51526F

    #51526F

    oklch(45% 0.047 282.8)

  • #655137

    #655137

    oklch(44.9% 0.047 73.4)

  • #4B5B40

    #4B5B40

    oklch(45% 0.047 133)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51526F

    #51526F

    oklch(45% 0.047 282.8)

  • #6C4D40

    #6C4D40

    oklch(45% 0.047 43.7)

  • #3C5E4D

    #3C5E4D

    oklch(45% 0.049 161.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51526F

    #51526F

    oklch(45% 0.047 282.8)

  • #6D4A4E

    #6D4A4E

    oklch(44.9% 0.048 11.6)

  • #5A5637

    #5A5637

    oklch(44.9% 0.047 101.8)

  • #335E5C

    #335E5C

    oklch(45% 0.048 191.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51526F 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.