#501B45

Closest named color: Grape Purple (#5D1451). oklch(32.1% 0.097 336.6), rgb(80, 27, 69).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.58:1
White text13.25:1

Values

HEX#501B45
RGBrgb(80, 27, 69)
HSLhsl(312, 50%, 21%)
OKLCHoklch(32.1% 0.097 336.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 #501B45 13.25:1 AAA Lc -102.4 Preferred for body text
Black text on #501B45 1.58:1 Fails Lc 0.0 Not readable
#501B45 text on white 13.25:1 AAA Lc 99.1 Preferred for body text
#501B45 text on black 1.58: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

    #FDF2F9

    oklch(97.2% 0.015 338.9)

  2. Step 100

    100

    #F9E2F2

    oklch(93.6% 0.033 336.7)

  3. Step 200

    200

    #F6CAE9

    oklch(88.6% 0.064 337)

  4. Step 300

    300

    #F0A4DC

    oklch(80.9% 0.114 336.7)

  5. Step 400

    400

    #E56DCB

    oklch(70.7% 0.184 336.4)

  6. Step 500

    500

    #DA3ABD

    oklch(63.1% 0.235 336.5)

  7. Step 600

    600

    #C200A7

    oklch(55.6% 0.245 336.3)

  8. Step 700

    700

    #A4008D

    oklch(49.1% 0.217 336.3)

  9. Step 800

    800

    #880074

    oklch(42.7% 0.189 336.6)

  10. Step 900

    900

    #6F0E5F

    oklch(37.7% 0.154 336.4)

  11. Step 950

    950 (this color)

    #501B45

    oklch(32.1% 0.097 336.6)

Export this scale for Tailwind in the Tailwind colors tool

#501B45 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)#1C2B460.103
Deuteranopia (no green cones)#2C33440.091
Tritanopia (no blue cones)#541E2D0.047
Achromatopsia (no color)#3030300.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #501B45

    #501B45

    oklch(32.1% 0.097 336.6)

  • #003E22

    #003E22

    oklch(32% 0.077 156.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #501B45

    #501B45

    oklch(32.1% 0.097 336.6)

  • #402259

    #402259

    oklch(32% 0.098 306.9)

  • #59172B

    #59172B

    oklch(32% 0.098 6.2)

Open the analogous palette in the generator

Split complementary

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

  • #501B45

    #501B45

    oklch(32.1% 0.097 336.6)

  • #283A00

    #283A00

    oklch(32.1% 0.082 126.5)

  • #003C37

    #003C37

    oklch(32% 0.056 185.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #501B45

    #501B45

    oklch(32.1% 0.097 336.6)

  • #3D3200

    #3D3200

    oklch(32% 0.066 95.6)

  • #003A46

    #003A46

    oklch(32.1% 0.057 216.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #501B45

    #501B45

    oklch(32.1% 0.097 336.6)

  • #4B2A00

    #4B2A00

    oklch(32% 0.071 65.7)

  • #003E22

    #003E22

    oklch(32% 0.077 156.6)

  • #00355B

    #00355B

    oklch(32% 0.084 247.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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