#51295F

Closest named color: Grape Purple (#5D1451). oklch(35.9% 0.1 316.7), rgb(81, 41, 95).

Aa

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

About this color

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

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

Values

HEX#51295F
RGBrgb(81, 41, 95)
HSLhsl(284, 40%, 27%)
OKLCHoklch(35.9% 0.1 316.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 #51295F 11.46:1 AAA Lc -99.8 Preferred for body text
Black text on #51295F 1.83:1 Fails Lc 7.8 Not readable
#51295F text on white 11.46:1 AAA Lc 96.1 Preferred for body text
#51295F text on black 1.83: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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E4D1EC

    oklch(88.4% 0.042 316)

  4. Step 300

    300

    #D4B2E1

    oklch(80.8% 0.075 316.6)

  5. Step 400

    400

    #BE88D2

    oklch(70.6% 0.12 316.6)

  6. Step 500

    500

    #AE68C6

    oklch(63.1% 0.154 317)

  7. Step 600

    600

    #994DB3

    oklch(55.6% 0.168 316.7)

  8. Step 700

    700

    #823E9A

    oklch(49.1% 0.155 316.4)

  9. Step 800

    800

    #6A347D

    oklch(42.8% 0.128 316.5)

  10. Step 900

    900 (this color)

    #51295F

    oklch(35.9% 0.1 316.7)

  11. Step 950

    950

    #331B3B

    oklch(27% 0.065 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#51295F 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)#1D37610.090
Deuteranopia (no green cones)#2A3B5E0.080
Tritanopia (no blue cones)#5031400.064
Achromatopsia (no color)#3A3A3A0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #51295F

    #51295F

    oklch(35.9% 0.1 316.7)

  • #214808

    #214808

    oklch(35.9% 0.1 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51295F

    #51295F

    oklch(35.9% 0.1 316.7)

  • #3A326E

    #3A326E

    oklch(35.9% 0.1 286.3)

  • #602347

    #602347

    oklch(35.9% 0.099 346.8)

Open the analogous palette in the generator

Split complementary

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

  • #51295F

    #51295F

    oklch(35.9% 0.1 316.7)

  • #423F00

    #423F00

    oklch(35.9% 0.077 106.7)

  • #004934

    #004934

    oklch(36% 0.074 166.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51295F

    #51295F

    oklch(35.9% 0.1 316.7)

  • #533600

    #533600

    oklch(35.8% 0.075 75.7)

  • #004647

    #004647

    oklch(35.7% 0.061 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51295F

    #51295F

    oklch(35.9% 0.1 316.7)

  • #652800

    #652800

    oklch(35.9% 0.1 46.9)

  • #214808

    #214808

    oklch(35.9% 0.1 136.5)

  • #004358

    #004358

    oklch(35.7% 0.069 226.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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