#5B0742

Closest named color: Grape Purple (#5D1451). oklch(32% 0.128 344.3), rgb(91, 7, 66).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.55:1
White text13.51:1

Values

HEX#5B0742
RGBrgb(91, 7, 66)
HSLhsl(318, 86%, 19%)
OKLCHoklch(32% 0.128 344.3)

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 #5B0742 13.51:1 AAA Lc -102.1 Preferred for body text
Black text on #5B0742 1.55:1 Fails Lc 0.0 Not readable
#5B0742 text on white 13.51:1 AAA Lc 98.7 Preferred for body text
#5B0742 text on black 1.55: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 950.

  1. Step 50

    50

    #FFF1F8

    oklch(97.1% 0.018 345.6)

  2. Step 100

    100

    #FFE0F0

    oklch(93.7% 0.04 345.4)

  3. Step 200

    200

    #FFC5E5

    oklch(88.4% 0.077 344.6)

  4. Step 300

    300

    #FF9BD6

    oklch(80.9% 0.138 344.4)

  5. Step 400

    400

    #FF4FC4

    oklch(70.7% 0.239 344.2)

  6. Step 500

    500

    #ED00AF

    oklch(63.1% 0.269 344.5)

  7. Step 600

    600

    #C80094

    oklch(55.6% 0.237 344.2)

  8. Step 700

    700

    #A9007C

    oklch(49.1% 0.209 344.4)

  9. Step 800

    800

    #8C0066

    oklch(42.7% 0.182 344.5)

  10. Step 900

    900

    #760055

    oklch(37.7% 0.161 344.7)

  11. Step 950

    950 (this color)

    #5B0742

    oklch(32% 0.128 344.3)

Export this scale for Tailwind in the Tailwind colors tool

#5B0742 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)#1426430.145
Deuteranopia (no green cones)#2E33400.124
Tritanopia (no blue cones)#6206250.055
Achromatopsia (no color)#2E2E2E0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B0742

    #5B0742

    oklch(32% 0.128 344.3)

  • #003D29

    #003D29

    oklch(31.9% 0.068 164)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B0742

    #5B0742

    oklch(32% 0.128 344.3)

  • #4A155F

    #4A155F

    oklch(32.1% 0.128 314.4)

  • #64001E

    #64001E

    oklch(32% 0.128 14.1)

Open the analogous palette in the generator

Split complementary

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

  • #5B0742

    #5B0742

    oklch(32% 0.128 344.3)

  • #1D3C00

    #1D3C00

    oklch(31.9% 0.092 134.1)

  • #003B3B

    #003B3B

    oklch(31.9% 0.054 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B0742

    #5B0742

    oklch(32% 0.128 344.3)

  • #393400

    #393400

    oklch(32% 0.067 103.6)

  • #003949

    #003949

    oklch(32% 0.06 223.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B0742

    #5B0742

    oklch(32% 0.128 344.3)

  • #472D00

    #472D00

    oklch(32.1% 0.068 74.7)

  • #003D29

    #003D29

    oklch(31.9% 0.068 164)

  • #003265

    #003265

    oklch(32% 0.102 254.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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