#5F13B6

Closest named color: Chrysanthemum (#560BAD). oklch(42.6% 0.22 295.6), rgb(95, 19, 182).

Aa

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

About this color

#5F13B6 is a dark, vivid purple. In OKLCH its lightness is 43%, its chroma 0.220 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Chrysanthemum (#560BAD), ΔE 0.025 away. White text reads best on it, at 9.31:1.

Hue familyPurples
Lightnessdark (43%)
Chromavivid (0.220)
Temperaturein between
Nearest nameChrysanthemum (#560BAD)
Black text2.25:1
White text9.31:1

Values

HEX#5F13B6
RGBrgb(95, 19, 182)
HSLhsl(268, 81%, 39%)
OKLCHoklch(42.6% 0.22 295.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 #5F13B6 9.31:1 AAA Lc -94.3 Preferred for body text
Black text on #5F13B6 2.25:1 Fails Lc 14.1 Not readable
#5F13B6 text on white 9.31:1 AAA Lc 89.8 Fine for body text
#5F13B6 text on black 2.25:1 Fails Lc -12.4 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

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FF

    oklch(93.6% 0.034 294.9)

  3. Step 200

    200

    #DCD1FF

    oklch(88.4% 0.064 296)

  4. Step 300

    300

    #C6B2FF

    oklch(80.8% 0.109 295.8)

  5. Step 400

    400

    #AB86FF

    oklch(70.7% 0.173 295.7)

  6. Step 500

    500

    #9960FF

    oklch(63.1% 0.225 295.8)

  7. Step 600

    600

    #8928FF

    oklch(55.6% 0.279 295.7)

  8. Step 700

    700

    #7606E2

    oklch(49.2% 0.266 295.7)

  9. Step 800

    800 (this color)

    #5F13B6

    oklch(42.6% 0.22 295.6)

  10. Step 900

    900

    #4D1E90

    oklch(37.7% 0.172 295.6)

  11. Step 950

    950

    #2D1454

    oklch(27% 0.109 296.1)

Export this scale for Tailwind in the Tailwind colors tool

#5F13B6 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)#0048BA0.127
Deuteranopia (no green cones)#0044B30.125
Tritanopia (no blue cones)#45496B0.167
Achromatopsia (no color)#4747470.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F13B6

    #5F13B6

    oklch(42.6% 0.22 295.6)

  • #4D5500

    #4D5500

    oklch(42.8% 0.098 115.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F13B6

    #5F13B6

    oklch(42.6% 0.22 295.6)

  • #1536C4

    #1536C4

    oklch(42.6% 0.22 265.6)

  • #800087

    #800087

    oklch(42.6% 0.198 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F13B6

    #5F13B6

    oklch(42.6% 0.22 295.6)

  • #644A00

    #644A00

    oklch(42.5% 0.087 85.4)

  • #006019

    #006019

    oklch(42.5% 0.131 145.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F13B6

    #5F13B6

    oklch(42.6% 0.22 295.6)

  • #793C00

    #793C00

    oklch(42.6% 0.105 55.3)

  • #005D4D

    #005D4D

    oklch(42.7% 0.08 175.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F13B6

    #5F13B6

    oklch(42.6% 0.22 295.6)

  • #970013

    #970013

    oklch(42.6% 0.173 25.6)

  • #4D5500

    #4D5500

    oklch(42.8% 0.098 115.9)

  • #005A62

    #005A62

    oklch(42.7% 0.073 205.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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