#5F4BA2

Closest named color: Twilight (#4E518B). oklch(47.8% 0.135 291), rgb(95, 75, 162).

Aa

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

About this color

#5F4BA2 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 48%, its chroma 0.135 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.050 away. White text reads best on it, at 6.96:1.

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

Values

HEX#5F4BA2
RGBrgb(95, 75, 162)
HSLhsl(254, 37%, 46%)
OKLCHoklch(47.8% 0.135 291)

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 #5F4BA2 6.96:1 AA Lc -88.8 Fine for body text
Black text on #5F4BA2 3.01:1 AA large text Lc 20.2 Dividers and decoration only
#5F4BA2 text on white 6.96:1 AA Lc 83.9 Fine for body text
#5F4BA2 text on black 3.01:1 AA large text Lc -18.1 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

    #F5F4FB

    oklch(97% 0.009 292.8)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D9D5F0

    oklch(88.4% 0.037 292.4)

  4. Step 300

    300

    #C0BAE8

    oklch(80.9% 0.065 290.9)

  5. Step 400

    400

    #A195DD

    oklch(70.8% 0.104 291.1)

  6. Step 500

    500

    #8B79D4

    oklch(63.2% 0.134 291.1)

  7. Step 600

    600

    #7560C1

    oklch(55.6% 0.146 290.8)

  8. Step 700

    700 (this color)

    #5F4BA2

    oklch(47.8% 0.135 291)

  9. Step 800

    800

    #504187

    oklch(42.7% 0.113 290.7)

  10. Step 900

    900

    #42386C

    oklch(37.7% 0.087 290.5)

  11. Step 950

    950

    #27213F

    oklch(27% 0.055 291.5)

Export this scale for Tailwind in the Tailwind colors tool

#5F4BA2 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)#245BA50.078
Deuteranopia (no green cones)#2758A00.075
Tritanopia (no blue cones)#4D5D6F0.110
Achromatopsia (no color)#5959590.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F4BA2

    #5F4BA2

    oklch(47.8% 0.135 291)

  • #606200

    #606200

    oklch(47.8% 0.105 111.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F4BA2

    #5F4BA2

    oklch(47.8% 0.135 291)

  • #2E59A8

    #2E59A8

    oklch(47.7% 0.136 261.3)

  • #7E3F8A

    #7E3F8A

    oklch(47.8% 0.134 321)

Open the analogous palette in the generator

Split complementary

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

  • #5F4BA2

    #5F4BA2

    oklch(47.8% 0.135 291)

  • #795600

    #795600

    oklch(47.8% 0.099 81.2)

  • #286E1C

    #286E1C

    oklch(47.6% 0.135 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F4BA2

    #5F4BA2

    oklch(47.8% 0.135 291)

  • #924300

    #924300

    oklch(47.7% 0.125 50.6)

  • #006E56

    #006E56

    oklch(47.9% 0.094 170.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F4BA2

    #5F4BA2

    oklch(47.8% 0.135 291)

  • #9B353A

    #9B353A

    oklch(47.8% 0.136 21.1)

  • #606200

    #606200

    oklch(47.8% 0.105 111.2)

  • #006A70

    #006A70

    oklch(47.7% 0.081 201.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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