#2A102B

Closest named color: Eggplant (#380835). oklch(22.6% 0.061 326), rgb(42, 16, 43).

Aa

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

About this color

#2A102B is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.061 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.040 away. White text reads best on it, at 17.39:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.061)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.20:1
White text17.39:1

Values

HEX#2A102B
RGBrgb(42, 16, 43)
HSLhsl(298, 46%, 12%)
OKLCHoklch(22.6% 0.061 326)

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 #2A102B 17.39:1 AAA Lc -106.4 Preferred for body text
Black text on #2A102B 1.20:1 Fails Lc 0.0 Not readable
#2A102B text on white 17.39:1 AAA Lc 104.1 Preferred for body text
#2A102B text on black 1.20: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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F2E5F2

    oklch(93.6% 0.022 325.8)

  3. Step 200

    200

    #E8D0E8

    oklch(88.5% 0.042 325.9)

  4. Step 300

    300

    #DAB1DA

    oklch(81% 0.072 326.2)

  5. Step 400

    400

    #C686C7

    oklch(70.6% 0.116 326.2)

  6. Step 500

    500

    #B666B9

    oklch(63.1% 0.148 325.8)

  7. Step 600

    600

    #A14BA5

    oklch(55.5% 0.161 325.8)

  8. Step 700

    700

    #8A3B8D

    oklch(49% 0.15 326.1)

  9. Step 800

    800

    #703273

    oklch(42.7% 0.124 325.7)

  10. Step 900

    900

    #5B2D5D

    oklch(37.8% 0.096 325.7)

  11. Step 950

    950 (this color)

    #2A102B

    oklch(22.6% 0.061 326)

Export this scale for Tailwind in the Tailwind colors tool

#2A102B 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)#0D182C0.060
Deuteranopia (no green cones)#151B2A0.053
Tritanopia (no blue cones)#2B131B0.035
Achromatopsia (no color)#1A1A1A0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A102B

    #2A102B

    oklch(22.6% 0.061 326)

  • #042308

    #042308

    oklch(22.6% 0.062 145.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A102B

    #2A102B

    oklch(22.6% 0.061 326)

  • #1F1435

    #1F1435

    oklch(22.5% 0.062 296.4)

  • #310D1D

    #310D1D

    oklch(22.6% 0.062 355.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A102B

    #2A102B

    oklch(22.6% 0.061 326)

  • #1B1F00

    #1B1F00

    oklch(22.7% 0.052 116.4)

  • #00221B

    #00221B

    oklch(22.5% 0.042 176.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A102B

    #2A102B

    oklch(22.6% 0.061 326)

  • #251A00

    #251A00

    oklch(22.5% 0.046 87)

  • #002125

    #002125

    oklch(22.6% 0.039 206.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A102B

    #2A102B

    oklch(22.6% 0.061 326)

  • #2F1400

    #2F1400

    oklch(22.7% 0.055 56.4)

  • #042308

    #042308

    oklch(22.6% 0.062 145.8)

  • #001F2F

    #001F2F

    oklch(22.6% 0.048 235.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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