#40143A

Closest named color: Aubergine (#3D0734). oklch(27.8% 0.087 333.3), rgb(64, 20, 58).

Aa

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

About this color

#40143A is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.087 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Aubergine (#3D0734), ΔE 0.027 away. White text reads best on it, at 15.22:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameAubergine (#3D0734)
Black text1.37:1
White text15.22:1

Values

HEX#40143A
RGBrgb(64, 20, 58)
HSLhsl(308, 52%, 16%)
OKLCHoklch(27.8% 0.087 333.3)

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 #40143A 15.22:1 AAA Lc -104.5 Preferred for body text
Black text on #40143A 1.37:1 Fails Lc 0.0 Not readable
#40143A text on white 15.22:1 AAA Lc 101.7 Preferred for body text
#40143A text on black 1.37: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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  2. Step 100

    100

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  3. Step 200

    200

    #F1CCE9

    oklch(88.5% 0.056 333.6)

  4. Step 300

    300

    #E9A8DD

    oklch(80.9% 0.102 333.1)

  5. Step 400

    400

    #DC75CB

    oklch(70.7% 0.165 333.7)

  6. Step 500

    500

    #CF4BBE

    oklch(63.1% 0.21 333.2)

  7. Step 600

    600

    #BA22AA

    oklch(55.6% 0.228 333.2)

  8. Step 700

    700

    #A00F92

    oklch(49.1% 0.212 333.2)

  9. Step 800

    800

    #821476

    oklch(42.7% 0.176 333.4)

  10. Step 900

    900

    #691B5F

    oklch(37.7% 0.137 333.6)

  11. Step 950

    950 (this color)

    #40143A

    oklch(27.8% 0.087 333.3)

Export this scale for Tailwind in the Tailwind colors tool

#40143A 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)#13213B0.091
Deuteranopia (no green cones)#2128390.079
Tritanopia (no blue cones)#4317240.045
Achromatopsia (no color)#2626260.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #40143A

    #40143A

    oklch(27.8% 0.087 333.3)

  • #003217

    #003217

    oklch(27.8% 0.071 153.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40143A

    #40143A

    oklch(27.8% 0.087 333.3)

  • #321B4B

    #321B4B

    oklch(28% 0.087 303.4)

  • #481024

    #481024

    oklch(27.7% 0.086 2.9)

Open the analogous palette in the generator

Split complementary

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

  • #40143A

    #40143A

    oklch(27.8% 0.087 333.3)

  • #222D00

    #222D00

    oklch(27.7% 0.068 122.9)

  • #00302B

    #00302B

    oklch(27.8% 0.049 184)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40143A

    #40143A

    oklch(27.8% 0.087 333.3)

  • #322700

    #322700

    oklch(27.7% 0.057 92.6)

  • #002E37

    #002E37

    oklch(27.7% 0.049 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40143A

    #40143A

    oklch(27.8% 0.087 333.3)

  • #3E2000

    #3E2000

    oklch(27.8% 0.064 62.5)

  • #003217

    #003217

    oklch(27.8% 0.071 153.6)

  • #002B47

    #002B47

    oklch(27.8% 0.068 243.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40143A 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.