#2D233C

Closest named color: Space Cadet (#2B2D42). oklch(28% 0.047 301.9), rgb(45, 35, 60).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.047)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.41:1
White text14.81:1

Values

HEX#2D233C
RGBrgb(45, 35, 60)
HSLhsl(264, 26%, 19%)
OKLCHoklch(28% 0.047 301.9)

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 #2D233C 14.81:1 AAA Lc -104.5 Preferred for body text
Black text on #2D233C 1.41:1 Fails Lc 0.0 Not readable
#2D233C text on white 14.81:1 AAA Lc 101.6 Preferred for body text
#2D233C text on black 1.41: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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #ECE8F3

    oklch(93.7% 0.015 302.5)

  3. Step 200

    200

    #DCD5EB

    oklch(88.5% 0.031 300.3)

  4. Step 300

    300

    #C7B9DF

    oklch(81% 0.055 302)

  5. Step 400

    400

    #AB94CF

    oklch(70.8% 0.088 302.1)

  6. Step 500

    500

    #9678C2

    oklch(63% 0.113 301.9)

  7. Step 600

    600

    #8160AF

    oklch(55.6% 0.123 301.8)

  8. Step 700

    700

    #6D4F96

    oklch(49.1% 0.114 301.9)

  9. Step 800

    800

    #59417A

    oklch(42.8% 0.095 302)

  10. Step 900

    900

    #493762

    oklch(37.6% 0.074 302.3)

  11. Step 950

    950 (this color)

    #2D233C

    oklch(28% 0.047 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#2D233C 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)#1D273D0.029
Deuteranopia (no green cones)#1F283B0.028
Tritanopia (no blue cones)#2A272C0.037
Achromatopsia (no color)#2828280.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D233C

    #2D233C

    oklch(28% 0.047 301.9)

  • #252C11

    #252C11

    oklch(27.9% 0.046 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D233C

    #2D233C

    oklch(28% 0.047 301.9)

  • #212740

    #212740

    oklch(28% 0.047 272.8)

  • #362033

    #362033

    oklch(28% 0.046 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #2D233C

    #2D233C

    oklch(28% 0.047 301.9)

  • #31280A

    #31280A

    oklch(28% 0.047 92.3)

  • #152F1D

    #152F1D

    oklch(27.8% 0.046 152.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D233C

    #2D233C

    oklch(28% 0.047 301.9)

  • #39230F

    #39230F

    oklch(27.9% 0.046 61.3)

  • #05302A

    #05302A

    oklch(27.9% 0.047 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D233C

    #2D233C

    oklch(28% 0.047 301.9)

  • #3D201A

    #3D201A

    oklch(28.1% 0.047 32.6)

  • #252C11

    #252C11

    oklch(27.9% 0.046 121.4)

  • #032F36

    #032F36

    oklch(28.1% 0.047 211)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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