#404165

Closest named color: Dark Grey Blue (#29465B). oklch(39.1% 0.061 282), rgb(64, 65, 101).

Aa

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

About this color

#404165 is a dark, muted purple. In OKLCH its lightness is 39%, its chroma 0.061 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.041 away. White text reads best on it, at 9.71:1.

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

Values

HEX#404165
RGBrgb(64, 65, 101)
HSLhsl(238, 22%, 32%)
OKLCHoklch(39.1% 0.061 282)

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 #404165 9.71:1 AAA Lc -96.7 Preferred for body text
Black text on #404165 2.16:1 Fails Lc 11.5 Not readable
#404165 text on white 9.71:1 AAA Lc 92.5 Preferred for body text
#404165 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

    #BBBEDE

    oklch(81% 0.045 281.1)

  5. Step 400

    400

    #999BCD

    oklch(70.6% 0.073 282.6)

  6. Step 500

    500

    #8082C1

    oklch(63% 0.094 281.9)

  7. Step 600

    600

    #6A6BAD

    oklch(55.6% 0.101 281.9)

  8. Step 700

    700

    #595994

    oklch(49.1% 0.093 282.4)

  9. Step 800

    800

    #484978

    oklch(42.6% 0.077 281.7)

  10. Step 900

    900 (this color)

    #404165

    oklch(39.1% 0.061 282)

  11. Step 950

    950

    #232439

    oklch(27% 0.039 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#404165 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)#3645660.018
Deuteranopia (no green cones)#3443640.019
Tritanopia (no blue cones)#36484E0.054
Achromatopsia (no color)#4444440.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #404165

    #404165

    oklch(39.1% 0.061 282)

  • #4C461D

    #4C461D

    oklch(39% 0.06 101.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404165

    #404165

    oklch(39.1% 0.061 282)

  • #2C4765

    #2C4765

    oklch(39.1% 0.061 252)

  • #503C5D

    #503C5D

    oklch(39.2% 0.06 311.5)

Open the analogous palette in the generator

Split complementary

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

  • #404165

    #404165

    oklch(39.1% 0.061 282)

  • #59401E

    #59401E

    oklch(39.1% 0.06 72.9)

  • #394C29

    #394C29

    oklch(39.1% 0.061 131.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404165

    #404165

    oklch(39.1% 0.061 282)

  • #613A2B

    #613A2B

    oklch(39.2% 0.061 41.7)

  • #234F3B

    #234F3B

    oklch(39% 0.06 162.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404165

    #404165

    oklch(39.1% 0.061 282)

  • #61373C

    #61373C

    oklch(39% 0.06 12.6)

  • #4C461D

    #4C461D

    oklch(39% 0.06 101.1)

  • #114F4E

    #114F4E

    oklch(39% 0.06 193.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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