#403349

Closest named color: Onyx (#343A40). oklch(34.4% 0.041 311.1), rgb(64, 51, 73).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (34%)
Chromamuted (0.041)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.78:1
White text11.74:1

Values

HEX#403349
RGBrgb(64, 51, 73)
HSLhsl(275, 18%, 24%)
OKLCHoklch(34.4% 0.041 311.1)

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 #403349 11.74:1 AAA Lc -100.6 Preferred for body text
Black text on #403349 1.78:1 Fails Lc 0.0 Not readable
#403349 text on white 11.74:1 AAA Lc 97.0 Preferred for body text
#403349 text on black 1.78: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

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DDD6E2

    oklch(88.5% 0.018 311.6)

  4. Step 300

    300

    #C7BBD0

    oklch(80.8% 0.032 310.9)

  5. Step 400

    400

    #AB98B8

    oklch(70.7% 0.051 311.6)

  6. Step 500

    500

    #967FA6

    oklch(63.1% 0.063 311.2)

  7. Step 600

    600

    #806891

    oklch(55.6% 0.068 310.8)

  8. Step 700

    700

    #6C567C

    oklch(49% 0.065 310.5)

  9. Step 800

    800

    #584765

    oklch(42.7% 0.053 310)

  10. Step 900

    900 (this color)

    #403349

    oklch(34.4% 0.041 311.1)

  11. Step 950

    950

    #2B2330

    oklch(27.1% 0.026 312.3)

Export this scale for Tailwind in the Tailwind colors tool

#403349 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)#30374A0.029
Deuteranopia (no green cones)#3238480.028
Tritanopia (no blue cones)#3F363B0.030
Achromatopsia (no color)#3838380.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #403349

    #403349

    oklch(34.4% 0.041 311.1)

  • #313E27

    #313E27

    oklch(34.5% 0.042 132.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #403349

    #403349

    oklch(34.4% 0.041 311.1)

  • #35374E

    #35374E

    oklch(34.5% 0.04 280.2)

  • #48313F

    #48313F

    oklch(34.5% 0.04 342.3)

Open the analogous palette in the generator

Split complementary

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

  • #403349

    #403349

    oklch(34.4% 0.041 311.1)

  • #3E3A20

    #3E3A20

    oklch(34.5% 0.041 100.6)

  • #254032

    #254032

    oklch(34.5% 0.041 160.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #403349

    #403349

    oklch(34.4% 0.041 311.1)

  • #473521

    #473521

    oklch(34.4% 0.041 68.7)

  • #1C403E

    #1C403E

    oklch(34.4% 0.042 190.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #403349

    #403349

    oklch(34.4% 0.041 311.1)

  • #4C3228

    #4C3228

    oklch(34.5% 0.042 41.9)

  • #313E27

    #313E27

    oklch(34.5% 0.042 132.2)

  • #1E3E48

    #1E3E48

    oklch(34.4% 0.041 220.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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