#501B4A

Closest named color: Grape Purple (#5D1451). oklch(32.3% 0.102 332.3), rgb(80, 27, 74).

Aa

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

About this color

#501B4A is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.102 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.032 away. White text reads best on it, at 13.15:1.

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.59:1
White text13.15:1

Values

HEX#501B4A
RGBrgb(80, 27, 74)
HSLhsl(307, 50%, 21%)
OKLCHoklch(32.3% 0.102 332.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 #501B4A 13.15:1 AAA Lc -102.3 Preferred for body text
Black text on #501B4A 1.59:1 Fails Lc 0.0 Not readable
#501B4A text on white 13.15:1 AAA Lc 98.9 Preferred for body text
#501B4A text on black 1.59: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

    #FCF2FA

    oklch(97.1% 0.015 332.2)

  2. Step 100

    100

    #F9E2F4

    oklch(93.7% 0.034 333.2)

  3. Step 200

    200

    #F5C9ED

    oklch(88.5% 0.068 332.4)

  4. Step 300

    300

    #EFA3E3

    oklch(80.9% 0.121 332.4)

  5. Step 400

    400

    #E36CD4

    oklch(70.7% 0.192 332.4)

  6. Step 500

    500

    #D836C9

    oklch(63.1% 0.246 332.3)

  7. Step 600

    600

    #BF00B1

    oklch(55.6% 0.25 332.4)

  8. Step 700

    700

    #A10096

    oklch(49.1% 0.221 332.1)

  9. Step 800

    800

    #85007B

    oklch(42.6% 0.192 332.4)

  10. Step 900

    900

    #6E0A66

    oklch(37.7% 0.161 332.2)

  11. Step 950

    950 (this color)

    #501B4A

    oklch(32.3% 0.102 332.3)

Export this scale for Tailwind in the Tailwind colors tool

#501B4A 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)#192B4B0.106
Deuteranopia (no green cones)#2A33490.093
Tritanopia (no blue cones)#541F2F0.054
Achromatopsia (no color)#3030300.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #501B4A

    #501B4A

    oklch(32.3% 0.102 332.3)

  • #003F1D

    #003F1D

    oklch(32.2% 0.084 152.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #501B4A

    #501B4A

    oklch(32.3% 0.102 332.3)

  • #3E235E

    #3E235E

    oklch(32.3% 0.102 302.1)

  • #5B162F

    #5B162F

    oklch(32.4% 0.102 2.8)

Open the analogous palette in the generator

Split complementary

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

  • #501B4A

    #501B4A

    oklch(32.3% 0.102 332.3)

  • #2D3A00

    #2D3A00

    oklch(32.5% 0.079 122.5)

  • #003D36

    #003D36

    oklch(32.3% 0.058 182.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #501B4A

    #501B4A

    oklch(32.3% 0.102 332.3)

  • #403200

    #403200

    oklch(32.3% 0.066 91.6)

  • #003B45

    #003B45

    oklch(32.4% 0.057 213.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #501B4A

    #501B4A

    oklch(32.3% 0.102 332.3)

  • #4E2900

    #4E2900

    oklch(32.3% 0.075 61.5)

  • #003F1D

    #003F1D

    oklch(32.2% 0.084 152.6)

  • #003757

    #003757

    oklch(32.3% 0.077 242.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #501B4A 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.