#5B0F4D

Closest named color: Grape Purple (#5D1451). oklch(33.1% 0.128 336.9), rgb(91, 15, 77).

Aa

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

About this color

#5B0F4D is a dark, moderately saturated purple. In OKLCH its lightness is 33%, its chroma 0.128 and its hue 337°. Its hue sits on the warm side of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.011 away. White text reads best on it, at 12.96:1.

Hue familyPurples
Lightnessdark (33%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.62:1
White text12.96:1

Values

HEX#5B0F4D
RGBrgb(91, 15, 77)
HSLhsl(311, 72%, 21%)
OKLCHoklch(33.1% 0.128 336.9)

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 #5B0F4D 12.96:1 AAA Lc -101.5 Preferred for body text
Black text on #5B0F4D 1.62:1 Fails Lc 0.0 Not readable
#5B0F4D text on white 12.96:1 AAA Lc 98.1 Preferred for body text
#5B0F4D text on black 1.62:1 Fails Lc 0.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 900.

  1. Step 50

    50

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F1

    oklch(93.6% 0.028 336.4)

  3. Step 200

    200

    #F1CCE6

    oklch(88.4% 0.054 336.9)

  4. Step 300

    300

    #E9A9D7

    oklch(80.9% 0.095 337.1)

  5. Step 400

    400

    #DC78C3

    oklch(70.8% 0.154 337.2)

  6. Step 500

    500

    #CF4FB4

    oklch(63.1% 0.197 336.9)

  7. Step 600

    600

    #BA2BA0

    oklch(55.6% 0.214 336.7)

  8. Step 700

    700

    #A01A88

    oklch(49.1% 0.199 337.1)

  9. Step 800

    800

    #821A6F

    oklch(42.7% 0.165 336.8)

  10. Step 900

    900 (this color)

    #5B0F4D

    oklch(33.1% 0.128 336.9)

  11. Step 950

    950

    #3E1335

    oklch(27% 0.082 336.7)

Export this scale for Tailwind in the Tailwind colors tool

#5B0F4D 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)#112A4F0.142
Deuteranopia (no green cones)#2C354B0.120
Tritanopia (no blue cones)#60142D0.062
Achromatopsia (no color)#3131310.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B0F4D

    #5B0F4D

    oklch(33.1% 0.128 336.9)

  • #004124

    #004124

    oklch(33% 0.079 156.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B0F4D

    #5B0F4D

    oklch(33.1% 0.128 336.9)

  • #471B68

    #471B68

    oklch(33.1% 0.129 306.7)

  • #66052A

    #66052A

    oklch(33.1% 0.128 7.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B0F4D

    #5B0F4D

    oklch(33.1% 0.128 336.9)

  • #2A3D00

    #2A3D00

    oklch(33.1% 0.085 126.7)

  • #003F3B

    #003F3B

    oklch(33.1% 0.058 187.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B0F4D

    #5B0F4D

    oklch(33.1% 0.128 336.9)

  • #403500

    #403500

    oklch(33.1% 0.068 96.2)

  • #003D49

    #003D49

    oklch(33.2% 0.059 216)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B0F4D

    #5B0F4D

    oklch(33.1% 0.128 336.9)

  • #4E2D00

    #4E2D00

    oklch(33.1% 0.073 67.3)

  • #004124

    #004124

    oklch(33% 0.079 156.7)

  • #00385F

    #00385F

    oklch(33.1% 0.086 246.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #5B0F4D.

Similar named colors

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

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