#404166

Closest named color: Dark Grey Blue (#29465B). oklch(39.1% 0.062 281.9), rgb(64, 65, 102).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (39%)
Chromamuted (0.062)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.16:1
White text9.69:1

Values

HEX#404166
RGBrgb(64, 65, 102)
HSLhsl(238, 23%, 33%)
OKLCHoklch(39.1% 0.062 281.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 #404166 9.69:1 AAA Lc -96.6 Preferred for body text
Black text on #404166 2.16:1 Fails Lc 11.5 Not readable
#404166 text on white 9.69:1 AAA Lc 92.4 Preferred for body text
#404166 text on black 2.16:1 Fails Lc -10.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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D7EA

    oklch(88.4% 0.026 283.4)

  4. Step 300

    300

    #BBBEDF

    oklch(81% 0.046 281.2)

  5. Step 400

    400

    #999BCF

    oklch(70.7% 0.076 282.6)

  6. Step 500

    500

    #8082C2

    oklch(63.1% 0.096 281.9)

  7. Step 600

    600

    #6A6BAE

    oklch(55.6% 0.103 281.9)

  8. Step 700

    700

    #585996

    oklch(49.1% 0.097 281.5)

  9. Step 800

    800

    #48497A

    oklch(42.8% 0.08 281.5)

  10. Step 900

    900 (this color)

    #404166

    oklch(39.1% 0.062 281.9)

  11. Step 950

    950

    #232439

    oklch(27% 0.039 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#404166 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)#3546680.020
Deuteranopia (no green cones)#3443650.019
Tritanopia (no blue cones)#36484E0.055
Achromatopsia (no color)#4444440.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #404166

    #404166

    oklch(39.1% 0.062 281.9)

  • #4C461B

    #4C461B

    oklch(39% 0.062 101.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404166

    #404166

    oklch(39.1% 0.062 281.9)

  • #2C4766

    #2C4766

    oklch(39.1% 0.062 252.8)

  • #513B5E

    #513B5E

    oklch(39.1% 0.064 312.4)

Open the analogous palette in the generator

Split complementary

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

  • #404166

    #404166

    oklch(39.1% 0.062 281.9)

  • #5A401C

    #5A401C

    oklch(39.2% 0.063 73)

  • #394C28

    #394C28

    oklch(39% 0.062 131.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404166

    #404166

    oklch(39.1% 0.062 281.9)

  • #613A2A

    #613A2A

    oklch(39.1% 0.061 42.9)

  • #22503B

    #22503B

    oklch(39.2% 0.063 161.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404166

    #404166

    oklch(39.1% 0.062 281.9)

  • #62373C

    #62373C

    oklch(39.1% 0.062 12.8)

  • #4C461B

    #4C461B

    oklch(39% 0.062 101.4)

  • #0D504E

    #0D504E

    oklch(39.2% 0.063 191.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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