#2A1541

Closest named color: Dark Purple (#35063E). oklch(25.1% 0.081 303), rgb(42, 21, 65).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (25%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.28:1
White text16.38:1

Values

HEX#2A1541
RGBrgb(42, 21, 65)
HSLhsl(269, 51%, 17%)
OKLCHoklch(25.1% 0.081 303)

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 #2A1541 16.38:1 AAA Lc -105.6 Preferred for body text
Black text on #2A1541 1.28:1 Fails Lc 0.0 Not readable
#2A1541 text on white 16.38:1 AAA Lc 103.1 Preferred for body text
#2A1541 text on black 1.28: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

    #F7F4FD

    oklch(97.2% 0.012 301.3)

  2. Step 100

    100

    #EDE6FA

    oklch(93.6% 0.028 301.7)

  3. Step 200

    200

    #E0D1F7

    oklch(88.5% 0.054 303.2)

  4. Step 300

    300

    #CDB2F4

    oklch(80.9% 0.096 303)

  5. Step 400

    400

    #B486EF

    oklch(70.6% 0.155 302.9)

  6. Step 500

    500

    #A363E9

    oklch(63.1% 0.197 303.2)

  7. Step 600

    600

    #8E45D7

    oklch(55.6% 0.214 302.9)

  8. Step 700

    700

    #7935BA

    oklch(49.1% 0.198 303)

  9. Step 800

    800

    #622E97

    oklch(42.7% 0.164 302.7)

  10. Step 900

    900

    #502B78

    oklch(37.8% 0.127 302.9)

  11. Step 950

    950 (this color)

    #2A1541

    oklch(25.1% 0.081 303)

Export this scale for Tailwind in the Tailwind colors tool

#2A1541 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)#021F420.064
Deuteranopia (no green cones)#0A1F400.057
Tritanopia (no blue cones)#261E280.060
Achromatopsia (no color)#2020200.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A1541

    #2A1541

    oklch(25.1% 0.081 303)

  • #1C2600

    #1C2600

    oklch(25% 0.061 123.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A1541

    #2A1541

    oklch(25.1% 0.081 303)

  • #161C48

    #161C48

    oklch(25% 0.082 273.1)

  • #370F32

    #370F32

    oklch(25.1% 0.081 332.9)

Open the analogous palette in the generator

Split complementary

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

  • #2A1541

    #2A1541

    oklch(25.1% 0.081 303)

  • #2A2100

    #2A2100

    oklch(25.1% 0.051 93.9)

  • #002A12

    #002A12

    oklch(25% 0.064 153.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A1541

    #2A1541

    oklch(25.1% 0.081 303)

  • #341A00

    #341A00

    oklch(24.9% 0.057 62.6)

  • #002924

    #002924

    oklch(25.2% 0.045 182.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A1541

    #2A1541

    oklch(25.1% 0.081 303)

  • #400D04

    #400D04

    oklch(24.9% 0.081 33.4)

  • #1C2600

    #1C2600

    oklch(25% 0.061 123.2)

  • #00272E

    #00272E

    oklch(25% 0.044 212.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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