#403C51

Closest named color: Charcoal Grey (#3C4142). oklch(36.9% 0.036 293.3), rgb(64, 60, 81).

Aa

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

About this color

#403C51 is a dark, muted purple. In OKLCH its lightness is 37%, its chroma 0.036 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.036 away. White text reads best on it, at 10.58:1.

Hue familyPurples
Lightnessdark (37%)
Chromamuted (0.036)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text1.98:1
White text10.58:1

Values

HEX#403C51
RGBrgb(64, 60, 81)
HSLhsl(251, 15%, 28%)
OKLCHoklch(36.9% 0.036 293.3)

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 #403C51 10.58:1 AAA Lc -98.5 Preferred for body text
Black text on #403C51 1.98:1 Fails Lc 9.3 Not readable
#403C51 text on white 10.58:1 AAA Lc 94.6 Preferred for body text
#403C51 text on black 1.98:1 Fails Lc -8.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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #EAE9EF

    oklch(93.7% 0.008 293.9)

  3. Step 200

    200

    #D9D7E2

    oklch(88.4% 0.015 294.4)

  4. Step 300

    300

    #C1BED1

    oklch(81% 0.027 293)

  5. Step 400

    400

    #A19CBA

    oklch(70.7% 0.044 292.9)

  6. Step 500

    500

    #8A84A8

    oklch(63.1% 0.054 292.4)

  7. Step 600

    600

    #746D94

    oklch(55.6% 0.06 292.6)

  8. Step 700

    700

    #625B7E

    oklch(49.2% 0.056 293.4)

  9. Step 800

    800

    #504A66

    oklch(42.6% 0.046 294.2)

  10. Step 900

    900 (this color)

    #403C51

    oklch(36.9% 0.036 293.3)

  11. Step 950

    950

    #272431

    oklch(26.9% 0.024 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#403C51 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)#373F520.016
Deuteranopia (no green cones)#383E500.014
Tritanopia (no blue cones)#3D3F430.030
Achromatopsia (no color)#3F3F3F0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #403C51

    #403C51

    oklch(36.9% 0.036 293.3)

  • #3F422B

    #3F422B

    oklch(36.9% 0.037 114.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403C51

    #403C51

    oklch(36.9% 0.036 293.3)

  • #364053

    #364053

    oklch(37.1% 0.035 263.1)

  • #49394B

    #49394B

    oklch(36.9% 0.037 322.6)

Open the analogous palette in the generator

Split complementary

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

  • #403C51

    #403C51

    oklch(36.9% 0.036 293.3)

  • #493E29

    #493E29

    oklch(36.9% 0.037 83.1)

  • #344533

    #344533

    oklch(37% 0.037 143.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403C51

    #403C51

    oklch(36.9% 0.036 293.3)

  • #4F3A2E

    #4F3A2E

    oklch(36.8% 0.036 51)

  • #2B463E

    #2B463E

    oklch(37% 0.036 173.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403C51

    #403C51

    oklch(36.9% 0.036 293.3)

  • #513836

    #513836

    oklch(36.9% 0.036 24.1)

  • #3F422B

    #3F422B

    oklch(36.9% 0.037 114.3)

  • #274548

    #274548

    oklch(36.8% 0.036 203.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #403C51 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.