#404261

Closest named color: Dark Grey Blue (#29465B). oklch(39.1% 0.052 280.8), rgb(64, 66, 97).

Aa

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

About this color

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

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

Values

HEX#404261
RGBrgb(64, 66, 97)
HSLhsl(236, 20%, 32%)
OKLCHoklch(39.1% 0.052 280.8)

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 #404261 9.67:1 AAA Lc -96.6 Preferred for body text
Black text on #404261 2.16:1 Fails Lc 11.5 Not readable
#404261 text on white 9.67:1 AAA Lc 92.4 Preferred for body text
#404261 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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D6D8E8

    oklch(88.5% 0.022 280.3)

  4. Step 300

    300

    #BBBEDA

    oklch(80.8% 0.039 280.6)

  5. Step 400

    400

    #999DC8

    oklch(70.8% 0.063 280.5)

  6. Step 500

    500

    #8084BA

    oklch(63.1% 0.081 280.5)

  7. Step 600

    600

    #6A6DA6

    oklch(55.6% 0.088 280.8)

  8. Step 700

    700

    #585B8E

    oklch(49.1% 0.081 280.4)

  9. Step 800

    800

    #484A73

    oklch(42.6% 0.068 281)

  10. Step 900

    900 (this color)

    #404261

    oklch(39.1% 0.052 280.8)

  11. Step 950

    950

    #232536

    oklch(27% 0.032 278.9)

Export this scale for Tailwind in the Tailwind colors tool

#404261 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)#3946620.015
Deuteranopia (no green cones)#3743600.014
Tritanopia (no blue cones)#37484D0.047
Achromatopsia (no color)#4444440.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #404261

    #404261

    oklch(39.1% 0.052 280.8)

  • #4B4623

    #4B4623

    oklch(39% 0.053 101.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404261

    #404261

    oklch(39.1% 0.052 280.8)

  • #2F4761

    #2F4761

    oklch(39% 0.054 251.2)

  • #4E3D5A

    #4E3D5A

    oklch(39% 0.053 310.8)

Open the analogous palette in the generator

Split complementary

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

  • #404261

    #404261

    oklch(39.1% 0.052 280.8)

  • #574025

    #574025

    oklch(39% 0.052 69.8)

  • #3B4B2D

    #3B4B2D

    oklch(39% 0.052 131.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404261

    #404261

    oklch(39.1% 0.052 280.8)

  • #5D3C2F

    #5D3C2F

    oklch(39.1% 0.052 42.3)

  • #2A4E3C

    #2A4E3C

    oklch(39.1% 0.052 160.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404261

    #404261

    oklch(39.1% 0.052 280.8)

  • #5E393E

    #5E393E

    oklch(39% 0.053 11)

  • #4B4623

    #4B4623

    oklch(39% 0.053 101.3)

  • #1D4E4C

    #1D4E4C

    oklch(39% 0.052 191.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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