#545271

Closest named color: Dusty Grape (#545775). oklch(45.3% 0.05 287.2), rgb(84, 82, 113).

Aa

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

About this color

#545271 is a medium-dark, muted purple. In OKLCH its lightness is 45%, its chroma 0.050 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Grape (#545775), ΔE 0.015 away. White text reads best on it, at 7.44:1.

Hue familyPurples
Lightnessmedium-dark (45%)
Chromamuted (0.050)
Temperaturecool
Nearest nameDusty Grape (#545775)
Black text2.82:1
White text7.44:1

Values

HEX#545271
RGBrgb(84, 82, 113)
HSLhsl(244, 16%, 38%)
OKLCHoklch(45.3% 0.05 287.2)

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 #545271 7.44:1 AAA Lc -90.7 Preferred for body text
Black text on #545271 2.82:1 Fails Lc 18.2 Dividers and decoration only
#545271 text on white 7.44:1 AAA Lc 85.9 Fine for body text
#545271 text on black 2.82:1 Fails Lc -16.2 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

    #D8D8E4

    oklch(88.6% 0.016 286.1)

  4. Step 300

    300

    #BFBED3

    oklch(80.9% 0.029 287.9)

  5. Step 400

    400

    #9E9DBD

    oklch(70.8% 0.046 286.6)

  6. Step 500

    500

    #8784AD

    oklch(63.1% 0.061 287.9)

  7. Step 600

    600

    #706E98

    oklch(55.6% 0.065 286.3)

  8. Step 700

    700

    #5E5B82

    oklch(49% 0.062 287.4)

  9. Step 800

    800 (this color)

    #545271

    oklch(45.3% 0.05 287.2)

  10. Step 900

    900

    #403F56

    oklch(37.8% 0.039 286.4)

  11. Step 950

    950

    #252532

    oklch(27% 0.024 284.7)

Export this scale for Tailwind in the Tailwind colors tool

#545271 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)#4A56720.018
Deuteranopia (no green cones)#4954700.017
Tritanopia (no blue cones)#4E575D0.042
Achromatopsia (no color)#5555550.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #545271

    #545271

    oklch(45.3% 0.05 287.2)

  • #595837

    #595837

    oklch(45.2% 0.05 106.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #545271

    #545271

    oklch(45.3% 0.05 287.2)

  • #445772

    #445772

    oklch(45.2% 0.05 257.2)

  • #624D69

    #624D69

    oklch(45.3% 0.052 317.6)

Open the analogous palette in the generator

Split complementary

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

  • #545271

    #545271

    oklch(45.3% 0.05 287.2)

  • #665336

    #665336

    oklch(45.4% 0.05 77.5)

  • #495D41

    #495D41

    oklch(45.3% 0.051 136.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #545271

    #545271

    oklch(45.3% 0.05 287.2)

  • #6E4E3E

    #6E4E3E

    oklch(45.4% 0.05 47.6)

  • #395F50

    #395F50

    oklch(45.2% 0.05 167.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #545271

    #545271

    oklch(45.3% 0.05 287.2)

  • #704B4C

    #704B4C

    oklch(45.4% 0.051 17.5)

  • #595837

    #595837

    oklch(45.2% 0.05 106.7)

  • #315F60

    #315F60

    oklch(45.3% 0.051 197.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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