#400637

Closest named color: Aubergine (#3D0734). oklch(26% 0.105 335.6), rgb(64, 6, 55).

Aa

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

About this color

#400637 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.105 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.009 away. White text reads best on it, at 16.16:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.29:1
White text16.16:1

Values

HEX#400637
RGBrgb(64, 6, 55)
HSLhsl(309, 83%, 14%)
OKLCHoklch(26% 0.105 335.6)

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 #400637 16.16:1 AAA Lc -105.0 Preferred for body text
Black text on #400637 1.29:1 Fails Lc 0.0 Not readable
#400637 text on white 16.16:1 AAA Lc 102.3 Preferred for body text
#400637 text on black 1.29:1 Fails Lc 0.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 950.

  1. Step 50

    50

    #FDF1FA

    oklch(97% 0.017 334.2)

  2. Step 100

    100

    #FAE1F3

    oklch(93.5% 0.036 335.7)

  3. Step 200

    200

    #F7C9EB

    oklch(88.6% 0.068 335.6)

  4. Step 300

    300

    #F3A1E0

    oklch(80.9% 0.125 335.5)

  5. Step 400

    400

    #E868CF

    oklch(70.6% 0.197 335.6)

  6. Step 500

    500

    #DE2DC3

    oklch(63.1% 0.253 335.5)

  7. Step 600

    600

    #C200A9

    oklch(55.7% 0.247 335.7)

  8. Step 700

    700

    #A4008F

    oklch(49.2% 0.218 335.6)

  9. Step 800

    800

    #870076

    oklch(42.7% 0.19 335.3)

  10. Step 900

    900

    #710262

    oklch(37.6% 0.165 335.6)

  11. Step 950

    950 (this color)

    #400637

    oklch(26% 0.105 335.6)

Export this scale for Tailwind in the Tailwind colors tool

#400637 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)#061B380.117
Deuteranopia (no green cones)#1C24360.098
Tritanopia (no blue cones)#440B1E0.053
Achromatopsia (no color)#2121210.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #400637

    #400637

    oklch(26% 0.105 335.6)

  • #002D16

    #002D16

    oklch(26.1% 0.064 155.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #400637

    #400637

    oklch(26% 0.105 335.6)

  • #31104B

    #31104B

    oklch(26.1% 0.104 305.9)

  • #49001D

    #49001D

    oklch(26.1% 0.105 5.3)

Open the analogous palette in the generator

Split complementary

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

  • #400637

    #400637

    oklch(26% 0.105 335.6)

  • #1C2900

    #1C2900

    oklch(25.9% 0.066 125.8)

  • #002B27

    #002B27

    oklch(26% 0.046 185.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #400637

    #400637

    oklch(26% 0.105 335.6)

  • #2C2400

    #2C2400

    oklch(26.2% 0.054 96.6)

  • #002932

    #002932

    oklch(25.9% 0.046 216.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #400637

    #400637

    oklch(26% 0.105 335.6)

  • #371D00

    #371D00

    oklch(26% 0.058 64.9)

  • #002D16

    #002D16

    oklch(26.1% 0.064 155.3)

  • #002642

    #002642

    oklch(26% 0.067 245.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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