#403953

Closest named color: Onyx (#343A40). oklch(36.3% 0.045 296.5), rgb(64, 57, 83).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (36%)
Chromamuted (0.045)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.92:1
White text10.89:1

Values

HEX#403953
RGBrgb(64, 57, 83)
HSLhsl(256, 19%, 27%)
OKLCHoklch(36.3% 0.045 296.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 #403953 10.89:1 AAA Lc -99.1 Preferred for body text
Black text on #403953 1.92:1 Fails Lc 8.7 Not readable
#403953 text on white 10.89:1 AAA Lc 95.2 Preferred for body text
#403953 text on black 1.92:1 Fails Lc -7.4 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EAE9F0

    oklch(93.7% 0.009 292.8)

  3. Step 200

    200

    #DAD7E4

    oklch(88.5% 0.018 296.6)

  4. Step 300

    300

    #C2BDD4

    oklch(81% 0.032 295.6)

  5. Step 400

    400

    #A39ABF

    oklch(70.7% 0.054 296.1)

  6. Step 500

    500

    #8D81AF

    oklch(63.1% 0.069 296.3)

  7. Step 600

    600

    #776A9A

    oklch(55.5% 0.075 296.3)

  8. Step 700

    700

    #645884

    oklch(49% 0.07 296.2)

  9. Step 800

    800

    #52486B

    oklch(42.6% 0.058 297)

  10. Step 900

    900 (this color)

    #403953

    oklch(36.3% 0.045 296.5)

  11. Step 950

    950

    #282433

    oklch(27.1% 0.028 296.7)

Export this scale for Tailwind in the Tailwind colors tool

#403953 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)#333D540.023
Deuteranopia (no green cones)#343D520.023
Tritanopia (no blue cones)#3C3D420.037
Achromatopsia (no color)#3D3D3D0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #403953

    #403953

    oklch(36.3% 0.045 296.5)

  • #3C4125

    #3C4125

    oklch(36.3% 0.045 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403953

    #403953

    oklch(36.3% 0.045 296.5)

  • #333D56

    #333D56

    oklch(36.2% 0.046 267.3)

  • #4B364B

    #4B364B

    oklch(36.5% 0.045 326.5)

Open the analogous palette in the generator

Split complementary

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

  • #403953

    #403953

    oklch(36.3% 0.045 296.5)

  • #483C21

    #483C21

    oklch(36.2% 0.045 86.2)

  • #2E4430

    #2E4430

    oklch(36.2% 0.044 146.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403953

    #403953

    oklch(36.3% 0.045 296.5)

  • #503826

    #503826

    oklch(36.3% 0.045 57.6)

  • #21463D

    #21463D

    oklch(36.4% 0.046 175.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403953

    #403953

    oklch(36.3% 0.045 296.5)

  • #533531

    #533531

    oklch(36.3% 0.044 27.8)

  • #3C4125

    #3C4125

    oklch(36.3% 0.045 117)

  • #1D454A

    #1D454A

    oklch(36.4% 0.046 206.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #403953 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.