#403752

Closest named color: Onyx (#343A40). oklch(35.8% 0.047 299.3), rgb(64, 55, 82).

Aa

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

About this color

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

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

Values

HEX#403752
RGBrgb(64, 55, 82)
HSLhsl(260, 20%, 27%)
OKLCHoklch(35.8% 0.047 299.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 #403752 11.13:1 AAA Lc -99.5 Preferred for body text
Black text on #403752 1.88:1 Fails Lc 8.2 Not readable
#403752 text on white 11.13:1 AAA Lc 95.7 Preferred for body text
#403752 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DBD6E5

    oklch(88.5% 0.021 301.1)

  4. Step 300

    300

    #C3BCD5

    oklch(80.9% 0.036 298.4)

  5. Step 400

    400

    #A599C0

    oklch(70.7% 0.058 299)

  6. Step 500

    500

    #8F80B0

    oklch(63.1% 0.073 298.6)

  7. Step 600

    600

    #7A699B

    oklch(55.6% 0.078 299.5)

  8. Step 700

    700

    #675785

    oklch(49.1% 0.074 299.7)

  9. Step 800

    800

    #54476C

    oklch(42.7% 0.062 299.9)

  10. Step 900

    900 (this color)

    #403752

    oklch(35.8% 0.047 299.3)

  11. Step 950

    950

    #282333

    oklch(26.9% 0.03 298.7)

Export this scale for Tailwind in the Tailwind colors tool

#403752 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)#313B530.026
Deuteranopia (no green cones)#323B510.025
Tritanopia (no blue cones)#3D3B410.037
Achromatopsia (no color)#3B3B3B0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #403752

    #403752

    oklch(35.8% 0.047 299.3)

  • #3A4023

    #3A4023

    oklch(35.8% 0.047 118.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403752

    #403752

    oklch(35.8% 0.047 299.3)

  • #323B56

    #323B56

    oklch(35.7% 0.049 269.7)

  • #4B3449

    #4B3449

    oklch(36% 0.047 329.5)

Open the analogous palette in the generator

Split complementary

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

  • #403752

    #403752

    oklch(35.8% 0.047 299.3)

  • #463B1E

    #463B1E

    oklch(35.6% 0.047 89.2)

  • #2A442F

    #2A442F

    oklch(35.9% 0.048 149.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403752

    #403752

    oklch(35.8% 0.047 299.3)

  • #4F3623

    #4F3623

    oklch(35.7% 0.047 57.8)

  • #1D453D

    #1D453D

    oklch(35.9% 0.048 178.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403752

    #403752

    oklch(35.8% 0.047 299.3)

  • #53332E

    #53332E

    oklch(35.8% 0.048 29.3)

  • #3A4023

    #3A4023

    oklch(35.8% 0.047 118.4)

  • #1A434A

    #1A434A

    oklch(35.7% 0.047 210.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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