#2F274D

Closest named color: Space Cadet (#2B2D42). oklch(30.2% 0.067 291.5), rgb(47, 39, 77).

Aa

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

About this color

#2F274D is a dark, muted purple. In OKLCH its lightness is 30%, its chroma 0.067 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.031 away. White text reads best on it, at 13.83:1.

Hue familyPurples
Lightnessdark (30%)
Chromamuted (0.067)
Temperaturein between
Nearest nameSpace Cadet (#2B2D42)
Black text1.51:1
White text13.83:1

Values

HEX#2F274D
RGBrgb(47, 39, 77)
HSLhsl(253, 33%, 23%)
OKLCHoklch(30.2% 0.067 291.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 #2F274D 13.83:1 AAA Lc -103.4 Preferred for body text
Black text on #2F274D 1.51:1 Fails Lc 0.0 Not readable
#2F274D text on white 13.83:1 AAA Lc 100.3 Preferred for body text
#2F274D text on black 1.51: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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE7F9

    oklch(93.6% 0.024 293.6)

  3. Step 200

    200

    #D9D5F5

    oklch(88.6% 0.044 291.2)

  4. Step 300

    300

    #C1B8F1

    oklch(81% 0.08 291.7)

  5. Step 400

    400

    #A291E9

    oklch(70.7% 0.127 291.7)

  6. Step 500

    500

    #8D73E3

    oklch(63.1% 0.164 291.7)

  7. Step 600

    600

    #7859D1

    oklch(55.7% 0.177 291.5)

  8. Step 700

    700

    #6548B5

    oklch(49.2% 0.165 291.4)

  9. Step 800

    800

    #523C92

    oklch(42.7% 0.136 291.4)

  10. Step 900

    900

    #443475

    oklch(37.8% 0.107 291.8)

  11. Step 950

    950 (this color)

    #2F274D

    oklch(30.2% 0.067 291.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F274D 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)#1A2D4E0.035
Deuteranopia (no green cones)#1B2C4C0.034
Tritanopia (no blue cones)#282E360.055
Achromatopsia (no color)#2D2D2D0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F274D

    #2F274D

    oklch(30.2% 0.067 291.5)

  • #303100

    #303100

    oklch(30.2% 0.066 111)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F274D

    #2F274D

    oklch(30.2% 0.067 291.5)

  • #1A2D50

    #1A2D50

    oklch(30.1% 0.068 261.6)

  • #3D2242

    #3D2242

    oklch(30.1% 0.066 321.2)

Open the analogous palette in the generator

Split complementary

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

  • #2F274D

    #2F274D

    oklch(30.2% 0.067 291.5)

  • #3E2A00

    #3E2A00

    oklch(30.1% 0.062 80.6)

  • #193615

    #193615

    oklch(30.1% 0.066 141.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F274D

    #2F274D

    oklch(30.2% 0.067 291.5)

  • #482309

    #482309

    oklch(30.2% 0.067 51.8)

  • #00372A

    #00372A

    oklch(30% 0.058 171.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F274D

    #2F274D

    oklch(30.2% 0.067 291.5)

  • #4B1E1F

    #4B1E1F

    oklch(30.2% 0.069 20.7)

  • #303100

    #303100

    oklch(30.2% 0.066 111)

  • #003639

    #003639

    oklch(30.3% 0.051 200.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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