#51245A

Closest named color: Grape Purple (#5D1451). oklch(34.7% 0.103 320.7), rgb(81, 36, 90).

Aa

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

About this color

#51245A is a dark, moderately saturated purple. In OKLCH its lightness is 35%, its chroma 0.103 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.038 away. White text reads best on it, at 12.00:1.

Hue familyPurples
Lightnessdark (35%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.74:1
White text12.00:1

Values

HEX#51245A
RGBrgb(81, 36, 90)
HSLhsl(290, 43%, 25%)
OKLCHoklch(34.7% 0.103 320.7)

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 #51245A 12.00:1 AAA Lc -100.7 Preferred for body text
Black text on #51245A 1.74:1 Fails Lc 0.0 Not readable
#51245A text on white 12.00:1 AAA Lc 97.1 Preferred for body text
#51245A text on black 1.74: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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F3

    oklch(93.5% 0.023 321.4)

  3. Step 200

    200

    #E7D0EB

    oklch(88.5% 0.044 321.2)

  4. Step 300

    300

    #D8B1E0

    oklch(81% 0.077 320.5)

  5. Step 400

    400

    #C386D0

    oklch(70.7% 0.124 320.4)

  6. Step 500

    500

    #B365C3

    oklch(63% 0.158 320.6)

  7. Step 600

    600

    #9F4AAF

    oklch(55.7% 0.171 321.1)

  8. Step 700

    700

    #873A97

    oklch(49.1% 0.16 320.4)

  9. Step 800

    800

    #6E317A

    oklch(42.7% 0.132 320.8)

  10. Step 900

    900 (this color)

    #51245A

    oklch(34.7% 0.103 320.7)

  11. Step 950

    950

    #341A3A

    oklch(26.9% 0.066 319.9)

Export this scale for Tailwind in the Tailwind colors tool

#51245A 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)#1A335C0.098
Deuteranopia (no green cones)#2938590.086
Tritanopia (no blue cones)#522C3B0.064
Achromatopsia (no color)#3636360.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #51245A

    #51245A

    oklch(34.7% 0.103 320.7)

  • #14460A

    #14460A

    oklch(34.7% 0.103 140.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51245A

    #51245A

    oklch(34.7% 0.103 320.7)

  • #3B2D6B

    #3B2D6B

    oklch(34.8% 0.104 290.4)

  • #5F1E41

    #5F1E41

    oklch(34.8% 0.103 350.4)

Open the analogous palette in the generator

Split complementary

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

  • #51245A

    #51245A

    oklch(34.7% 0.103 320.7)

  • #3C3D00

    #3C3D00

    oklch(34.7% 0.076 110.8)

  • #004535

    #004535

    oklch(34.8% 0.068 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51245A

    #51245A

    oklch(34.7% 0.103 320.7)

  • #4D3500

    #4D3500

    oklch(34.8% 0.072 80.6)

  • #004346

    #004346

    oklch(34.8% 0.059 199.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51245A

    #51245A

    oklch(34.7% 0.103 320.7)

  • #5E2900

    #5E2900

    oklch(34.9% 0.091 50.9)

  • #14460A

    #14460A

    oklch(34.7% 0.103 140.8)

  • #004057

    #004057

    oklch(34.8% 0.069 230.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51245A 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.