#2A2B45

Closest named color: Space Cadet (#2B2D42). oklch(30.1% 0.047 281.5), rgb(42, 43, 69).

Aa

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

About this color

#2A2B45 is a dark, muted purple. In OKLCH its lightness is 30%, its chroma 0.047 and its hue 282°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.010 away. White text reads best on it, at 13.72:1.

Hue familyPurples
Lightnessdark (30%)
Chromamuted (0.047)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.52:1
White text13.72:1

Values

HEX#2A2B45
RGBrgb(42, 43, 69)
HSLhsl(238, 24%, 22%)
OKLCHoklch(30.1% 0.047 281.5)

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 #2A2B45 13.72:1 AAA Lc -103.3 Preferred for body text
Black text on #2A2B45 1.52:1 Fails Lc 0.0 Not readable
#2A2B45 text on white 13.72:1 AAA Lc 100.3 Preferred for body text
#2A2B45 text on black 1.52: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E8E9F5

    oklch(93.7% 0.016 282.3)

  3. Step 200

    200

    #D5D7EE

    oklch(88.5% 0.032 281.8)

  4. Step 300

    300

    #BABDE4

    oklch(80.9% 0.055 281.6)

  5. Step 400

    400

    #979AD7

    oklch(70.7% 0.089 281.7)

  6. Step 500

    500

    #7E80CC

    oklch(63% 0.113 281.5)

  7. Step 600

    600

    #6868B9

    oklch(55.5% 0.124 281.6)

  8. Step 700

    700

    #57579F

    oklch(49.2% 0.113 281.4)

  9. Step 800

    800

    #474781

    oklch(42.7% 0.095 281.6)

  10. Step 900

    900

    #3B3C68

    oklch(37.7% 0.074 281.2)

  11. Step 950

    950 (this color)

    #2A2B45

    oklch(30.1% 0.047 281.5)

Export this scale for Tailwind in the Tailwind colors tool

#2A2B45 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)#232E460.014
Deuteranopia (no green cones)#222C440.013
Tritanopia (no blue cones)#2330340.042
Achromatopsia (no color)#2D2D2D0.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2B45

    #2A2B45

    oklch(30.1% 0.047 281.5)

  • #332F11

    #332F11

    oklch(30.2% 0.047 101.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2B45

    #2A2B45

    oklch(30.1% 0.047 281.5)

  • #1C2F45

    #1C2F45

    oklch(30% 0.047 252.9)

  • #36273F

    #36273F

    oklch(30.1% 0.047 312.3)

Open the analogous palette in the generator

Split complementary

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

  • #2A2B45

    #2A2B45

    oklch(30.1% 0.047 281.5)

  • #3D2A11

    #3D2A11

    oklch(30.2% 0.048 71.8)

  • #253319

    #253319

    oklch(30.1% 0.048 131.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2B45

    #2A2B45

    oklch(30.1% 0.047 281.5)

  • #42261B

    #42261B

    oklch(30.2% 0.047 42.1)

  • #153526

    #153526

    oklch(30% 0.047 161.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2B45

    #2A2B45

    oklch(30.1% 0.047 281.5)

  • #422428

    #422428

    oklch(30.1% 0.046 11.6)

  • #332F11

    #332F11

    oklch(30.2% 0.047 101.8)

  • #083534

    #083534

    oklch(30% 0.046 192.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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