#5F457D

Closest named color: Twilight (#4E518B). oklch(44.3% 0.093 304.3), rgb(95, 69, 125).

Aa

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

About this color

#5F457D is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.093 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.043 away. White text reads best on it, at 7.97:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text2.63:1
White text7.97:1

Values

HEX#5F457D
RGBrgb(95, 69, 125)
HSLhsl(268, 29%, 38%)
OKLCHoklch(44.3% 0.093 304.3)

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 #5F457D 7.97:1 AAA Lc -92.2 Preferred for body text
Black text on #5F457D 2.63:1 Fails Lc 16.5 Dividers and decoration only
#5F457D text on white 7.97:1 AAA Lc 87.5 Fine for body text
#5F457D text on black 2.63:1 Fails Lc -14.6 Not readable

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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DDD5EA

    oklch(88.6% 0.03 303)

  4. Step 300

    300

    #C8B8DE

    oklch(80.8% 0.055 304.3)

  5. Step 400

    400

    #AC93CD

    oklch(70.6% 0.087 304)

  6. Step 500

    500

    #9878C0

    oklch(63.1% 0.111 303.8)

  7. Step 600

    600

    #835FAC

    oklch(55.5% 0.121 304.3)

  8. Step 700

    700

    #6F4E94

    oklch(49% 0.113 304.3)

  9. Step 800

    800 (this color)

    #5F457D

    oklch(44.3% 0.093 304.3)

  10. Step 900

    900

    #4A3761

    oklch(37.7% 0.073 303.9)

  11. Step 950

    950

    #2B2039

    oklch(26.9% 0.047 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F457D 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)#37507F0.065
Deuteranopia (no green cones)#3D517C0.060
Tritanopia (no blue cones)#5A4E5B0.070
Achromatopsia (no color)#5151510.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F457D

    #5F457D

    oklch(44.3% 0.093 304.3)

  • #485C1A

    #485C1A

    oklch(44.4% 0.094 124.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F457D

    #5F457D

    oklch(44.3% 0.093 304.3)

  • #444E87

    #444E87

    oklch(44.3% 0.094 274.4)

  • #723E68

    #723E68

    oklch(44.3% 0.093 334.5)

Open the analogous palette in the generator

Split complementary

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

  • #5F457D

    #5F457D

    oklch(44.3% 0.093 304.3)

  • #645200

    #645200

    oklch(44.4% 0.091 94.3)

  • #1E623B

    #1E623B

    oklch(44.3% 0.093 154.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F457D

    #5F457D

    oklch(44.3% 0.093 304.3)

  • #76470D

    #76470D

    oklch(44.3% 0.093 65)

  • #006158

    #006158

    oklch(44.3% 0.078 183.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F457D

    #5F457D

    oklch(44.3% 0.093 304.3)

  • #7F3E2F

    #7F3E2F

    oklch(44.4% 0.094 34.2)

  • #485C1A

    #485C1A

    oklch(44.4% 0.094 124.7)

  • #005E6E

    #005E6E

    oklch(44.3% 0.078 214.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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