#40133A

Closest named color: Aubergine (#3D0734). oklch(27.7% 0.088 333.3), rgb(64, 19, 58).

Aa

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

About this color

#40133A is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.088 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.025 away. White text reads best on it, at 15.30:1.

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

Values

HEX#40133A
RGBrgb(64, 19, 58)
HSLhsl(308, 54%, 16%)
OKLCHoklch(27.7% 0.088 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 #40133A 15.30:1 AAA Lc -104.6 Preferred for body text
Black text on #40133A 1.37:1 Fails Lc 0.0 Not readable
#40133A text on white 15.30:1 AAA Lc 101.8 Preferred for body text
#40133A 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

    #F7E3F3

    oklch(93.6% 0.03 332.5)

  3. Step 200

    200

    #F2CBEA

    oklch(88.5% 0.06 333.2)

  4. Step 300

    300

    #EAA7DD

    oklch(80.9% 0.105 333.6)

  5. Step 400

    400

    #DD74CC

    oklch(70.7% 0.168 333.6)

  6. Step 500

    500

    #D049BF

    oklch(63.1% 0.214 333.2)

  7. Step 600

    600

    #BB1DAB

    oklch(55.5% 0.233 333.2)

  8. Step 700

    700

    #A10793

    oklch(49.1% 0.217 333.2)

  9. Step 800

    800

    #831177

    oklch(42.7% 0.179 333.4)

  10. Step 900

    900

    #6A1A60

    oklch(37.8% 0.139 333.5)

  11. Step 950

    950 (this color)

    #40133A

    oklch(27.7% 0.088 333.3)

Export this scale for Tailwind in the Tailwind colors tool

#40133A 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)#12213B0.093
Deuteranopia (no green cones)#2027390.081
Tritanopia (no blue cones)#4316240.045
Achromatopsia (no color)#2525250.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #40133A

    #40133A

    oklch(27.7% 0.088 333.3)

  • #003216

    #003216

    oklch(27.8% 0.072 152.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40133A

    #40133A

    oklch(27.7% 0.088 333.3)

  • #311A4B

    #311A4B

    oklch(27.7% 0.088 302.7)

  • #490F24

    #490F24

    oklch(27.8% 0.089 3)

Open the analogous palette in the generator

Split complementary

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

  • #40133A

    #40133A

    oklch(27.7% 0.088 333.3)

  • #222D00

    #222D00

    oklch(27.7% 0.068 122.9)

  • #00302A

    #00302A

    oklch(27.7% 0.05 181.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40133A

    #40133A

    oklch(27.7% 0.088 333.3)

  • #312700

    #312700

    oklch(27.6% 0.057 94.2)

  • #002E36

    #002E36

    oklch(27.7% 0.048 212.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40133A

    #40133A

    oklch(27.7% 0.088 333.3)

  • #3D2000

    #3D2000

    oklch(27.7% 0.063 63.6)

  • #003216

    #003216

    oklch(27.8% 0.072 152.8)

  • #002B46

    #002B46

    oklch(27.7% 0.067 242.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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