#2F273A

Closest named color: Space Cadet (#2B2D42). oklch(29% 0.036 303.5), rgb(47, 39, 58).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (29%)
Chromamuted (0.036)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.47:1
White text14.26:1

Values

HEX#2F273A
RGBrgb(47, 39, 58)
HSLhsl(265, 20%, 19%)
OKLCHoklch(29% 0.036 303.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 #2F273A 14.26:1 AAA Lc -103.9 Preferred for body text
Black text on #2F273A 1.47:1 Fails Lc 0.0 Not readable
#2F273A text on white 14.26:1 AAA Lc 101.0 Preferred for body text
#2F273A text on black 1.47: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

    #F6F5F9

    oklch(97.2% 0.005 297.7)

  2. Step 100

    100

    #EBE8F1

    oklch(93.6% 0.012 301.3)

  3. Step 200

    200

    #DCD6E6

    oklch(88.6% 0.023 302.9)

  4. Step 300

    300

    #C6BAD7

    oklch(80.8% 0.042 304.2)

  5. Step 400

    400

    #A997C4

    oklch(70.8% 0.067 303)

  6. Step 500

    500

    #947DB4

    oklch(63.1% 0.085 303.2)

  7. Step 600

    600

    #7F65A0

    oklch(55.6% 0.094 303.8)

  8. Step 700

    700

    #6B5489

    oklch(49.1% 0.086 303.3)

  9. Step 800

    800

    #57456F

    oklch(42.7% 0.071 303.2)

  10. Step 900

    900

    #483A5A

    oklch(37.7% 0.056 303.9)

  11. Step 950

    950 (this color)

    #2F273A

    oklch(29% 0.036 303.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F273A 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)#232A3B0.022
Deuteranopia (no green cones)#252A390.020
Tritanopia (no blue cones)#2D2A2E0.028
Achromatopsia (no color)#2A2A2A0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F273A

    #2F273A

    oklch(29% 0.036 303.5)

  • #282E1A

    #282E1A

    oklch(28.9% 0.035 122.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F273A

    #2F273A

    oklch(29% 0.036 303.5)

  • #262A3D

    #262A3D

    oklch(29% 0.035 274.8)

  • #362533

    #362533

    oklch(29.1% 0.035 332.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F273A

    #2F273A

    oklch(29% 0.036 303.5)

  • #312B16

    #312B16

    oklch(29% 0.035 94)

  • #1D3123

    #1D3123

    oklch(29.1% 0.036 153.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F273A

    #2F273A

    oklch(29% 0.036 303.5)

  • #382818

    #382818

    oklch(29.1% 0.036 65.6)

  • #14312D

    #14312D

    oklch(28.9% 0.036 183.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F273A

    #2F273A

    oklch(29% 0.036 303.5)

  • #3B2520

    #3B2520

    oklch(29% 0.035 33.3)

  • #282E1A

    #282E1A

    oklch(28.9% 0.035 122.2)

  • #143036

    #143036

    oklch(29% 0.035 213.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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