#51295A

Closest named color: Grape Purple (#5D1451). oklch(35.5% 0.094 320), rgb(81, 41, 90).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.81:1
White text11.57:1

Values

HEX#51295A
RGBrgb(81, 41, 90)
HSLhsl(289, 37%, 26%)
OKLCHoklch(35.5% 0.094 320)

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 #51295A 11.57:1 AAA Lc -100.0 Preferred for body text
Black text on #51295A 1.81:1 Fails Lc 7.6 Not readable
#51295A text on white 11.57:1 AAA Lc 96.3 Preferred for body text
#51295A text on black 1.81: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

    #F8F3F9

    oklch(97% 0.01 320.5)

  2. Step 100

    100

    #F0E6F3

    oklch(93.7% 0.02 318.4)

  3. Step 200

    200

    #E5D1EA

    oklch(88.5% 0.04 319.5)

  4. Step 300

    300

    #D5B2DD

    oklch(80.8% 0.071 320)

  5. Step 400

    400

    #C089CC

    oklch(70.7% 0.113 320.3)

  6. Step 500

    500

    #AF6ABF

    oklch(63.1% 0.143 319.9)

  7. Step 600

    600

    #9A4FAB

    oklch(55.5% 0.157 319.9)

  8. Step 700

    700

    #843F93

    oklch(49.1% 0.147 320.2)

  9. Step 800

    800

    #6B3577

    oklch(42.7% 0.12 320.1)

  10. Step 900

    900 (this color)

    #51295A

    oklch(35.5% 0.094 320)

  11. Step 950

    950

    #331C38

    oklch(27% 0.059 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#51295A 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)#21365C0.086
Deuteranopia (no green cones)#2D3A590.076
Tritanopia (no blue cones)#52303D0.060
Achromatopsia (no color)#3939390.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #51295A

    #51295A

    oklch(35.5% 0.094 320)

  • #1D4712

    #1D4712

    oklch(35.5% 0.094 139.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51295A

    #51295A

    oklch(35.5% 0.094 320)

  • #3C3169

    #3C3169

    oklch(35.5% 0.094 289.8)

  • #5E2443

    #5E2443

    oklch(35.6% 0.093 349.6)

Open the analogous palette in the generator

Split complementary

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

  • #51295A

    #51295A

    oklch(35.5% 0.094 320)

  • #3F3F00

    #3F3F00

    oklch(35.6% 0.078 109.8)

  • #004736

    #004736

    oklch(35.4% 0.07 170.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51295A

    #51295A

    oklch(35.5% 0.094 320)

  • #503700

    #503700

    oklch(35.6% 0.074 80.3)

  • #004548

    #004548

    oklch(35.5% 0.06 199.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51295A

    #51295A

    oklch(35.5% 0.094 320)

  • #612A00

    #612A00

    oklch(35.6% 0.094 50.4)

  • #1D4712

    #1D4712

    oklch(35.5% 0.094 139.8)

  • #00425A

    #00425A

    oklch(35.5% 0.071 230.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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