#401938

Closest named color: Aubergine (#3D0734). oklch(28.4% 0.076 335.9), rgb(64, 25, 56).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.41:1
White text14.84:1

Values

HEX#401938
RGBrgb(64, 25, 56)
HSLhsl(312, 44%, 17%)
OKLCHoklch(28.4% 0.076 335.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 #401938 14.84:1 AAA Lc -104.3 Preferred for body text
Black text on #401938 1.41:1 Fails Lc 0.0 Not readable
#401938 text on white 14.84:1 AAA Lc 101.4 Preferred for body text
#401938 text on black 1.41: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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F6E4F1

    oklch(93.7% 0.026 335.5)

  3. Step 200

    200

    #EFCDE6

    oklch(88.4% 0.05 335.4)

  4. Step 300

    300

    #E6ABD7

    oklch(80.9% 0.089 335.8)

  5. Step 400

    400

    #D77CC2

    oklch(70.7% 0.142 336.1)

  6. Step 500

    500

    #CA56B3

    oklch(63.2% 0.182 335.9)

  7. Step 600

    600

    #B5359F

    oklch(55.6% 0.199 335.7)

  8. Step 700

    700

    #9B2688

    oklch(49.1% 0.185 335.5)

  9. Step 800

    800

    #7E226E

    oklch(42.6% 0.153 335.8)

  10. Step 900

    900

    #662259

    oklch(37.6% 0.12 336)

  11. Step 950

    950 (this color)

    #401938

    oklch(28.4% 0.076 335.9)

Export this scale for Tailwind in the Tailwind colors tool

#401938 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)#1924390.079
Deuteranopia (no green cones)#252A370.070
Tritanopia (no blue cones)#431B260.036
Achromatopsia (no color)#2727270.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #401938

    #401938

    oklch(28.4% 0.076 335.9)

  • #00341B

    #00341B

    oklch(28.6% 0.069 156)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401938

    #401938

    oklch(28.4% 0.076 335.9)

  • #331E47

    #331E47

    oklch(28.4% 0.076 305.8)

  • #471724

    #471724

    oklch(28.5% 0.075 6.4)

Open the analogous palette in the generator

Split complementary

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

  • #401938

    #401938

    oklch(28.4% 0.076 335.9)

  • #213000

    #213000

    oklch(28.5% 0.073 126.1)

  • #00322E

    #00322E

    oklch(28.5% 0.05 186.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401938

    #401938

    oklch(28.4% 0.076 335.9)

  • #332900

    #332900

    oklch(28.4% 0.058 94.7)

  • #00303A

    #00303A

    oklch(28.5% 0.051 216.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401938

    #401938

    oklch(28.4% 0.076 335.9)

  • #3F2200

    #3F2200

    oklch(28.4% 0.064 64.9)

  • #00341B

    #00341B

    oklch(28.6% 0.069 156)

  • #002C4B

    #002C4B

    oklch(28.4% 0.072 245.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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