#5F548D

Closest named color: Twilight (#4E518B). oklch(48.2% 0.09 291.5), rgb(95, 84, 141).

Aa

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

About this color

#5F548D is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.090 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.029 away. White text reads best on it, at 6.68:1.

Hue familyPurples
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text3.13:1
White text6.68:1

Values

HEX#5F548D
RGBrgb(95, 84, 141)
HSLhsl(252, 25%, 44%)
OKLCHoklch(48.2% 0.09 291.5)

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 #5F548D 6.68:1 AA Lc -88.0 Fine for body text
Black text on #5F548D 3.13:1 AA large text Lc 21.1 Dividers and decoration only
#5F548D text on white 6.68:1 AA Lc 82.9 Fine for body text
#5F548D text on black 3.13:1 AA large text Lc -19.0 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 700.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #EAE8F2

    oklch(93.5% 0.014 295.3)

  3. Step 200

    200

    #D9D7E8

    oklch(88.6% 0.023 291.3)

  4. Step 300

    300

    #C0BCDB

    oklch(80.8% 0.043 291.3)

  5. Step 400

    400

    #A199C9

    oklch(70.7% 0.07 292.2)

  6. Step 500

    500

    #8A80BC

    oklch(63.2% 0.089 291.3)

  7. Step 600

    600

    #7468A8

    oklch(55.5% 0.098 291.5)

  8. Step 700

    700 (this color)

    #5F548D

    oklch(48.2% 0.09 291.5)

  9. Step 800

    800

    #504775

    oklch(42.8% 0.075 291.9)

  10. Step 900

    900

    #423C5E

    oklch(37.8% 0.058 291.5)

  11. Step 950

    950

    #272337

    oklch(27% 0.037 292.9)

Export this scale for Tailwind in the Tailwind colors tool

#5F548D 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)#435D8F0.044
Deuteranopia (no green cones)#445B8C0.042
Tritanopia (no blue cones)#545E6A0.074
Achromatopsia (no color)#5C5C5C0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F548D

    #5F548D

    oklch(48.2% 0.09 291.5)

  • #60631D

    #60631D

    oklch(48.2% 0.091 111.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F548D

    #5F548D

    oklch(48.2% 0.09 291.5)

  • #415D91

    #415D91

    oklch(48.1% 0.091 262)

  • #764C7D

    #764C7D

    oklch(48.3% 0.091 321.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F548D

    #5F548D

    oklch(48.2% 0.09 291.5)

  • #785815

    #785815

    oklch(48.2% 0.09 81.1)

  • #3F6B39

    #3F6B39

    oklch(48.2% 0.091 141.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F548D

    #5F548D

    oklch(48.2% 0.09 291.5)

  • #864E2A

    #864E2A

    oklch(48.2% 0.091 51.7)

  • #0D6E58

    #0D6E58

    oklch(48.1% 0.09 172)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F548D

    #5F548D

    oklch(48.2% 0.09 291.5)

  • #8A4847

    #8A4847

    oklch(48.2% 0.09 21.9)

  • #60631D

    #60631D

    oklch(48.2% 0.091 111.7)

  • #006C71

    #006C71

    oklch(48.3% 0.082 200.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F548D 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.