#2F233C

Closest named color: Space Cadet (#2B2D42). oklch(28.2% 0.047 305.6), rgb(47, 35, 60).

Aa

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

About this color

#2F233C is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.047 and its hue 306°. 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.72:1.

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

Values

HEX#2F233C
RGBrgb(47, 35, 60)
HSLhsl(269, 26%, 19%)
OKLCHoklch(28.2% 0.047 305.6)

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 #2F233C 14.72:1 AAA Lc -104.4 Preferred for body text
Black text on #2F233C 1.42:1 Fails Lc 0.0 Not readable
#2F233C text on white 14.72:1 AAA Lc 101.5 Preferred for body text
#2F233C text on black 1.42: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

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #ECE7F3

    oklch(93.5% 0.017 304.8)

  3. Step 200

    200

    #DED4EA

    oklch(88.5% 0.032 306.2)

  4. Step 300

    300

    #C9B8DE

    oklch(80.9% 0.056 305.4)

  5. Step 400

    400

    #AE92CE

    oklch(70.7% 0.091 305.5)

  6. Step 500

    500

    #9A76C1

    oklch(63% 0.116 305.4)

  7. Step 600

    600

    #855EAD

    oklch(55.6% 0.125 305.5)

  8. Step 700

    700

    #714D94

    oklch(49.1% 0.116 306)

  9. Step 800

    800

    #5C4078

    oklch(42.8% 0.095 305.8)

  10. Step 900

    900

    #4B3661

    oklch(37.6% 0.075 305.6)

  11. Step 950

    950 (this color)

    #2F233C

    oklch(28.2% 0.047 305.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F233C 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)#1E283D0.032
Deuteranopia (no green cones)#20283B0.030
Tritanopia (no blue cones)#2D272C0.037
Achromatopsia (no color)#2828280.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F233C

    #2F233C

    oklch(28.2% 0.047 305.6)

  • #242D12

    #242D12

    oklch(28.1% 0.047 124.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F233C

    #2F233C

    oklch(28.2% 0.047 305.6)

  • #232741

    #232741

    oklch(28.2% 0.048 276.2)

  • #382032

    #382032

    oklch(28.2% 0.047 336.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F233C

    #2F233C

    oklch(28.2% 0.047 305.6)

  • #30290A

    #30290A

    oklch(28.1% 0.047 96.4)

  • #13301F

    #13301F

    oklch(28.1% 0.047 155.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F233C

    #2F233C

    oklch(28.2% 0.047 305.6)

  • #39240E

    #39240E

    oklch(28.1% 0.047 65.1)

  • #03312D

    #03312D

    oklch(28.3% 0.047 186)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F233C

    #2F233C

    oklch(28.2% 0.047 305.6)

  • #3D2019

    #3D2019

    oklch(28.1% 0.047 34.4)

  • #242D12

    #242D12

    oklch(28.1% 0.047 124.5)

  • #032F38

    #032F38

    oklch(28.2% 0.048 215.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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