#2D2C4C

Closest named color: Space Cadet (#2B2D42). oklch(31% 0.057 284), rgb(45, 44, 76).

Aa

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

About this color

#2D2C4C is a dark, muted purple. In OKLCH its lightness is 31%, its chroma 0.057 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.020 away. White text reads best on it, at 13.32:1.

Hue familyPurples
Lightnessdark (31%)
Chromamuted (0.057)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.57:1
White text13.32:1

Values

HEX#2D2C4C
RGBrgb(45, 44, 76)
HSLhsl(242, 27%, 24%)
OKLCHoklch(31% 0.057 284)

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 #2D2C4C 13.32:1 AAA Lc -102.9 Preferred for body text
Black text on #2D2C4C 1.57:1 Fails Lc 0.0 Not readable
#2D2C4C text on white 13.32:1 AAA Lc 99.7 Preferred for body text
#2D2C4C text on black 1.57: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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E8E8F7

    oklch(93.5% 0.02 286)

  3. Step 200

    200

    #D5D6F2

    oklch(88.4% 0.038 284)

  4. Step 300

    300

    #BBBBEB

    oklch(80.8% 0.067 284.8)

  5. Step 400

    400

    #9897E1

    oklch(70.6% 0.107 283.9)

  6. Step 500

    500

    #807CD9

    oklch(63.1% 0.137 283.7)

  7. Step 600

    600

    #6B63C6

    oklch(55.6% 0.149 284.1)

  8. Step 700

    700

    #5952AB

    oklch(49.1% 0.138 283.7)

  9. Step 800

    800

    #49438B

    oklch(42.7% 0.116 284.1)

  10. Step 900

    900

    #3D396F

    oklch(37.7% 0.09 284.6)

  11. Step 950

    950 (this color)

    #2D2C4C

    oklch(31% 0.057 284)

Export this scale for Tailwind in the Tailwind colors tool

#2D2C4C 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)#22304D0.020
Deuteranopia (no green cones)#212E4B0.020
Tritanopia (no blue cones)#2532380.048
Achromatopsia (no color)#2F2F2F0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D2C4C

    #2D2C4C

    oklch(31% 0.057 284)

  • #35320A

    #35320A

    oklch(31.1% 0.057 105)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D2C4C

    #2D2C4C

    oklch(31% 0.057 284)

  • #1B314C

    #1B314C

    oklch(30.9% 0.056 254.4)

  • #3B2744

    #3B2744

    oklch(31% 0.057 314.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D2C4C

    #2D2C4C

    oklch(31% 0.057 284)

  • #412B0A

    #412B0A

    oklch(30.9% 0.056 73.3)

  • #243718

    #243718

    oklch(31.2% 0.057 134.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D2C4C

    #2D2C4C

    oklch(31% 0.057 284)

  • #482617

    #482617

    oklch(31% 0.057 44)

  • #0D3929

    #0D3929

    oklch(31% 0.056 164.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D2C4C

    #2D2C4C

    oklch(31% 0.057 284)

  • #492328

    #492328

    oklch(31% 0.058 12.7)

  • #35320A

    #35320A

    oklch(31.1% 0.057 105)

  • #003938

    #003938

    oklch(31.2% 0.053 192.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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