#2F2356

Closest named color: Space Cadet (#2B2D42). oklch(30% 0.089 290.9), rgb(47, 35, 86).

Aa

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

About this color

#2F2356 is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.089 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.052 away. White text reads best on it, at 14.04:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.49:1
White text14.04:1

Values

HEX#2F2356
RGBrgb(47, 35, 86)
HSLhsl(254, 42%, 24%)
OKLCHoklch(30% 0.089 290.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 #2F2356 14.04:1 AAA Lc -103.6 Preferred for body text
Black text on #2F2356 1.49:1 Fails Lc 0.0 Not readable
#2F2356 text on white 14.04:1 AAA Lc 100.5 Preferred for body text
#2F2356 text on black 1.49: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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D8D3FE

    oklch(88.5% 0.059 290.5)

  4. Step 300

    300

    #C0B5FF

    oklch(80.9% 0.104 290.7)

  5. Step 400

    400

    #A28BFF

    oklch(70.7% 0.166 290.7)

  6. Step 500

    500

    #8E67FE

    oklch(63% 0.214 290.9)

  7. Step 600

    600

    #7B48EE

    oklch(55.7% 0.233 290.9)

  8. Step 700

    700

    #6837CF

    oklch(49.2% 0.217 290.9)

  9. Step 800

    800

    #542FA7

    oklch(42.6% 0.18 290.9)

  10. Step 900

    900

    #452C84

    oklch(37.6% 0.14 291.2)

  11. Step 950

    950 (this color)

    #2F2356

    oklch(30% 0.089 290.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F2356 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)#0A2C580.052
Deuteranopia (no green cones)#0C2B550.051
Tritanopia (no blue cones)#242E380.073
Achromatopsia (no color)#2C2C2C0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F2356

    #2F2356

    oklch(30% 0.089 290.9)

  • #2F3000

    #2F3000

    oklch(29.8% 0.066 111)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F2356

    #2F2356

    oklch(30% 0.089 290.9)

  • #122C59

    #122C59

    oklch(30.1% 0.087 260.5)

  • #411C48

    #411C48

    oklch(30% 0.088 321)

Open the analogous palette in the generator

Split complementary

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

  • #2F2356

    #2F2356

    oklch(30% 0.089 290.9)

  • #3D2A00

    #3D2A00

    oklch(30% 0.062 82)

  • #0E3807

    #0E3807

    oklch(30% 0.089 141)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F2356

    #2F2356

    oklch(30% 0.089 290.9)

  • #4B1F00

    #4B1F00

    oklch(29.9% 0.078 50.6)

  • #00372A

    #00372A

    oklch(30% 0.058 171.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F2356

    #2F2356

    oklch(30% 0.089 290.9)

  • #511619

    #511619

    oklch(29.9% 0.088 21.4)

  • #2F3000

    #2F3000

    oklch(29.8% 0.066 111)

  • #003538

    #003538

    oklch(29.9% 0.051 200.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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