#40083E

Closest named color: Eggplant Purple (#430541). oklch(26.7% 0.108 329.7), rgb(64, 8, 62).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameEggplant Purple (#430541)
Black text1.32:1
White text15.88:1

Values

HEX#40083E
RGBrgb(64, 8, 62)
HSLhsl(302, 78%, 14%)
OKLCHoklch(26.7% 0.108 329.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 #40083E 15.88:1 AAA Lc -104.8 Preferred for body text
Black text on #40083E 1.32:1 Fails Lc 0.0 Not readable
#40083E text on white 15.88:1 AAA Lc 102.1 Preferred for body text
#40083E text on black 1.32: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

    #FCF2FB

    oklch(97.1% 0.016 328.8)

  2. Step 100

    100

    #F9E2F6

    oklch(93.7% 0.036 330)

  3. Step 200

    200

    #F5C9F0

    oklch(88.6% 0.071 329.9)

  4. Step 300

    300

    #EFA2E8

    oklch(80.9% 0.127 329.9)

  5. Step 400

    400

    #E368DC

    oklch(70.6% 0.204 329.7)

  6. Step 500

    500

    #D82DD2

    oklch(63% 0.261 329.8)

  7. Step 600

    600

    #BC00B8

    oklch(55.6% 0.254 329.5)

  8. Step 700

    700

    #9F009B

    oklch(49% 0.224 329.7)

  9. Step 800

    800

    #840080

    oklch(42.8% 0.195 330)

  10. Step 900

    900

    #6E026B

    oklch(37.7% 0.17 329.8)

  11. Step 950

    950 (this color)

    #40083E

    oklch(26.7% 0.108 329.7)

Export this scale for Tailwind in the Tailwind colors tool

#40083E 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)#021D3F0.117
Deuteranopia (no green cones)#19253D0.099
Tritanopia (no blue cones)#4310230.058
Achromatopsia (no color)#2222220.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #40083E

    #40083E

    oklch(26.7% 0.108 329.7)

  • #002F10

    #002F10

    oklch(26.7% 0.074 149.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40083E

    #40083E

    oklch(26.7% 0.108 329.7)

  • #2F1251

    #2F1251

    oklch(26.6% 0.108 300.1)

  • #4B0024

    #4B0024

    oklch(26.8% 0.109 359.6)

Open the analogous palette in the generator

Split complementary

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

  • #40083E

    #40083E

    oklch(26.7% 0.108 329.7)

  • #222A00

    #222A00

    oklch(26.8% 0.064 120.1)

  • #002D26

    #002D26

    oklch(26.6% 0.049 179.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40083E

    #40083E

    oklch(26.7% 0.108 329.7)

  • #302400

    #302400

    oklch(26.7% 0.055 89.9)

  • #002C32

    #002C32

    oklch(26.8% 0.046 208.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40083E

    #40083E

    oklch(26.7% 0.108 329.7)

  • #3B1D00

    #3B1D00

    oklch(26.7% 0.062 60.4)

  • #002F10

    #002F10

    oklch(26.7% 0.074 149.7)

  • #002940

    #002940

    oklch(26.8% 0.061 239.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40083E 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.