#403656

Closest named color: Onyx (#343A40). oklch(35.8% 0.056 297.9), rgb(64, 54, 86).

Aa

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

About this color

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

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

Values

HEX#403656
RGBrgb(64, 54, 86)
HSLhsl(259, 23%, 27%)
OKLCHoklch(35.8% 0.056 297.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 #403656 11.16:1 AAA Lc -99.6 Preferred for body text
Black text on #403656 1.88:1 Fails Lc 8.1 Not readable
#403656 text on white 11.16:1 AAA Lc 95.8 Preferred for body text
#403656 text on black 1.88: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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EAE8F1

    oklch(93.5% 0.012 296.3)

  3. Step 200

    200

    #DBD6E7

    oklch(88.5% 0.024 299.3)

  4. Step 300

    300

    #C3BBD9

    oklch(80.8% 0.043 297.6)

  5. Step 400

    400

    #A598C5

    oklch(70.7% 0.066 297.9)

  6. Step 500

    500

    #8F7EB7

    oklch(63% 0.086 297.6)

  7. Step 600

    600

    #7A67A3

    oklch(55.6% 0.093 297.9)

  8. Step 700

    700

    #67558B

    oklch(49% 0.087 298.5)

  9. Step 800

    800

    #544671

    oklch(42.7% 0.071 298.3)

  10. Step 900

    900 (this color)

    #403656

    oklch(35.8% 0.056 297.9)

  11. Step 950

    950

    #282336

    oklch(27.1% 0.035 296)

Export this scale for Tailwind in the Tailwind colors tool

#403656 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)#2E3B570.031
Deuteranopia (no green cones)#303B550.029
Tritanopia (no blue cones)#3C3B420.044
Achromatopsia (no color)#3B3B3B0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #403656

    #403656

    oklch(35.8% 0.056 297.9)

  • #3A401D

    #3A401D

    oklch(35.7% 0.055 117.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403656

    #403656

    oklch(35.8% 0.056 297.9)

  • #303B5A

    #303B5A

    oklch(35.7% 0.056 268.6)

  • #4C324B

    #4C324B

    oklch(35.8% 0.054 327.9)

Open the analogous palette in the generator

Split complementary

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

  • #403656

    #403656

    oklch(35.8% 0.056 297.9)

  • #493B17

    #493B17

    oklch(35.9% 0.056 88)

  • #27452C

    #27452C

    oklch(35.9% 0.056 148.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403656

    #403656

    oklch(35.8% 0.056 297.9)

  • #52351E

    #52351E

    oklch(35.8% 0.055 58.2)

  • #14463C

    #14463C

    oklch(35.8% 0.056 177.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403656

    #403656

    oklch(35.8% 0.056 297.9)

  • #56312C

    #56312C

    oklch(35.8% 0.055 28.4)

  • #3A401D

    #3A401D

    oklch(35.7% 0.055 117.3)

  • #0D454C

    #0D454C

    oklch(35.9% 0.056 207.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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