#2F2A45

Closest named color: Space Cadet (#2B2D42). oklch(30.3% 0.048 291.8), rgb(47, 42, 69).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (30%)
Chromamuted (0.048)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.53:1
White text13.65:1

Values

HEX#2F2A45
RGBrgb(47, 42, 69)
HSLhsl(251, 24%, 22%)
OKLCHoklch(30.3% 0.048 291.8)

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 #2F2A45 13.65:1 AAA Lc -103.3 Preferred for body text
Black text on #2F2A45 1.53:1 Fails Lc 0.0 Not readable
#2F2A45 text on white 13.65:1 AAA Lc 100.2 Preferred for body text
#2F2A45 text on black 1.53: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

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #EAE8F4

    oklch(93.6% 0.016 293.7)

  3. Step 200

    200

    #D9D6ED

    oklch(88.5% 0.031 291.7)

  4. Step 300

    300

    #C1BBE3

    oklch(81% 0.056 292)

  5. Step 400

    400

    #A196D5

    oklch(70.6% 0.092 291.9)

  6. Step 500

    500

    #8B7BCA

    oklch(63% 0.117 292)

  7. Step 600

    600

    #7663B7

    oklch(55.6% 0.128 292.1)

  8. Step 700

    700

    #63529E

    oklch(49.2% 0.119 291.7)

  9. Step 800

    800

    #514380

    oklch(42.7% 0.099 292.2)

  10. Step 900

    900

    #433967

    oklch(37.7% 0.077 292.3)

  11. Step 950

    950 (this color)

    #2F2A45

    oklch(30.3% 0.048 291.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F2A45 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)#232E460.022
Deuteranopia (no green cones)#232D440.022
Tritanopia (no blue cones)#2A2F340.041
Achromatopsia (no color)#2E2E2E0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F2A45

    #2F2A45

    oklch(30.3% 0.048 291.8)

  • #2F3112

    #2F3112

    oklch(30.3% 0.049 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2A45

    #2F2A45

    oklch(30.3% 0.048 291.8)

  • #212F47

    #212F47

    oklch(30.5% 0.048 260.8)

  • #3A263D

    #3A263D

    oklch(30.3% 0.049 322.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F2A45

    #2F2A45

    oklch(30.3% 0.048 291.8)

  • #3B2C0F

    #3B2C0F

    oklch(30.4% 0.049 81.5)

  • #20351E

    #20351E

    oklch(30.4% 0.049 142.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2A45

    #2F2A45

    oklch(30.3% 0.048 291.8)

  • #422717

    #422717

    oklch(30.3% 0.049 50.7)

  • #0F362C

    #0F362C

    oklch(30.2% 0.047 173)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2A45

    #2F2A45

    oklch(30.3% 0.048 291.8)

  • #442424

    #442424

    oklch(30.3% 0.049 20.3)

  • #2F3112

    #2F3112

    oklch(30.3% 0.049 112.3)

  • #053639

    #053639

    oklch(30.4% 0.049 201.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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