#51334A

Closest named color: Purple Brown (#673A3F). oklch(36.6% 0.056 335.5), rgb(81, 51, 74).

Aa

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

About this color

#51334A is a dark, muted purple. In OKLCH its lightness is 37%, its chroma 0.056 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.056 away. White text reads best on it, at 10.92:1.

Hue familyPurples
Lightnessdark (37%)
Chromamuted (0.056)
Temperaturewarm
Nearest namePurple Brown (#673A3F)
Black text1.92:1
White text10.92:1

Values

HEX#51334A
RGBrgb(81, 51, 74)
HSLhsl(314, 23%, 26%)
OKLCHoklch(36.6% 0.056 335.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 #51334A 10.92:1 AAA Lc -99.1 Preferred for body text
Black text on #51334A 1.92:1 Fails Lc 8.7 Not readable
#51334A text on white 10.92:1 AAA Lc 95.2 Preferred for body text
#51334A text on black 1.92:1 Fails Lc -7.5 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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7ED

    oklch(93.6% 0.012 334.1)

  3. Step 200

    200

    #E4D4DF

    oklch(88.6% 0.023 336.9)

  4. Step 300

    300

    #D3B7CB

    oklch(80.9% 0.042 336.2)

  5. Step 400

    400

    #BC91B1

    oklch(70.7% 0.067 335.6)

  6. Step 500

    500

    #AA759E

    oklch(63% 0.087 335)

  7. Step 600

    600

    #955E88

    oklch(55.6% 0.092 335.8)

  8. Step 700

    700

    #7F4D74

    oklch(49.1% 0.087 335.3)

  9. Step 800

    800

    #673F5E

    oklch(42.6% 0.072 335.4)

  10. Step 900

    900 (this color)

    #51334A

    oklch(36.6% 0.056 335.5)

  11. Step 950

    950

    #31202D

    oklch(27% 0.034 335.2)

Export this scale for Tailwind in the Tailwind colors tool

#51334A 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)#333A4B0.055
Deuteranopia (no green cones)#3B3E490.050
Tritanopia (no blue cones)#54343B0.028
Achromatopsia (no color)#3D3D3D0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #51334A

    #51334A

    oklch(36.6% 0.056 335.5)

  • #244732

    #244732

    oklch(36.5% 0.055 156)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51334A

    #51334A

    oklch(36.6% 0.056 335.5)

  • #463756

    #463756

    oklch(36.6% 0.055 306)

  • #57323A

    #57323A

    oklch(36.6% 0.055 6.1)

Open the analogous palette in the generator

Split complementary

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

  • #51334A

    #51334A

    oklch(36.6% 0.056 335.5)

  • #374422

    #374422

    oklch(36.6% 0.057 126.2)

  • #124843

    #124843

    oklch(36.6% 0.056 186.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51334A

    #51334A

    oklch(36.6% 0.056 335.5)

  • #483E19

    #483E19

    oklch(36.5% 0.056 94.4)

  • #124651

    #124651

    oklch(36.6% 0.056 214.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51334A

    #51334A

    oklch(36.6% 0.056 335.5)

  • #53381D

    #53381D

    oklch(36.6% 0.056 64.5)

  • #244732

    #244732

    oklch(36.5% 0.055 156)

  • #24415A

    #24415A

    oklch(36.4% 0.056 246.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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