#401034

Closest named color: Aubergine (#3D0734). oklch(26.9% 0.088 339.2), rgb(64, 16, 52).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.34:1
White text15.65:1

Values

HEX#401034
RGBrgb(64, 16, 52)
HSLhsl(315, 60%, 16%)
OKLCHoklch(26.9% 0.088 339.2)

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 #401034 15.65:1 AAA Lc -104.8 Preferred for body text
Black text on #401034 1.34:1 Fails Lc 0.0 Not readable
#401034 text on white 15.65:1 AAA Lc 102.1 Preferred for body text
#401034 text on black 1.34: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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F8E2F1

    oklch(93.5% 0.031 337.3)

  3. Step 200

    200

    #F4CBE6

    oklch(88.5% 0.058 338.9)

  4. Step 300

    300

    #EEA6D7

    oklch(80.9% 0.105 339.1)

  5. Step 400

    400

    #E272C2

    oklch(70.6% 0.168 339.3)

  6. Step 500

    500

    #D645B3

    oklch(63% 0.214 339)

  7. Step 600

    600

    #C1169E

    oklch(55.5% 0.232 339.1)

  8. Step 700

    700

    #A60087

    oklch(49.1% 0.214 339.2)

  9. Step 800

    800

    #870B6E

    oklch(42.6% 0.179 339)

  10. Step 900

    900

    #6D1859

    oklch(37.7% 0.138 339.3)

  11. Step 950

    950 (this color)

    #401034

    oklch(26.9% 0.088 339.2)

Export this scale for Tailwind in the Tailwind colors tool

#401034 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)#121F350.096
Deuteranopia (no green cones)#2126330.083
Tritanopia (no blue cones)#4412200.041
Achromatopsia (no color)#2323230.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #401034

    #401034

    oklch(26.9% 0.088 339.2)

  • #002F1B

    #002F1B

    oklch(26.9% 0.062 159.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401034

    #401034

    oklch(26.9% 0.088 339.2)

  • #331646

    #331646

    oklch(26.9% 0.089 309.5)

  • #470D1D

    #470D1D

    oklch(26.9% 0.087 9.2)

Open the analogous palette in the generator

Split complementary

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

  • #401034

    #401034

    oklch(26.9% 0.088 339.2)

  • #1B2C00

    #1B2C00

    oklch(26.8% 0.071 128.8)

  • #002D2B

    #002D2B

    oklch(26.8% 0.046 190.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401034

    #401034

    oklch(26.9% 0.088 339.2)

  • #2D2600

    #2D2600

    oklch(26.8% 0.056 98.7)

  • #002C36

    #002C36

    oklch(27% 0.048 217.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401034

    #401034

    oklch(26.9% 0.088 339.2)

  • #382000

    #382000

    oklch(26.9% 0.058 69.5)

  • #002F1B

    #002F1B

    oklch(26.9% 0.062 159.3)

  • #002749

    #002749

    oklch(26.8% 0.076 249.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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