#511748

Closest named color: Grape Purple (#5D1451). oklch(31.9% 0.107 334.5), rgb(81, 23, 72).

Aa

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

About this color

#511748 is a dark, moderately saturated purple. In OKLCH its lightness is 32%, its chroma 0.107 and its hue 335°. 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.40:1.

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

Values

HEX#511748
RGBrgb(81, 23, 72)
HSLhsl(309, 56%, 20%)
OKLCHoklch(31.9% 0.107 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 #511748 13.40:1 AAA Lc -102.5 Preferred for body text
Black text on #511748 1.56:1 Fails Lc 0.0 Not readable
#511748 text on white 13.40:1 AAA Lc 99.2 Preferred for body text
#511748 text on black 1.56: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

    #FAE1F4

    oklch(93.6% 0.037 334.1)

  3. Step 200

    200

    #F7C8EC

    oklch(88.4% 0.071 334.5)

  4. Step 300

    300

    #F3A1E2

    oklch(81% 0.127 334.5)

  5. Step 400

    400

    #E966D3

    oklch(70.7% 0.204 334.5)

  6. Step 500

    500

    #DE28C7

    oklch(63.1% 0.26 334.3)

  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

    #870077

    oklch(42.7% 0.19 334.9)

  10. Step 900

    900

    #710064

    oklch(37.7% 0.168 334.6)

  11. Step 950

    950 (this color)

    #511748

    oklch(31.9% 0.107 334.5)

Export this scale for Tailwind in the Tailwind colors tool

#511748 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)#1629490.115
Deuteranopia (no green cones)#2A32470.098
Tritanopia (no blue cones)#551B2D0.054
Achromatopsia (no color)#2F2F2F0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #511748

    #511748

    oklch(31.9% 0.107 334.5)

  • #003E1F

    #003E1F

    oklch(31.9% 0.08 154.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511748

    #511748

    oklch(31.9% 0.107 334.5)

  • #3F205D

    #3F205D

    oklch(31.9% 0.106 304.5)

  • #5B112C

    #5B112C

    oklch(31.8% 0.107 3.9)

Open the analogous palette in the generator

Split complementary

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

  • #511748

    #511748

    oklch(31.9% 0.107 334.5)

  • #2A3900

    #2A3900

    oklch(31.9% 0.08 124.4)

  • #003C36

    #003C36

    oklch(32% 0.057 183.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511748

    #511748

    oklch(31.9% 0.107 334.5)

  • #3D3200

    #3D3200

    oklch(32% 0.066 95.6)

  • #003944

    #003944

    oklch(31.7% 0.056 215.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511748

    #511748

    oklch(31.9% 0.107 334.5)

  • #4B2900

    #4B2900

    oklch(31.8% 0.072 64.2)

  • #003E1F

    #003E1F

    oklch(31.9% 0.08 154.3)

  • #003558

    #003558

    oklch(31.8% 0.08 245.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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