#401148

Closest named color: Eggplant Purple (#430541). oklch(28.3% 0.106 321.5), rgb(64, 17, 72).

Aa

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

About this color

#401148 is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.106 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant Purple (#430541), ΔE 0.022 away. White text reads best on it, at 15.08:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.39:1
White text15.08:1

Values

HEX#401148
RGBrgb(64, 17, 72)
HSLhsl(291, 62%, 17%)
OKLCHoklch(28.3% 0.106 321.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 #401148 15.08:1 AAA Lc -104.3 Preferred for body text
Black text on #401148 1.39:1 Fails Lc 0.0 Not readable
#401148 text on white 15.08:1 AAA Lc 101.4 Preferred for body text
#401148 text on black 1.39: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

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F6E2F9

    oklch(93.6% 0.037 321.8)

  3. Step 200

    200

    #EFCBF5

    oklch(88.6% 0.069 321.5)

  4. Step 300

    300

    #E6A5F1

    oklch(80.9% 0.125 321.6)

  5. Step 400

    400

    #D86FEA

    oklch(70.8% 0.2 321.6)

  6. Step 500

    500

    #CB3BE3

    oklch(63.1% 0.255 321.5)

  7. Step 600

    600

    #B400CC

    oklch(55.6% 0.265 321.7)

  8. Step 700

    700

    #9800AD

    oklch(49.1% 0.234 321.5)

  9. Step 800

    800

    #7D008F

    oklch(42.7% 0.203 321.4)

  10. Step 900

    900

    #670E75

    oklch(37.8% 0.167 321.5)

  11. Step 950

    950 (this color)

    #401148

    oklch(28.3% 0.106 321.5)

Export this scale for Tailwind in the Tailwind colors tool

#401148 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)#01234A0.108
Deuteranopia (no green cones)#1828470.091
Tritanopia (no blue cones)#411B2B0.064
Achromatopsia (no color)#2626260.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #401148

    #401148

    oklch(28.3% 0.106 321.5)

  • #043400

    #043400

    oklch(28.3% 0.094 141.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401148

    #401148

    oklch(28.3% 0.106 321.5)

  • #2C1B58

    #2C1B58

    oklch(28.3% 0.104 291.1)

  • #4D082F

    #4D082F

    oklch(28.4% 0.106 352.1)

Open the analogous palette in the generator

Split complementary

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

  • #401148

    #401148

    oklch(28.3% 0.106 321.5)

  • #2B2C00

    #2B2C00

    oklch(28.3% 0.062 111.1)

  • #003226

    #003226

    oklch(28.2% 0.055 171.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401148

    #401148

    oklch(28.3% 0.106 321.5)

  • #382600

    #382600

    oklch(28.3% 0.058 81.5)

  • #003134

    #003134

    oklch(28.5% 0.048 201.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401148

    #401148

    oklch(28.3% 0.106 321.5)

  • #451D00

    #451D00

    oklch(28.4% 0.073 51.9)

  • #043400

    #043400

    oklch(28.3% 0.094 141.4)

  • #002E41

    #002E41

    oklch(28.3% 0.058 232)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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