#5F628A

Closest named color: Dusky Blue (#475F94). oklch(51% 0.063 280.6), rgb(95, 98, 138).

Aa

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

About this color

#5F628A is a medium-dark, muted purple. In OKLCH its lightness is 51%, its chroma 0.063 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.039 away. White text reads best on it, at 5.83:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromamuted (0.063)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.60:1
White text5.83:1

Values

HEX#5F628A
RGBrgb(95, 98, 138)
HSLhsl(236, 18%, 46%)
OKLCHoklch(51% 0.063 280.6)

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 #5F628A 5.83:1 AA Lc -84.4 Fine for body text
Black text on #5F628A 3.60:1 AA large text Lc 24.9 Dividers and decoration only
#5F628A text on white 5.83:1 AA Lc 79.2 Fine for body text
#5F628A text on black 3.60:1 AA large text Lc -22.6 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D7D8E5

    oklch(88.5% 0.018 282.5)

  4. Step 300

    300

    #BCBFD5

    oklch(80.9% 0.031 279.5)

  5. Step 400

    400

    #9A9EBF

    oklch(70.7% 0.048 279.7)

  6. Step 500

    500

    #8286AF

    oklch(63.2% 0.062 280.1)

  7. Step 600

    600

    #6C6F9B

    oklch(55.7% 0.068 280.9)

  8. Step 700

    700 (this color)

    #5F628A

    oklch(51% 0.063 280.6)

  9. Step 800

    800

    #494C6B

    oklch(42.7% 0.051 279.7)

  10. Step 900

    900

    #3D3F57

    oklch(37.6% 0.041 280.5)

  11. Step 950

    950

    #242533

    oklch(27% 0.026 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#5F628A 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)#56678C0.018
Deuteranopia (no green cones)#5464890.016
Tritanopia (no blue cones)#5469700.055
Achromatopsia (no color)#6565650.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F628A

    #5F628A

    oklch(51% 0.063 280.6)

  • #6E673B

    #6E673B

    oklch(50.9% 0.063 100.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F628A

    #5F628A

    oklch(51% 0.063 280.6)

  • #4A6989

    #4A6989

    oklch(51% 0.063 249.9)

  • #725C81

    #725C81

    oklch(51.1% 0.063 311.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F628A

    #5F628A

    oklch(51% 0.063 280.6)

  • #7D603C

    #7D603C

    oklch(51% 0.064 71.6)

  • #5A6E47

    #5A6E47

    oklch(51.1% 0.063 130.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F628A

    #5F628A

    oklch(51% 0.063 280.6)

  • #865A4A

    #865A4A

    oklch(51.1% 0.064 40.8)

  • #44715A

    #44715A

    oklch(50.9% 0.062 160.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F628A

    #5F628A

    oklch(51% 0.063 280.6)

  • #86575D

    #86575D

    oklch(51% 0.063 11.2)

  • #6E673B

    #6E673B

    oklch(50.9% 0.063 100.4)

  • #35726E

    #35726E

    oklch(51.1% 0.064 189.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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