#2F2A48

Closest named color: Space Cadet (#2B2D42). oklch(30.5% 0.053 290.5), rgb(47, 42, 72).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (31%)
Chromamuted (0.053)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.54:1
White text13.58:1

Values

HEX#2F2A48
RGBrgb(47, 42, 72)
HSLhsl(250, 26%, 22%)
OKLCHoklch(30.5% 0.053 290.5)

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 #2F2A48 13.58:1 AAA Lc -103.2 Preferred for body text
Black text on #2F2A48 1.54:1 Fails Lc 0.0 Not readable
#2F2A48 text on white 13.58:1 AAA Lc 100.1 Preferred for body text
#2F2A48 text on black 1.54: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

    #F5F5FB

    oklch(97.2% 0.008 286.3)

  2. Step 100

    100

    #E9E8F6

    oklch(93.6% 0.019 289.3)

  3. Step 200

    200

    #D8D6EF

    oklch(88.5% 0.034 289.4)

  4. Step 300

    300

    #C0BAE7

    oklch(80.9% 0.063 291)

  5. Step 400

    400

    #A095DB

    oklch(70.6% 0.101 290.8)

  6. Step 500

    500

    #8A7AD1

    oklch(63.1% 0.129 290.7)

  7. Step 600

    600

    #7461BF

    oklch(55.5% 0.142 290.3)

  8. Step 700

    700

    #6250A4

    oklch(49.1% 0.13 290.7)

  9. Step 800

    800

    #504285

    oklch(42.7% 0.108 290.7)

  10. Step 900

    900

    #42386B

    oklch(37.7% 0.085 290.7)

  11. Step 950

    950 (this color)

    #2F2A48

    oklch(30.5% 0.053 290.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F2A48 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)#212F490.026
Deuteranopia (no green cones)#212D470.024
Tritanopia (no blue cones)#292F350.044
Achromatopsia (no color)#2E2E2E0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F2A48

    #2F2A48

    oklch(30.5% 0.053 290.5)

  • #30310E

    #30310E

    oklch(30.4% 0.053 110.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2A48

    #2F2A48

    oklch(30.5% 0.053 290.5)

  • #1F2F4A

    #1F2F4A

    oklch(30.5% 0.054 260.4)

  • #3B2640

    #3B2640

    oklch(30.6% 0.053 319.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F2A48

    #2F2A48

    oklch(30.5% 0.053 290.5)

  • #3D2C0B

    #3D2C0B

    oklch(30.6% 0.053 80.7)

  • #20361B

    #20361B

    oklch(30.6% 0.054 139.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2A48

    #2F2A48

    oklch(30.5% 0.053 290.5)

  • #442715

    #442715

    oklch(30.6% 0.053 51.5)

  • #0A382B

    #0A382B

    oklch(30.6% 0.054 169.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2A48

    #2F2A48

    oklch(30.5% 0.053 290.5)

  • #462323

    #462323

    oklch(30.4% 0.053 20.7)

  • #30310E

    #30310E

    oklch(30.4% 0.053 110.7)

  • #00373A

    #00373A

    oklch(30.6% 0.052 200.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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