#2B1034

Closest named color: Eggplant (#380835). oklch(23.3% 0.073 316.9), rgb(43, 16, 52).

Aa

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

About this color

#2B1034 is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.073 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.032 away. White text reads best on it, at 17.12:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.22:1
White text17.12:1

Values

HEX#2B1034
RGBrgb(43, 16, 52)
HSLhsl(285, 53%, 13%)
OKLCHoklch(23.3% 0.073 316.9)

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 #2B1034 17.12:1 AAA Lc -106.2 Preferred for body text
Black text on #2B1034 1.22:1 Fails Lc 0.0 Not readable
#2B1034 text on white 17.12:1 AAA Lc 103.8 Preferred for body text
#2B1034 text on black 1.22: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E6D0EF

    oklch(88.5% 0.048 316.2)

  4. Step 300

    300

    #D7B0E6

    oklch(80.9% 0.086 316.5)

  5. Step 400

    400

    #C384D9

    oklch(70.7% 0.137 317)

  6. Step 500

    500

    #B361CF

    oklch(63.1% 0.177 316.9)

  7. Step 600

    600

    #9E44BC

    oklch(55.6% 0.192 316.7)

  8. Step 700

    700

    #8734A2

    oklch(49% 0.179 316.7)

  9. Step 800

    800

    #6E2D83

    oklch(42.7% 0.147 317)

  10. Step 900

    900

    #592969

    oklch(37.6% 0.116 316.9)

  11. Step 950

    950 (this color)

    #2B1034

    oklch(23.3% 0.073 316.9)

Export this scale for Tailwind in the Tailwind colors tool

#2B1034 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)#071A350.068
Deuteranopia (no green cones)#111C330.059
Tritanopia (no blue cones)#2B16200.047
Achromatopsia (no color)#1C1C1C0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B1034

    #2B1034

    oklch(23.3% 0.073 316.9)

  • #0B2500

    #0B2500

    oklch(23.5% 0.071 137)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B1034

    #2B1034

    oklch(23.3% 0.073 316.9)

  • #1D163E

    #1D163E

    oklch(23.4% 0.073 287.4)

  • #350B24

    #350B24

    oklch(23.4% 0.074 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #2B1034

    #2B1034

    oklch(23.3% 0.073 316.9)

  • #211F00

    #211F00

    oklch(23.4% 0.05 106.2)

  • #002519

    #002519

    oklch(23.5% 0.048 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B1034

    #2B1034

    oklch(23.3% 0.073 316.9)

  • #2A1A00

    #2A1A00

    oklch(23.3% 0.049 77.5)

  • #002324

    #002324

    oklch(23.2% 0.04 197.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B1034

    #2B1034

    oklch(23.3% 0.073 316.9)

  • #351100

    #351100

    oklch(23.3% 0.065 46.3)

  • #0B2500

    #0B2500

    oklch(23.5% 0.071 137)

  • #00222E

    #00222E

    oklch(23.5% 0.045 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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