#51334B

Closest named color: Purple Brown (#673A3F). oklch(36.6% 0.057 334.2), rgb(81, 51, 75).

Aa

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

About this color

#51334B is a dark, muted purple. In OKLCH its lightness is 37%, its chroma 0.057 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purple Brown (#673A3F), ΔE 0.057 away. White text reads best on it, at 10.90:1.

Hue familyPurples
Lightnessdark (37%)
Chromamuted (0.057)
Temperaturein between
Nearest namePurple Brown (#673A3F)
Black text1.92:1
White text10.90:1

Values

HEX#51334B
RGBrgb(81, 51, 75)
HSLhsl(312, 23%, 26%)
OKLCHoklch(36.6% 0.057 334.2)

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 #51334B 10.90:1 AAA Lc -99.0 Preferred for body text
Black text on #51334B 1.92:1 Fails Lc 8.7 Not readable
#51334B text on white 10.90:1 AAA Lc 95.2 Preferred for body text
#51334B 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

    #E3D4E0

    oklch(88.6% 0.023 332.4)

  4. Step 300

    300

    #D3B7CC

    oklch(81% 0.043 334.7)

  5. Step 400

    400

    #BC91B2

    oklch(70.7% 0.068 334.7)

  6. Step 500

    500

    #AA759F

    oklch(63% 0.088 334.2)

  7. Step 600

    600

    #955D8A

    oklch(55.5% 0.095 334.2)

  8. Step 700

    700

    #7F4D75

    oklch(49.2% 0.088 334.5)

  9. Step 800

    800

    #673F5F

    oklch(42.6% 0.073 334.4)

  10. Step 900

    900 (this color)

    #51334B

    oklch(36.6% 0.057 334.2)

  11. Step 950

    950

    #31202E

    oklch(27% 0.035 332.9)

Export this scale for Tailwind in the Tailwind colors tool

#51334B 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)#333A4C0.055
Deuteranopia (no green cones)#3A3E4A0.051
Tritanopia (no blue cones)#54343C0.028
Achromatopsia (no color)#3D3D3D0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #51334B

    #51334B

    oklch(36.6% 0.057 334.2)

  • #254731

    #254731

    oklch(36.5% 0.055 154.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51334B

    #51334B

    oklch(36.6% 0.057 334.2)

  • #453757

    #453757

    oklch(36.6% 0.057 303.8)

  • #58323B

    #58323B

    oklch(36.7% 0.056 4.9)

Open the analogous palette in the generator

Split complementary

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

  • #51334B

    #51334B

    oklch(36.6% 0.057 334.2)

  • #384421

    #384421

    oklch(36.6% 0.057 124.7)

  • #114842

    #114842

    oklch(36.5% 0.057 184.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51334B

    #51334B

    oklch(36.6% 0.057 334.2)

  • #483E18

    #483E18

    oklch(36.5% 0.057 94.7)

  • #104651

    #104651

    oklch(36.5% 0.057 214.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51334B

    #51334B

    oklch(36.6% 0.057 334.2)

  • #54381D

    #54381D

    oklch(36.7% 0.057 63.4)

  • #254731

    #254731

    oklch(36.5% 0.055 154.3)

  • #23425B

    #23425B

    oklch(36.7% 0.057 244.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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