#2A2233

Closest named color: Dark (#1B2431). oklch(26.9% 0.033 305.8), rgb(42, 34, 51).

Aa

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

About this color

#2A2233 is a dark, muted purple. In OKLCH its lightness is 27%, its chroma 0.033 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark (#1B2431), ΔE 0.027 away. White text reads best on it, at 15.27:1.

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.033)
Temperaturein between
Nearest nameDark (#1B2431)
Black text1.37:1
White text15.27:1

Values

HEX#2A2233
RGBrgb(42, 34, 51)
HSLhsl(268, 20%, 17%)
OKLCHoklch(26.9% 0.033 305.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 #2A2233 15.27:1 AAA Lc -104.9 Preferred for body text
Black text on #2A2233 1.37:1 Fails Lc 0.0 Not readable
#2A2233 text on white 15.27:1 AAA Lc 102.2 Preferred for body text
#2A2233 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

    #F6F5F8

    oklch(97.2% 0.004 301.4)

  2. Step 100

    100

    #EBE8F0

    oklch(93.6% 0.011 303.1)

  3. Step 200

    200

    #DCD6E5

    oklch(88.5% 0.021 304)

  4. Step 300

    300

    #C7BBD5

    oklch(81% 0.038 306.3)

  5. Step 400

    400

    #AA97C0

    oklch(70.7% 0.062 305.9)

  6. Step 500

    500

    #957DB0

    oklch(63.1% 0.08 305.7)

  7. Step 600

    600

    #80669C

    oklch(55.7% 0.087 305.8)

  8. Step 700

    700

    #6C5485

    oklch(49% 0.081 306.1)

  9. Step 800

    800

    #58456C

    oklch(42.7% 0.067 306.1)

  10. Step 900

    900

    #483A58

    oklch(37.6% 0.053 305.4)

  11. Step 950

    950 (this color)

    #2A2233

    oklch(26.9% 0.033 305.8)

Export this scale for Tailwind in the Tailwind colors tool

#2A2233 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)#1F25340.021
Deuteranopia (no green cones)#2025320.020
Tritanopia (no blue cones)#2924280.024
Achromatopsia (no color)#2525250.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2233

    #2A2233

    oklch(26.9% 0.033 305.8)

  • #222917

    #222917

    oklch(26.8% 0.033 125.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2233

    #2A2233

    oklch(26.9% 0.033 305.8)

  • #222536

    #222536

    oklch(27% 0.032 276.3)

  • #30202C

    #30202C

    oklch(26.8% 0.032 335.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A2233

    #2A2233

    oklch(26.9% 0.033 305.8)

  • #2B2613

    #2B2613

    oklch(26.9% 0.033 95.1)

  • #182B1F

    #182B1F

    oklch(26.8% 0.034 155.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2233

    #2A2233

    oklch(26.9% 0.033 305.8)

  • #312314

    #312314

    oklch(26.9% 0.033 67.6)

  • #112B28

    #112B28

    oklch(26.7% 0.033 185.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2233

    #2A2233

    oklch(26.9% 0.033 305.8)

  • #34201B

    #34201B

    oklch(26.7% 0.033 34.6)

  • #222917

    #222917

    oklch(26.8% 0.033 125.8)

  • #112A30

    #112A30

    oklch(26.8% 0.033 215.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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