#2C2252

Closest named color: Space Cadet (#2B2D42). oklch(29.1% 0.084 289.7), rgb(44, 34, 82).

Aa

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

About this color

#2C2252 is a dark, moderately saturated purple. In OKLCH its lightness is 29%, its chroma 0.084 and its hue 290°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.049 away. White text reads best on it, at 14.40:1.

Hue familyPurples
Lightnessdark (29%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.45:1
White text14.40:1

Values

HEX#2C2252
RGBrgb(44, 34, 82)
HSLhsl(252, 41%, 23%)
OKLCHoklch(29.1% 0.084 289.7)

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 #2C2252 14.40:1 AAA Lc -104.0 Preferred for body text
Black text on #2C2252 1.45:1 Fails Lc 0.0 Not readable
#2C2252 text on white 14.40:1 AAA Lc 101.0 Preferred for body text
#2C2252 text on black 1.45: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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D8D4FC

    oklch(88.6% 0.055 289.8)

  4. Step 300

    300

    #BFB6FD

    oklch(80.9% 0.1 289.8)

  5. Step 400

    400

    #A08DFC

    oklch(70.8% 0.159 289.6)

  6. Step 500

    500

    #8B6BFA

    oklch(63.1% 0.204 289.5)

  7. Step 600

    600

    #774DE9

    oklch(55.6% 0.222 289.5)

  8. Step 700

    700

    #653CCA

    oklch(49.1% 0.206 289.9)

  9. Step 800

    800

    #5233A3

    oklch(42.6% 0.17 289.9)

  10. Step 900

    900

    #432F82

    oklch(37.7% 0.133 289.6)

  11. Step 950

    950 (this color)

    #2C2252

    oklch(29.1% 0.084 289.7)

Export this scale for Tailwind in the Tailwind colors tool

#2C2252 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)#0B2B540.048
Deuteranopia (no green cones)#0C29510.047
Tritanopia (no blue cones)#212C360.069
Achromatopsia (no color)#2A2A2A0.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C2252

    #2C2252

    oklch(29.1% 0.084 289.7)

  • #2E2E00

    #2E2E00

    oklch(29.2% 0.064 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C2252

    #2C2252

    oklch(29.1% 0.084 289.7)

  • #102A55

    #102A55

    oklch(29.2% 0.084 259.9)

  • #3D1B45

    #3D1B45

    oklch(29.1% 0.084 319.7)

Open the analogous palette in the generator

Split complementary

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

  • #2C2252

    #2C2252

    oklch(29.1% 0.084 289.7)

  • #3B2800

    #3B2800

    oklch(29.2% 0.06 81)

  • #103506

    #103506

    oklch(29.1% 0.084 139.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C2252

    #2C2252

    oklch(29.1% 0.084 289.7)

  • #491D00

    #491D00

    oklch(29.1% 0.078 49.4)

  • #003527

    #003527

    oklch(29.2% 0.058 169.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C2252

    #2C2252

    oklch(29.1% 0.084 289.7)

  • #4D151A

    #4D151A

    oklch(29% 0.084 19)

  • #2E2E00

    #2E2E00

    oklch(29.2% 0.064 109.8)

  • #003335

    #003335

    oklch(29.2% 0.05 199)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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