#40102F

Closest named color: Aubergine (#3D0734). oklch(26.6% 0.084 344.6), rgb(64, 16, 47).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameAubergine (#3D0734)
Black text1.33:1
White text15.75:1

Values

HEX#40102F
RGBrgb(64, 16, 47)
HSLhsl(321, 60%, 16%)
OKLCHoklch(26.6% 0.084 344.6)

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 #40102F 15.75:1 AAA Lc -104.9 Preferred for body text
Black text on #40102F 1.33:1 Fails Lc 0.0 Not readable
#40102F text on white 15.75:1 AAA Lc 102.2 Preferred for body text
#40102F text on black 1.33: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

    #FDF2F7

    oklch(97.1% 0.013 347.9)

  2. Step 100

    100

    #F9E3EE

    oklch(93.7% 0.028 345.9)

  3. Step 200

    200

    #F5CBE2

    oklch(88.5% 0.056 344.2)

  4. Step 300

    300

    #EFA7D0

    oklch(80.9% 0.099 344.4)

  5. Step 400

    400

    #E474B8

    oklch(70.8% 0.159 344.6)

  6. Step 500

    500

    #D948A6

    oklch(63.2% 0.204 344.7)

  7. Step 600

    600

    #C41C91

    oklch(55.6% 0.222 344.7)

  8. Step 700

    700

    #A8067B

    oklch(49% 0.206 344.6)

  9. Step 800

    800

    #891064

    oklch(42.7% 0.171 344.8)

  10. Step 900

    900

    #6E1952

    oklch(37.6% 0.133 344.3)

  11. Step 950

    950 (this color)

    #40102F

    oklch(26.6% 0.084 344.6)

Export this scale for Tailwind in the Tailwind colors tool

#40102F 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)#151E300.092
Deuteranopia (no green cones)#23262E0.082
Tritanopia (no blue cones)#45101D0.036
Achromatopsia (no color)#2323230.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #40102F

    #40102F

    oklch(26.6% 0.084 344.6)

  • #002E1E

    #002E1E

    oklch(26.7% 0.057 164)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40102F

    #40102F

    oklch(26.6% 0.084 344.6)

  • #341641

    #341641

    oklch(26.6% 0.083 314.4)

  • #460E18

    #460E18

    oklch(26.7% 0.084 14.9)

Open the analogous palette in the generator

Split complementary

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

  • #40102F

    #40102F

    oklch(26.6% 0.084 344.6)

  • #132D00

    #132D00

    oklch(26.6% 0.077 134.9)

  • #002C2C

    #002C2C

    oklch(26.5% 0.045 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40102F

    #40102F

    oklch(26.6% 0.084 344.6)

  • #2A2700

    #2A2700

    oklch(26.7% 0.057 105.2)

  • #002A38

    #002A38

    oklch(26.5% 0.051 225.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40102F

    #40102F

    oklch(26.6% 0.084 344.6)

  • #352100

    #352100

    oklch(26.6% 0.056 75.7)

  • #002E1E

    #002E1E

    oklch(26.7% 0.057 164)

  • #01254D

    #01254D

    oklch(26.7% 0.084 254.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40102F 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.