#2E1F39

Closest named color: Oxford Blue (#1B263B). oklch(27% 0.051 309.8), rgb(46, 31, 57).

Aa

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

About this color

#2E1F39 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.051 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.038 away. White text reads best on it, at 15.31:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.051)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.37:1
White text15.31:1

Values

HEX#2E1F39
RGBrgb(46, 31, 57)
HSLhsl(275, 30%, 17%)
OKLCHoklch(27% 0.051 309.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 #2E1F39 15.31:1 AAA Lc -104.9 Preferred for body text
Black text on #2E1F39 1.37:1 Fails Lc 0.0 Not readable
#2E1F39 text on white 15.31:1 AAA Lc 102.2 Preferred for body text
#2E1F39 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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #E0D3EA

    oklch(88.4% 0.034 310.7)

  4. Step 300

    300

    #CCB6DE

    oklch(80.8% 0.06 309.7)

  5. Step 400

    400

    #B390CE

    oklch(70.8% 0.096 309.8)

  6. Step 500

    500

    #A073C1

    oklch(63.1% 0.123 309.8)

  7. Step 600

    600

    #8B5AAD

    oklch(55.6% 0.134 309.9)

  8. Step 700

    700

    #764A95

    oklch(49.2% 0.124 309.6)

  9. Step 800

    800

    #603D79

    oklch(42.7% 0.103 309.6)

  10. Step 900

    900

    #4E3461

    oklch(37.6% 0.08 309.6)

  11. Step 950

    950 (this color)

    #2E1F39

    oklch(27% 0.051 309.8)

Export this scale for Tailwind in the Tailwind colors tool

#2E1F39 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)#1A243A0.038
Deuteranopia (no green cones)#1D25380.035
Tritanopia (no blue cones)#2D23290.037
Achromatopsia (no color)#2525250.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E1F39

    #2E1F39

    oklch(27% 0.051 309.8)

  • #1E2B0F

    #1E2B0F

    oklch(26.9% 0.05 129.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E1F39

    #2E1F39

    oklch(27% 0.051 309.8)

  • #22233F

    #22233F

    oklch(27% 0.052 280.8)

  • #371C2E

    #371C2E

    oklch(27.1% 0.051 340.8)

Open the analogous palette in the generator

Split complementary

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

  • #2E1F39

    #2E1F39

    oklch(27% 0.051 309.8)

  • #2C2705

    #2C2705

    oklch(27% 0.051 100.9)

  • #0B2E1E

    #0B2E1E

    oklch(27.1% 0.05 160.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E1F39

    #2E1F39

    oklch(27% 0.051 309.8)

  • #362106

    #362106

    oklch(26.9% 0.051 69.2)

  • #002E2B

    #002E2B

    oklch(27.1% 0.047 188)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E1F39

    #2E1F39

    oklch(27% 0.051 309.8)

  • #3B1D13

    #3B1D13

    oklch(27% 0.05 39.1)

  • #1E2B0F

    #1E2B0F

    oklch(26.9% 0.05 129.8)

  • #002C37

    #002C37

    oklch(27.1% 0.049 219.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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