#5F3F88

Closest named color: Rebecca Purple (#663399). oklch(43.9% 0.119 302), rgb(95, 63, 136).

Aa

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

About this color

#5F3F88 is a dark, moderately saturated purple. In OKLCH its lightness is 44%, its chroma 0.119 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.041 away. White text reads best on it, at 8.22:1.

Hue familyPurples
Lightnessdark (44%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.55:1
White text8.22:1

Values

HEX#5F3F88
RGBrgb(95, 63, 136)
HSLhsl(266, 37%, 39%)
OKLCHoklch(43.9% 0.119 302)

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 #5F3F88 8.22:1 AAA Lc -92.8 Preferred for body text
Black text on #5F3F88 2.55:1 Fails Lc 15.8 Dividers and decoration only
#5F3F88 text on white 8.22:1 AAA Lc 88.2 Fine for body text
#5F3F88 text on black 2.55:1 Fails Lc -14.0 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F5

    oklch(93.6% 0.019 302.2)

  3. Step 200

    200

    #DDD4EF

    oklch(88.5% 0.038 300.8)

  4. Step 300

    300

    #C9B7E7

    oklch(81% 0.069 302)

  5. Step 400

    400

    #AD90DA

    oklch(70.7% 0.11 301.7)

  6. Step 500

    500

    #9A72D0

    oklch(63.1% 0.142 302.1)

  7. Step 600

    600

    #8558BD

    oklch(55.5% 0.155 302.2)

  8. Step 700

    700

    #7148A3

    oklch(49.1% 0.143 302.2)

  9. Step 800

    800 (this color)

    #5F3F88

    oklch(43.9% 0.119 302)

  10. Step 900

    900

    #4B346A

    oklch(37.8% 0.092 301.8)

  11. Step 950

    950

    #2C1F3E

    oklch(27.1% 0.058 302)

Export this scale for Tailwind in the Tailwind colors tool

#5F3F88 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)#264E8B0.086
Deuteranopia (no green cones)#2F4E860.079
Tritanopia (no blue cones)#574D5D0.091
Achromatopsia (no color)#4F4F4F0.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F3F88

    #5F3F88

    oklch(43.9% 0.119 302)

  • #495B00

    #495B00

    oklch(44% 0.107 122)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F3F88

    #5F3F88

    oklch(43.9% 0.119 302)

  • #3C4B93

    #3C4B93

    oklch(43.9% 0.119 271.8)

  • #77356F

    #77356F

    oklch(43.9% 0.12 332.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F3F88

    #5F3F88

    oklch(43.9% 0.119 302)

  • #645000

    #645000

    oklch(43.9% 0.09 92.1)

  • #006330

    #006330

    oklch(43.8% 0.115 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F3F88

    #5F3F88

    oklch(43.9% 0.119 302)

  • #794300

    #794300

    oklch(43.9% 0.101 61.8)

  • #006055

    #006055

    oklch(43.9% 0.079 181.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F3F88

    #5F3F88

    oklch(43.9% 0.119 302)

  • #883325

    #883325

    oklch(44% 0.12 31.6)

  • #495B00

    #495B00

    oklch(44% 0.107 122)

  • #005D6B

    #005D6B

    oklch(43.9% 0.077 212.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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