#2B1548

Closest named color: Dark Purple (#35063E). oklch(25.8% 0.091 299.8), rgb(43, 21, 72).

Aa

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

About this color

#2B1548 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.091 and its hue 300°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.040 away. White text reads best on it, at 16.10:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.30:1
White text16.10:1

Values

HEX#2B1548
RGBrgb(43, 21, 72)
HSLhsl(266, 55%, 18%)
OKLCHoklch(25.8% 0.091 299.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 #2B1548 16.10:1 AAA Lc -105.4 Preferred for body text
Black text on #2B1548 1.30:1 Fails Lc 0.0 Not readable
#2B1548 text on white 16.10:1 AAA Lc 102.8 Preferred for body text
#2B1548 text on black 1.30: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE6FC

    oklch(93.7% 0.03 300.3)

  3. Step 200

    200

    #DFD1FC

    oklch(88.6% 0.06 300)

  4. Step 300

    300

    #CBB1FC

    oklch(80.9% 0.107 299.9)

  5. Step 400

    400

    #B284FB

    oklch(70.8% 0.172 299.9)

  6. Step 500

    500

    #A05EF8

    oklch(63.1% 0.221 299.8)

  7. Step 600

    600

    #8C3CE7

    oklch(55.6% 0.24 299.7)

  8. Step 700

    700

    #782BC9

    oklch(49.1% 0.224 300)

  9. Step 800

    800

    #6127A2

    oklch(42.7% 0.184 299.9)

  10. Step 900

    900

    #4F2781

    oklch(37.7% 0.144 299.9)

  11. Step 950

    950 (this color)

    #2B1548

    oklch(25.8% 0.091 299.8)

Export this scale for Tailwind in the Tailwind colors tool

#2B1548 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)#00214A0.067
Deuteranopia (no green cones)#0221470.066
Tritanopia (no blue cones)#25202C0.068
Achromatopsia (no color)#2121210.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B1548

    #2B1548

    oklch(25.8% 0.091 299.8)

  • #202700

    #202700

    oklch(25.7% 0.061 119.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B1548

    #2B1548

    oklch(25.8% 0.091 299.8)

  • #131E4F

    #131E4F

    oklch(25.9% 0.091 269.4)

  • #3A0E38

    #3A0E38

    oklch(25.8% 0.09 329.7)

Open the analogous palette in the generator

Split complementary

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

  • #2B1548

    #2B1548

    oklch(25.8% 0.091 299.8)

  • #2D2200

    #2D2200

    oklch(25.8% 0.053 90.8)

  • #002C0F

    #002C0F

    oklch(25.6% 0.07 150)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B1548

    #2B1548

    oklch(25.8% 0.091 299.8)

  • #381B00

    #381B00

    oklch(25.8% 0.06 60)

  • #002B24

    #002B24

    oklch(25.9% 0.047 178.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B1548

    #2B1548

    oklch(25.8% 0.091 299.8)

  • #460905

    #460905

    oklch(25.8% 0.092 29.5)

  • #202700

    #202700

    oklch(25.7% 0.061 119.4)

  • #00292F

    #00292F

    oklch(25.7% 0.044 209.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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