#401C4B

Closest named color: Deep Violet (#490648). oklch(30.1% 0.091 317.7), rgb(64, 28, 75).

Aa

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

About this color

#401C4B is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.091 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Violet (#490648), ΔE 0.040 away. White text reads best on it, at 14.13:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest nameDeep Violet (#490648)
Black text1.48:1
White text14.13:1

Values

HEX#401C4B
RGBrgb(64, 28, 75)
HSLhsl(286, 46%, 20%)
OKLCHoklch(30.1% 0.091 317.7)

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 #401C4B 14.13:1 AAA Lc -103.6 Preferred for body text
Black text on #401C4B 1.48:1 Fails Lc 0.0 Not readable
#401C4B text on white 14.13:1 AAA Lc 100.5 Preferred for body text
#401C4B text on black 1.48: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

    #FAF3FC

    oklch(97.2% 0.014 318.7)

  2. Step 100

    100

    #F3E4F8

    oklch(93.7% 0.031 317.7)

  3. Step 200

    200

    #EACDF3

    oklch(88.4% 0.06 318.1)

  4. Step 300

    300

    #DEABEE

    oklch(81% 0.107 318)

  5. Step 400

    400

    #CC7AE5

    oklch(70.7% 0.172 317.9)

  6. Step 500

    500

    #BD51DE

    oklch(63.1% 0.22 317.4)

  7. Step 600

    600

    #A92ACB

    oklch(55.6% 0.239 317.8)

  8. Step 700

    700

    #9119B0

    oklch(49.2% 0.222 317.7)

  9. Step 800

    800

    #761A8E

    oklch(42.7% 0.184 318)

  10. Step 900

    900

    #5F1F72

    oklch(37.7% 0.143 317.4)

  11. Step 950

    950 (this color)

    #401C4B

    oklch(30.1% 0.091 317.7)

Export this scale for Tailwind in the Tailwind colors tool

#401C4B 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)#11294D0.084
Deuteranopia (no green cones)#1E2C4A0.073
Tritanopia (no blue cones)#4023300.058
Achromatopsia (no color)#2B2B2B0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #401C4B

    #401C4B

    oklch(30.1% 0.091 317.7)

  • #133801

    #133801

    oklch(30.2% 0.091 137.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #401C4B

    #401C4B

    oklch(30.1% 0.091 317.7)

  • #2D2458

    #2D2458

    oklch(30.1% 0.09 287.7)

  • #4D1636

    #4D1636

    oklch(30.1% 0.091 348.1)

Open the analogous palette in the generator

Split complementary

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

  • #401C4B

    #401C4B

    oklch(30.1% 0.091 317.7)

  • #323000

    #323000

    oklch(30.1% 0.065 107.2)

  • #003728

    #003728

    oklch(29.9% 0.06 168.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #401C4B

    #401C4B

    oklch(30.1% 0.091 317.7)

  • #3F2900

    #3F2900

    oklch(30% 0.063 77.5)

  • #003637

    #003637

    oklch(30.2% 0.051 196.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #401C4B

    #401C4B

    oklch(30.1% 0.091 317.7)

  • #4E1E00

    #4E1E00

    oklch(30.2% 0.083 47.8)

  • #133801

    #133801

    oklch(30.2% 0.091 137.8)

  • #003345

    #003345

    oklch(30% 0.059 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #401C4B 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.