#2E233B

Closest named color: Space Cadet (#2B2D42). oklch(28% 0.045 304.7), rgb(46, 35, 59).

Aa

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

About this color

#2E233B is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.045 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.031 away. White text reads best on it, at 14.79:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.045)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.41:1
White text14.79:1

Values

HEX#2E233B
RGBrgb(46, 35, 59)
HSLhsl(267, 26%, 18%)
OKLCHoklch(28% 0.045 304.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 #2E233B 14.79:1 AAA Lc -104.4 Preferred for body text
Black text on #2E233B 1.41:1 Fails Lc 0.0 Not readable
#2E233B text on white 14.79:1 AAA Lc 101.6 Preferred for body text
#2E233B text on black 1.41: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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #ECE7F2

    oklch(93.5% 0.016 306.4)

  3. Step 200

    200

    #DDD5EA

    oklch(88.6% 0.03 303)

  4. Step 300

    300

    #C8B8DD

    oklch(80.8% 0.054 304.8)

  5. Step 400

    400

    #AD93CC

    oklch(70.7% 0.086 305.1)

  6. Step 500

    500

    #9978BF

    oklch(63.2% 0.11 304.8)

  7. Step 600

    600

    #835FAB

    oklch(55.5% 0.12 304.6)

  8. Step 700

    700

    #6F4F93

    oklch(49.2% 0.11 304.4)

  9. Step 800

    800

    #5B4177

    oklch(42.8% 0.091 305.1)

  10. Step 900

    900

    #4A3760

    oklch(37.6% 0.072 304.5)

  11. Step 950

    950 (this color)

    #2E233B

    oklch(28% 0.045 304.7)

Export this scale for Tailwind in the Tailwind colors tool

#2E233B 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)#1E273C0.029
Deuteranopia (no green cones)#20283A0.029
Tritanopia (no blue cones)#2C272C0.035
Achromatopsia (no color)#2828280.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E233B

    #2E233B

    oklch(28% 0.045 304.7)

  • #242D13

    #242D13

    oklch(28.1% 0.045 124.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E233B

    #2E233B

    oklch(28% 0.045 304.7)

  • #22273F

    #22273F

    oklch(28% 0.045 274.2)

  • #372032

    #372032

    oklch(28.1% 0.046 335)

Open the analogous palette in the generator

Split complementary

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

  • #2E233B

    #2E233B

    oklch(28% 0.045 304.7)

  • #30290C

    #30290C

    oklch(28.2% 0.045 95.7)

  • #152F1F

    #152F1F

    oklch(27.9% 0.044 155.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E233B

    #2E233B

    oklch(28% 0.045 304.7)

  • #38240F

    #38240F

    oklch(28% 0.045 65.4)

  • #06302C

    #06302C

    oklch(28% 0.045 185.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E233B

    #2E233B

    oklch(28% 0.045 304.7)

  • #3C2019

    #3C2019

    oklch(27.9% 0.046 34.9)

  • #242D13

    #242D13

    oklch(28.1% 0.045 124.9)

  • #052E37

    #052E37

    oklch(27.9% 0.046 216.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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