#51224B

Closest named color: Grape Purple (#5D1451). oklch(33.6% 0.091 332.5), rgb(81, 34, 75).

Aa

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

About this color

#51224B is a dark, moderately saturated purple. In OKLCH its lightness is 34%, its chroma 0.091 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.037 away. White text reads best on it, at 12.49:1.

Hue familyPurples
Lightnessdark (34%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.68:1
White text12.49:1

Values

HEX#51224B
RGBrgb(81, 34, 75)
HSLhsl(308, 41%, 23%)
OKLCHoklch(33.6% 0.091 332.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 #51224B 12.49:1 AAA Lc -101.5 Preferred for body text
Black text on #51224B 1.68:1 Fails Lc 0.0 Not readable
#51224B text on white 12.49:1 AAA Lc 98.0 Preferred for body text
#51224B text on black 1.68: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 900.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5F0

    oklch(93.5% 0.02 330.7)

  3. Step 200

    200

    #E9D0E4

    oklch(88.4% 0.038 332.6)

  4. Step 300

    300

    #DCB1D4

    oklch(80.9% 0.068 332.7)

  5. Step 400

    400

    #C987BE

    oklch(70.8% 0.108 332.8)

  6. Step 500

    500

    #BA67AE

    oklch(63.2% 0.139 332.6)

  7. Step 600

    600

    #A54C99

    oklch(55.6% 0.151 332.8)

  8. Step 700

    700

    #8D3C83

    oklch(49.1% 0.142 332.5)

  9. Step 800

    800

    #73336A

    oklch(42.8% 0.116 333)

  10. Step 900

    900 (this color)

    #51224B

    oklch(33.6% 0.091 332.5)

  11. Step 950

    950

    #371B33

    oklch(27.1% 0.058 332.5)

Export this scale for Tailwind in the Tailwind colors tool

#51224B 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)#212F4C0.092
Deuteranopia (no green cones)#2F364A0.081
Tritanopia (no blue cones)#5425330.047
Achromatopsia (no color)#3434340.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #51224B

    #51224B

    oklch(33.6% 0.091 332.5)

  • #00431F

    #00431F

    oklch(33.5% 0.087 152.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51224B

    #51224B

    oklch(33.6% 0.091 332.5)

  • #40295D

    #40295D

    oklch(33.6% 0.091 302.2)

  • #5B1E33

    #5B1E33

    oklch(33.6% 0.092 2.1)

Open the analogous palette in the generator

Split complementary

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

  • #51224B

    #51224B

    oklch(33.6% 0.091 332.5)

  • #303D00

    #303D00

    oklch(33.6% 0.082 122.1)

  • #004139

    #004139

    oklch(33.7% 0.061 181.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51224B

    #51224B

    oklch(33.6% 0.091 332.5)

  • #433500

    #433500

    oklch(33.5% 0.068 92.5)

  • #003E49

    #003E49

    oklch(33.5% 0.059 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51224B

    #51224B

    oklch(33.6% 0.091 332.5)

  • #522C00

    #522C00

    oklch(33.5% 0.077 62.3)

  • #00431F

    #00431F

    oklch(33.5% 0.087 152.5)

  • #003A5C

    #003A5C

    oklch(33.4% 0.08 242.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51224B 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.