#4D314A

Closest named color: Onyx (#343A40). oklch(35.6% 0.056 330.5), rgb(77, 49, 74).

Aa

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

About this color

#4D314A is a dark, muted purple. In OKLCH its lightness is 36%, its chroma 0.056 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.057 away. White text reads best on it, at 11.32:1.

Hue familyPurples
Lightnessdark (36%)
Chromamuted (0.056)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.85:1
White text11.32:1

Values

HEX#4D314A
RGBrgb(77, 49, 74)
HSLhsl(306, 22%, 25%)
OKLCHoklch(35.6% 0.056 330.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 #4D314A 11.32:1 AAA Lc -99.8 Preferred for body text
Black text on #4D314A 1.85:1 Fails Lc 7.9 Not readable
#4D314A text on white 11.32:1 AAA Lc 96.0 Preferred for body text
#4D314A text on black 1.85: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

    #F8F4F7

    oklch(97.1% 0.006 334)

  2. Step 100

    100

    #EFE7EE

    oklch(93.6% 0.013 329.6)

  3. Step 200

    200

    #E3D4E0

    oklch(88.6% 0.023 332.4)

  4. Step 300

    300

    #D1B7CE

    oklch(80.9% 0.043 329.7)

  5. Step 400

    400

    #BA92B5

    oklch(70.8% 0.068 330.5)

  6. Step 500

    500

    #A876A2

    oklch(63.1% 0.087 330.8)

  7. Step 600

    600

    #925E8D

    oklch(55.5% 0.094 330.2)

  8. Step 700

    700

    #7D4E78

    oklch(49.2% 0.087 330.6)

  9. Step 800

    800

    #654062

    oklch(42.7% 0.072 329.6)

  10. Step 900

    900 (this color)

    #4D314A

    oklch(35.6% 0.056 330.5)

  11. Step 950

    950

    #31202F

    oklch(27.1% 0.037 330.6)

Export this scale for Tailwind in the Tailwind colors tool

#4D314A 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)#30384B0.054
Deuteranopia (no green cones)#373C490.050
Tritanopia (no blue cones)#4F333A0.031
Achromatopsia (no color)#3A3A3A0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D314A

    #4D314A

    oklch(35.6% 0.056 330.5)

  • #25452C

    #25452C

    oklch(35.8% 0.058 149.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D314A

    #4D314A

    oklch(35.6% 0.056 330.5)

  • #413555

    #413555

    oklch(35.6% 0.056 300.8)

  • #542F3B

    #542F3B

    oklch(35.6% 0.056 359.5)

Open the analogous palette in the generator

Split complementary

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

  • #4D314A

    #4D314A

    oklch(35.6% 0.056 330.5)

  • #38411D

    #38411D

    oklch(35.8% 0.057 120.9)

  • #11463E

    #11463E

    oklch(35.8% 0.056 180.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D314A

    #4D314A

    oklch(35.6% 0.056 330.5)

  • #473B16

    #473B16

    oklch(35.6% 0.056 91.3)

  • #0C444D

    #0C444D

    oklch(35.7% 0.057 211)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D314A

    #4D314A

    oklch(35.6% 0.056 330.5)

  • #52351C

    #52351C

    oklch(35.7% 0.056 60.3)

  • #25452C

    #25452C

    oklch(35.8% 0.058 149.7)

  • #1E4057

    #1E4057

    oklch(35.7% 0.056 240.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4D314A 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.