#291D63

Closest named color: Midnight Blue (#191970). oklch(29.4% 0.117 284.4), rgb(41, 29, 99).

Aa

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

About this color

#291D63 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.117 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Blue (#191970), ΔE 0.038 away. White text reads best on it, at 14.48:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.117)
Temperaturecool
Nearest nameMidnight Blue (#191970)
Black text1.45:1
White text14.48:1

Values

HEX#291D63
RGBrgb(41, 29, 99)
HSLhsl(250, 55%, 25%)
OKLCHoklch(29.4% 0.117 284.4)

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 #291D63 14.48:1 AAA Lc -103.8 Preferred for body text
Black text on #291D63 1.45:1 Fails Lc 0.0 Not readable
#291D63 text on white 14.48:1 AAA Lc 100.9 Preferred for body text
#291D63 text on black 1.45: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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E8FF

    oklch(93.7% 0.031 283.8)

  3. Step 200

    200

    #D4D5FF

    oklch(88.6% 0.058 284.1)

  4. Step 300

    300

    #B9B8FF

    oklch(80.9% 0.1 284.6)

  5. Step 400

    400

    #9790FF

    oklch(70.8% 0.159 284.4)

  6. Step 500

    500

    #806EFF

    oklch(63% 0.207 284.4)

  7. Step 600

    600

    #6E45FF

    oklch(55.7% 0.256 284.5)

  8. Step 700

    700

    #6002F8

    oklch(49.1% 0.287 284.3)

  9. Step 800

    800

    #4D14C8

    oklch(42.7% 0.238 284.2)

  10. Step 900

    900

    #3F209D

    oklch(37.7% 0.185 284.6)

  11. Step 950

    950 (this color)

    #291D63

    oklch(29.4% 0.117 284.4)

Export this scale for Tailwind in the Tailwind colors tool

#291D63 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)#002B650.053
Deuteranopia (no green cones)#0027620.051
Tritanopia (no blue cones)#0F2F3D0.098
Achromatopsia (no color)#2929290.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #291D63

    #291D63

    oklch(29.4% 0.117 284.4)

  • #312D00

    #312D00

    oklch(29.2% 0.062 104.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #291D63

    #291D63

    oklch(29.4% 0.117 284.4)

  • #002B5A

    #002B5A

    oklch(29.3% 0.096 254.8)

  • #411254

    #411254

    oklch(29.5% 0.117 314.2)

Open the analogous palette in the generator

Split complementary

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

  • #291D63

    #291D63

    oklch(29.4% 0.117 284.4)

  • #3E2700

    #3E2700

    oklch(29.4% 0.062 75.1)

  • #183500

    #183500

    oklch(29.4% 0.085 134.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #291D63

    #291D63

    oklch(29.4% 0.117 284.4)

  • #4D1A00

    #4D1A00

    oklch(29.4% 0.085 44.2)

  • #003624

    #003624

    oklch(29.5% 0.063 164.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #291D63

    #291D63

    oklch(29.4% 0.117 284.4)

  • #580019

    #580019

    oklch(29.3% 0.117 14.4)

  • #312D00

    #312D00

    oklch(29.2% 0.062 104.3)

  • #003434

    #003434

    oklch(29.4% 0.05 194.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #291D63 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.