#401935

Closest named color: Aubergine (#3D0734). oklch(28.3% 0.073 339.5), rgb(64, 25, 53).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.40:1
White text14.90:1

Values

HEX#401935
RGBrgb(64, 25, 53)
HSLhsl(317, 44%, 17%)
OKLCHoklch(28.3% 0.073 339.5)

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 #401935 14.90:1 AAA Lc -104.3 Preferred for body text
Black text on #401935 1.40:1 Fails Lc 0.0 Not readable
#401935 text on white 14.90:1 AAA Lc 101.5 Preferred for body text
#401935 text on black 1.40: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

    #F6E4EF

    oklch(93.6% 0.024 340.3)

  3. Step 200

    200

    #F0CDE3

    oklch(88.4% 0.049 340.1)

  4. Step 300

    300

    #E7ABD3

    oklch(80.9% 0.087 339.3)

  5. Step 400

    400

    #D87CBC

    oklch(70.6% 0.138 339.5)

  6. Step 500

    500

    #CB57AB

    oklch(63.1% 0.176 339.5)

  7. Step 600

    600

    #B63797

    oklch(55.6% 0.192 339.2)

  8. Step 700

    700

    #9D2880

    oklch(49.2% 0.178 339.8)

  9. Step 800

    800

    #7F2368

    oklch(42.6% 0.148 339.6)

  10. Step 900

    900

    #672355

    oklch(37.7% 0.116 339.5)

  11. Step 950

    950 (this color)

    #401935

    oklch(28.3% 0.073 339.5)

Export this scale for Tailwind in the Tailwind colors tool

#401935 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)#1B23360.076
Deuteranopia (no green cones)#2629340.067
Tritanopia (no blue cones)#441A240.034
Achromatopsia (no color)#2727270.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #401935

    #401935

    oklch(28.3% 0.073 339.5)

  • #00331E

    #00331E

    oklch(28.3% 0.064 159.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401935

    #401935

    oklch(28.3% 0.073 339.5)

  • #341E44

    #341E44

    oklch(28.3% 0.072 309.2)

  • #461722

    #461722

    oklch(28.2% 0.073 8.6)

Open the analogous palette in the generator

Split complementary

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

  • #401935

    #401935

    oklch(28.3% 0.073 339.5)

  • #1E3002

    #1E3002

    oklch(28.3% 0.072 129.1)

  • #00312F

    #00312F

    oklch(28.3% 0.049 190.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401935

    #401935

    oklch(28.3% 0.073 339.5)

  • #312A00

    #312A00

    oklch(28.4% 0.059 99.5)

  • #002F3B

    #002F3B

    oklch(28.2% 0.051 220.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401935

    #401935

    oklch(28.3% 0.073 339.5)

  • #3D2300

    #3D2300

    oklch(28.3% 0.062 69)

  • #00331E

    #00331E

    oklch(28.3% 0.064 159.6)

  • #052B4C

    #052B4C

    oklch(28.3% 0.073 249.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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