#40425B

Closest named color: Dark Grey Blue (#29465B). oklch(38.8% 0.042 280.7), rgb(64, 66, 91).

Aa

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

About this color

#40425B is a dark, muted purple. In OKLCH its lightness is 39%, its chroma 0.042 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.033 away. White text reads best on it, at 9.77:1.

Hue familyPurples
Lightnessdark (39%)
Chromamuted (0.042)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.14:1
White text9.77:1

Values

HEX#40425B
RGBrgb(64, 66, 91)
HSLhsl(236, 17%, 30%)
OKLCHoklch(38.8% 0.042 280.7)

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 #40425B 9.77:1 AAA Lc -96.8 Preferred for body text
Black text on #40425B 2.14:1 Fails Lc 11.3 Not readable
#40425B text on white 9.77:1 AAA Lc 92.7 Preferred for body text
#40425B text on black 2.14:1 Fails Lc -9.8 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D7D8E5

    oklch(88.5% 0.018 282.5)

  4. Step 300

    300

    #BCBFD5

    oklch(80.9% 0.031 279.5)

  5. Step 400

    400

    #9A9EC0

    oklch(70.8% 0.05 279.8)

  6. Step 500

    500

    #8285B1

    oklch(63.1% 0.066 281.3)

  7. Step 600

    600

    #6B6F9C

    oklch(55.6% 0.07 279.9)

  8. Step 700

    700

    #5A5C86

    oklch(49.1% 0.067 281.5)

  9. Step 800

    800

    #494C6C

    oklch(42.7% 0.053 279.8)

  10. Step 900

    900 (this color)

    #40425B

    oklch(38.8% 0.042 280.7)

  11. Step 950

    950

    #242533

    oklch(27% 0.026 281.3)

Export this scale for Tailwind in the Tailwind colors tool

#40425B 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)#3B455C0.011
Deuteranopia (no green cones)#3A435A0.010
Tritanopia (no blue cones)#39474B0.038
Achromatopsia (no color)#4444440.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #40425B

    #40425B

    oklch(38.8% 0.042 280.7)

  • #49452A

    #49452A

    oklch(38.7% 0.042 100.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40425B

    #40425B

    oklch(38.8% 0.042 280.7)

  • #33465B

    #33465B

    oklch(38.7% 0.043 251.4)

  • #4C3E55

    #4C3E55

    oklch(38.8% 0.042 311.9)

Open the analogous palette in the generator

Split complementary

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

  • #40425B

    #40425B

    oklch(38.8% 0.042 280.7)

  • #53412B

    #53412B

    oklch(38.9% 0.042 71.7)

  • #3D4931

    #3D4931

    oklch(38.8% 0.042 129.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40425B

    #40425B

    oklch(38.8% 0.042 280.7)

  • #583D33

    #583D33

    oklch(38.8% 0.042 41.2)

  • #304C3D

    #304C3D

    oklch(38.9% 0.043 160.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40425B

    #40425B

    oklch(38.8% 0.042 280.7)

  • #593B3F

    #593B3F

    oklch(38.8% 0.043 10.5)

  • #49452A

    #49452A

    oklch(38.7% 0.042 100.9)

  • #274C4A

    #274C4A

    oklch(38.8% 0.043 191)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40425B 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.