#404061

Closest named color: Dark Grey Blue (#29465B). oklch(38.6% 0.056 283.5), rgb(64, 64, 97).

Aa

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

About this color

#404061 is a dark, muted purple. In OKLCH its lightness is 39%, its chroma 0.056 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.039 away. White text reads best on it, at 9.88:1.

Hue familyPurples
Lightnessdark (39%)
Chromamuted (0.056)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.12:1
White text9.88:1

Values

HEX#404061
RGBrgb(64, 64, 97)
HSLhsl(240, 20%, 32%)
OKLCHoklch(38.6% 0.056 283.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 #404061 9.88:1 AAA Lc -97.1 Preferred for body text
Black text on #404061 2.12:1 Fails Lc 11.0 Not readable
#404061 text on white 9.88:1 AAA Lc 92.9 Preferred for body text
#404061 text on black 2.12:1 Fails Lc -9.6 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D7D7E8

    oklch(88.4% 0.023 285.9)

  4. Step 300

    300

    #BCBEDB

    oklch(80.9% 0.041 282.3)

  5. Step 400

    400

    #9B9CCA

    oklch(70.8% 0.067 283.6)

  6. Step 500

    500

    #8283BC

    oklch(63.2% 0.085 282.9)

  7. Step 600

    600

    #6C6CA8

    oklch(55.7% 0.092 283)

  8. Step 700

    700

    #5A5A90

    oklch(49.2% 0.086 282.8)

  9. Step 800

    800

    #4A4975

    oklch(42.6% 0.072 283.9)

  10. Step 900

    900 (this color)

    #404061

    oklch(38.6% 0.056 283.5)

  11. Step 950

    950

    #242437

    oklch(26.9% 0.035 283.8)

Export this scale for Tailwind in the Tailwind colors tool

#404061 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)#3644620.018
Deuteranopia (no green cones)#3542600.018
Tritanopia (no blue cones)#38464C0.048
Achromatopsia (no color)#4343430.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #404061

    #404061

    oklch(38.6% 0.056 283.5)

  • #494520

    #494520

    oklch(38.5% 0.055 103.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404061

    #404061

    oklch(38.6% 0.056 283.5)

  • #2E4661

    #2E4661

    oklch(38.7% 0.055 252.1)

  • #4F3B59

    #4F3B59

    oklch(38.7% 0.056 314.1)

Open the analogous palette in the generator

Split complementary

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

  • #404061

    #404061

    oklch(38.6% 0.056 283.5)

  • #563F20

    #563F20

    oklch(38.6% 0.056 73.1)

  • #384B2B

    #384B2B

    oklch(38.8% 0.057 133.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404061

    #404061

    oklch(38.6% 0.056 283.5)

  • #5D3A2B

    #5D3A2B

    oklch(38.6% 0.056 43.9)

  • #254D3C

    #254D3C

    oklch(38.5% 0.054 164.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404061

    #404061

    oklch(38.6% 0.056 283.5)

  • #5E373B

    #5E373B

    oklch(38.6% 0.056 13.4)

  • #494520

    #494520

    oklch(38.5% 0.055 103.1)

  • #174D4C

    #174D4C

    oklch(38.5% 0.055 193.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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