#2E1B4F

Closest named color: Dark Indigo (#1F0954). oklch(27.8% 0.092 296.8), rgb(46, 27, 79).

Aa

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

About this color

#2E1B4F is a dark, moderately saturated purple. In OKLCH its lightness is 28%, its chroma 0.092 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.053 away. White text reads best on it, at 15.15:1.

Hue familyPurples
Lightnessdark (28%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameDark Indigo (#1F0954)
Black text1.38:1
White text15.15:1

Values

HEX#2E1B4F
RGBrgb(46, 27, 79)
HSLhsl(262, 49%, 21%)
OKLCHoklch(27.8% 0.092 296.8)

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 #2E1B4F 15.15:1 AAA Lc -104.6 Preferred for body text
Black text on #2E1B4F 1.38:1 Fails Lc 0.0 Not readable
#2E1B4F text on white 15.15:1 AAA Lc 101.8 Preferred for body text
#2E1B4F text on black 1.38: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

    #F6F4FE

    oklch(97.2% 0.013 295.3)

  2. Step 100

    100

    #ECE6FD

    oklch(93.6% 0.031 297.7)

  3. Step 200

    200

    #DDD2FD

    oklch(88.6% 0.06 296.9)

  4. Step 300

    300

    #C8B2FF

    oklch(81% 0.109 297)

  5. Step 400

    400

    #AD85FE

    oklch(70.6% 0.174 297)

  6. Step 500

    500

    #9B60FC

    oklch(63.1% 0.222 297)

  7. Step 600

    600

    #873EEB

    oklch(55.5% 0.241 296.9)

  8. Step 700

    700

    #732ECD

    oklch(49.2% 0.224 296.8)

  9. Step 800

    800

    #5D29A5

    oklch(42.7% 0.185 296.8)

  10. Step 900

    900

    #4C2883

    oklch(37.7% 0.145 297)

  11. Step 950

    950 (this color)

    #2E1B4F

    oklch(27.8% 0.092 296.8)

Export this scale for Tailwind in the Tailwind colors tool

#2E1B4F 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)#0026510.065
Deuteranopia (no green cones)#05254E0.061
Tritanopia (no blue cones)#2626320.070
Achromatopsia (no color)#2626260.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E1B4F

    #2E1B4F

    oklch(27.8% 0.092 296.8)

  • #262C00

    #262C00

    oklch(27.8% 0.064 117.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E1B4F

    #2E1B4F

    oklch(27.8% 0.092 296.8)

  • #142455

    #142455

    oklch(27.9% 0.092 266.7)

  • #3E143F

    #3E143F

    oklch(27.8% 0.09 326.7)

Open the analogous palette in the generator

Split complementary

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

  • #2E1B4F

    #2E1B4F

    oklch(27.8% 0.092 296.8)

  • #342600

    #342600

    oklch(27.7% 0.057 87.5)

  • #00320C

    #00320C

    oklch(27.6% 0.082 146.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E1B4F

    #2E1B4F

    oklch(27.8% 0.092 296.8)

  • #401E00

    #401E00

    oklch(27.8% 0.067 57.3)

  • #003028

    #003028

    oklch(27.7% 0.051 178)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E1B4F

    #2E1B4F

    oklch(27.8% 0.092 296.8)

  • #4C0F0D

    #4C0F0D

    oklch(27.8% 0.091 26.9)

  • #262C00

    #262C00

    oklch(27.8% 0.064 117.5)

  • #002F34

    #002F34

    oklch(27.9% 0.048 206)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2E1B4F 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.