#5F386D

Closest named color: Dark Slate Blue (#483D8B). oklch(41.1% 0.097 316.6), rgb(95, 56, 109).

Aa

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

About this color

#5F386D is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.097 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.065 away. White text reads best on it, at 9.23:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameDark Slate Blue (#483D8B)
Black text2.27:1
White text9.23:1

Values

HEX#5F386D
RGBrgb(95, 56, 109)
HSLhsl(284, 32%, 32%)
OKLCHoklch(41.1% 0.097 316.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 #5F386D 9.23:1 AAA Lc -95.4 Preferred for body text
Black text on #5F386D 2.27:1 Fails Lc 12.9 Not readable
#5F386D text on white 9.23:1 AAA Lc 91.1 Preferred for body text
#5F386D text on black 2.27:1 Fails Lc -11.3 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EEE7F1

    oklch(93.6% 0.015 316)

  3. Step 200

    200

    #E2D3E7

    oklch(88.5% 0.031 317.7)

  4. Step 300

    300

    #D0B6D9

    oklch(80.9% 0.056 317.4)

  5. Step 400

    400

    #B78FC6

    oklch(70.6% 0.09 316.6)

  6. Step 500

    500

    #A572B8

    oklch(63% 0.116 316.5)

  7. Step 600

    600

    #905AA4

    oklch(55.6% 0.125 316.4)

  8. Step 700

    700

    #7B498C

    oklch(49.1% 0.117 317.1)

  9. Step 800

    800 (this color)

    #5F386D

    oklch(41.1% 0.097 316.6)

  10. Step 900

    900

    #51345C

    oklch(37.6% 0.075 316.3)

  11. Step 950

    950

    #301F36

    oklch(27.1% 0.047 317)

Export this scale for Tailwind in the Tailwind colors tool

#5F386D 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)#2E456F0.084
Deuteranopia (no green cones)#39496C0.076
Tritanopia (no blue cones)#5F3F4D0.063
Achromatopsia (no color)#4747470.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F386D

    #5F386D

    oklch(41.1% 0.097 316.6)

  • #30561C

    #30561C

    oklch(41.1% 0.097 136.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F386D

    #5F386D

    oklch(41.1% 0.097 316.6)

  • #48417C

    #48417C

    oklch(41.2% 0.096 286.8)

  • #6F3255

    #6F3255

    oklch(41.1% 0.097 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #5F386D

    #5F386D

    oklch(41.1% 0.097 316.6)

  • #514D00

    #514D00

    oklch(41.1% 0.088 106.2)

  • #005940

    #005940

    oklch(41.1% 0.085 166.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F386D

    #5F386D

    oklch(41.1% 0.097 316.6)

  • #644300

    #644300

    oklch(41% 0.086 77)

  • #005657

    #005657

    oklch(41.1% 0.07 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F386D

    #5F386D

    oklch(41.1% 0.097 316.6)

  • #743715

    #743715

    oklch(41.1% 0.097 46.7)

  • #30561C

    #30561C

    oklch(41.1% 0.097 136.4)

  • #00526B

    #00526B

    oklch(40.9% 0.079 226.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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