#511548

Closest named color: Grape Purple (#5D1451). oklch(31.6% 0.11 334.5), rgb(81, 21, 72).

Aa

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

About this color

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

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

Values

HEX#511548
RGBrgb(81, 21, 72)
HSLhsl(309, 59%, 20%)
OKLCHoklch(31.6% 0.11 334.5)

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 #511548 13.54:1 AAA Lc -102.6 Preferred for body text
Black text on #511548 1.55:1 Fails Lc 0.0 Not readable
#511548 text on white 13.54:1 AAA Lc 99.4 Preferred for body text
#511548 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

    #FDF1FA

    oklch(97% 0.017 334.2)

  2. Step 100

    100

    #FBE1F4

    oklch(93.6% 0.038 335.3)

  3. Step 200

    200

    #F8C8ED

    oklch(88.6% 0.072 334.3)

  4. Step 300

    300

    #F4A0E3

    oklch(81% 0.13 334.3)

  5. Step 400

    400

    #EA64D4

    oklch(70.6% 0.208 334.4)

  6. Step 500

    500

    #E020C8

    oklch(63.1% 0.266 334.5)

  7. Step 600

    600

    #C100AC

    oklch(55.7% 0.248 334.5)

  8. Step 700

    700

    #A30091

    oklch(49.1% 0.219 334.5)

  9. Step 800

    800

    #870078

    oklch(42.8% 0.191 334.4)

  10. Step 900

    900

    #710064

    oklch(37.7% 0.168 334.6)

  11. Step 950

    950 (this color)

    #511548

    oklch(31.6% 0.11 334.5)

Export this scale for Tailwind in the Tailwind colors tool

#511548 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)#1429490.119
Deuteranopia (no green cones)#2931470.101
Tritanopia (no blue cones)#551A2C0.056
Achromatopsia (no color)#2E2E2E0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #511548

    #511548

    oklch(31.6% 0.11 334.5)

  • #003D1F

    #003D1F

    oklch(31.6% 0.079 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511548

    #511548

    oklch(31.6% 0.11 334.5)

  • #3F1E5E

    #3F1E5E

    oklch(31.6% 0.111 304.5)

  • #5C0F2B

    #5C0F2B

    oklch(31.8% 0.11 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #511548

    #511548

    oklch(31.6% 0.11 334.5)

  • #293800

    #293800

    oklch(31.6% 0.079 124.5)

  • #003B35

    #003B35

    oklch(31.7% 0.056 183.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511548

    #511548

    oklch(31.6% 0.11 334.5)

  • #3D3100

    #3D3100

    oklch(31.7% 0.065 94)

  • #003943

    #003943

    oklch(31.7% 0.056 213.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511548

    #511548

    oklch(31.6% 0.11 334.5)

  • #4A2900

    #4A2900

    oklch(31.7% 0.071 65.1)

  • #003D1F

    #003D1F

    oklch(31.6% 0.079 154.8)

  • #003557

    #003557

    oklch(31.7% 0.079 244.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #511548 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.