#2D2248

Closest named color: Space Cadet (#2B2D42). oklch(28.5% 0.068 295.1), rgb(45, 34, 72).

Aa

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

About this color

#2D2248 is a dark, muted purple. In OKLCH its lightness is 29%, its chroma 0.068 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.039 away. White text reads best on it, at 14.64:1.

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.068)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.43:1
White text14.64:1

Values

HEX#2D2248
RGBrgb(45, 34, 72)
HSLhsl(257, 36%, 21%)
OKLCHoklch(28.5% 0.068 295.1)

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 #2D2248 14.64:1 AAA Lc -104.2 Preferred for body text
Black text on #2D2248 1.43:1 Fails Lc 0.0 Not readable
#2D2248 text on white 14.64:1 AAA Lc 101.4 Preferred for body text
#2D2248 text on black 1.43: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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #EBE7F8

    oklch(93.6% 0.023 296.7)

  3. Step 200

    200

    #DBD4F4

    oklch(88.5% 0.044 295.5)

  4. Step 300

    300

    #C4B7F0

    oklch(81% 0.081 295)

  5. Step 400

    400

    #A78FE8

    oklch(70.7% 0.129 295.3)

  6. Step 500

    500

    #9271E1

    oklch(63.1% 0.164 294.8)

  7. Step 600

    600

    #7E56CF

    oklch(55.7% 0.179 295.2)

  8. Step 700

    700

    #6A45B3

    oklch(49% 0.167 295)

  9. Step 800

    800

    #563A91

    oklch(42.7% 0.138 294.7)

  10. Step 900

    900

    #473374

    oklch(37.8% 0.108 294.9)

  11. Step 950

    950 (this color)

    #2D2248

    oklch(28.5% 0.068 295.1)

Export this scale for Tailwind in the Tailwind colors tool

#2D2248 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)#1529490.041
Deuteranopia (no green cones)#1728470.038
Tritanopia (no blue cones)#2729310.055
Achromatopsia (no color)#2929290.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D2248

    #2D2248

    oklch(28.5% 0.068 295.1)

  • #292D00

    #292D00

    oklch(28.3% 0.064 114.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D2248

    #2D2248

    oklch(28.5% 0.068 295.1)

  • #19284C

    #19284C

    oklch(28.4% 0.069 265.2)

  • #3B1D3C

    #3B1D3C

    oklch(28.6% 0.068 326)

Open the analogous palette in the generator

Split complementary

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

  • #2D2248

    #2D2248

    oklch(28.5% 0.068 295.1)

  • #372700

    #372700

    oklch(28.4% 0.058 84.9)

  • #103313

    #103313

    oklch(28.6% 0.069 145)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D2248

    #2D2248

    oklch(28.5% 0.068 295.1)

  • #431F02

    #431F02

    oklch(28.5% 0.068 54.6)

  • #003329

    #003329

    oklch(28.7% 0.054 175.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D2248

    #2D2248

    oklch(28.5% 0.068 295.1)

  • #461A18

    #461A18

    oklch(28.4% 0.068 25)

  • #292D00

    #292D00

    oklch(28.3% 0.064 114.9)

  • #003136

    #003136

    oklch(28.6% 0.049 205.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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