#511947

Closest named color: Grape Purple (#5D1451). oklch(32.1% 0.103 335.4), rgb(81, 25, 71).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (32%)
Chromamoderately saturated (0.103)
Temperaturewarm
Nearest nameGrape Purple (#5D1451)
Black text1.57:1
White text13.29:1

Values

HEX#511947
RGBrgb(81, 25, 71)
HSLhsl(311, 53%, 21%)
OKLCHoklch(32.1% 0.103 335.4)

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 #511947 13.29:1 AAA Lc -102.4 Preferred for body text
Black text on #511947 1.57:1 Fails Lc 0.0 Not readable
#511947 text on white 13.29:1 AAA Lc 99.1 Preferred for body text
#511947 text on black 1.57: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

    #FDF2FA

    oklch(97.2% 0.016 335.1)

  2. Step 100

    100

    #FAE1F3

    oklch(93.5% 0.036 335.7)

  3. Step 200

    200

    #F7C9EB

    oklch(88.6% 0.068 335.6)

  4. Step 300

    300

    #F2A2DF

    oklch(80.9% 0.122 335.7)

  5. Step 400

    400

    #E769CF

    oklch(70.6% 0.195 335.3)

  6. Step 500

    500

    #DD30C2

    oklch(63.1% 0.25 335.6)

  7. Step 600

    600

    #C100A9

    oklch(55.5% 0.246 335.4)

  8. Step 700

    700

    #A4008F

    oklch(49.2% 0.218 335.6)

  9. Step 800

    800

    #870076

    oklch(42.7% 0.19 335.3)

  10. Step 900

    900

    #710562

    oklch(37.8% 0.163 335.6)

  11. Step 950

    950 (this color)

    #511947

    oklch(32.1% 0.103 335.4)

Export this scale for Tailwind in the Tailwind colors tool

#511947 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)#192A480.110
Deuteranopia (no green cones)#2B33460.096
Tritanopia (no blue cones)#551C2D0.051
Achromatopsia (no color)#3030300.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #511947

    #511947

    oklch(32.1% 0.103 335.4)

  • #003E21

    #003E21

    oklch(32% 0.078 155.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511947

    #511947

    oklch(32.1% 0.103 335.4)

  • #40215C

    #40215C

    oklch(32.1% 0.103 305.6)

  • #5B142B

    #5B142B

    oklch(32.1% 0.104 5.8)

Open the analogous palette in the generator

Split complementary

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

  • #511947

    #511947

    oklch(32.1% 0.103 335.4)

  • #293A00

    #293A00

    oklch(32.2% 0.082 125.8)

  • #003C37

    #003C37

    oklch(32% 0.056 185.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511947

    #511947

    oklch(32.1% 0.103 335.4)

  • #3D3200

    #3D3200

    oklch(32% 0.066 95.6)

  • #003A45

    #003A45

    oklch(32.1% 0.057 215.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511947

    #511947

    oklch(32.1% 0.103 335.4)

  • #4B2A00

    #4B2A00

    oklch(32% 0.071 65.7)

  • #003E21

    #003E21

    oklch(32% 0.078 155.8)

  • #003659

    #003659

    oklch(32.1% 0.081 244.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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