#4D335E

Closest named color: Grape Purple (#5D1451). oklch(37.1% 0.078 310.9), rgb(77, 51, 94).

Aa

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

About this color

#4D335E is a dark, moderately saturated purple. In OKLCH its lightness is 37%, its chroma 0.078 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grape Purple (#5D1451), ΔE 0.071 away. White text reads best on it, at 10.76:1.

Hue familyPurples
Lightnessdark (37%)
Chromamoderately saturated (0.078)
Temperaturein between
Nearest nameGrape Purple (#5D1451)
Black text1.95:1
White text10.76:1

Values

HEX#4D335E
RGBrgb(77, 51, 94)
HSLhsl(276, 30%, 28%)
OKLCHoklch(37.1% 0.078 310.9)

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 #4D335E 10.76:1 AAA Lc -98.7 Preferred for body text
Black text on #4D335E 1.95:1 Fails Lc 9.1 Not readable
#4D335E text on white 10.76:1 AAA Lc 94.8 Preferred for body text
#4D335E text on black 1.95:1 Fails Lc -7.8 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

    #F7F4F9

    oklch(97.1% 0.007 312.3)

  2. Step 100

    100

    #EDE7F2

    oklch(93.6% 0.016 310.1)

  3. Step 200

    200

    #E0D4E9

    oklch(88.6% 0.031 311)

  4. Step 300

    300

    #CDB7DD

    oklch(81% 0.058 311)

  5. Step 400

    400

    #B390CC

    oklch(70.7% 0.094 310.6)

  6. Step 500

    500

    #A073BE

    oklch(62.9% 0.119 310.9)

  7. Step 600

    600

    #8B5BAB

    oklch(55.6% 0.13 310.5)

  8. Step 700

    700

    #764A92

    oklch(49% 0.12 310.9)

  9. Step 800

    800

    #603D77

    oklch(42.6% 0.1 310.6)

  10. Step 900

    900 (this color)

    #4D335E

    oklch(37.1% 0.078 310.9)

  11. Step 950

    950

    #2E1F38

    oklch(27% 0.049 310.9)

Export this scale for Tailwind in the Tailwind colors tool

#4D335E 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)#2A3C600.061
Deuteranopia (no green cones)#313E5D0.055
Tritanopia (no blue cones)#4B39440.054
Achromatopsia (no color)#3E3E3E0.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D335E

    #4D335E

    oklch(37.1% 0.078 310.9)

  • #314818

    #314818

    oklch(37.1% 0.078 130.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D335E

    #4D335E

    oklch(37.1% 0.078 310.9)

  • #393A68

    #393A68

    oklch(37.1% 0.078 280.9)

  • #5B2E4C

    #5B2E4C

    oklch(37.1% 0.078 341.2)

Open the analogous palette in the generator

Split complementary

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

  • #4D335E

    #4D335E

    oklch(37.1% 0.078 310.9)

  • #494100

    #494100

    oklch(37.2% 0.078 101.5)

  • #094C32

    #094C32

    oklch(37% 0.078 161)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D335E

    #4D335E

    oklch(37.1% 0.078 310.9)

  • #593803

    #593803

    oklch(37.1% 0.078 71.7)

  • #004A48

    #004A48

    oklch(37% 0.064 191.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D335E

    #4D335E

    oklch(37.1% 0.078 310.9)

  • #62301D

    #62301D

    oklch(37.1% 0.078 41)

  • #314818

    #314818

    oklch(37.1% 0.078 130.9)

  • #004859

    #004859

    oklch(37.2% 0.068 220.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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