#2D274F

Closest named color: Space Cadet (#2B2D42). oklch(30.1% 0.071 288.3), rgb(45, 39, 79).

Aa

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

About this color

#2D274F is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.071 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.034 away. White text reads best on it, at 13.86:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.51:1
White text13.86:1

Values

HEX#2D274F
RGBrgb(45, 39, 79)
HSLhsl(249, 34%, 23%)
OKLCHoklch(30.1% 0.071 288.3)

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 #2D274F 13.86:1 AAA Lc -103.4 Preferred for body text
Black text on #2D274F 1.51:1 Fails Lc 0.0 Not readable
#2D274F text on white 13.86:1 AAA Lc 100.4 Preferred for body text
#2D274F 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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8FA

    oklch(93.7% 0.024 288.5)

  3. Step 200

    200

    #D7D5F7

    oklch(88.5% 0.047 288.1)

  4. Step 300

    300

    #BEB8F4

    oklch(80.8% 0.084 288.9)

  5. Step 400

    400

    #9D92EF

    oklch(70.7% 0.134 287.9)

  6. Step 500

    500

    #8773E9

    oklch(63% 0.172 288.3)

  7. Step 600

    600

    #7359D7

    oklch(55.7% 0.185 288.4)

  8. Step 700

    700

    #6048BB

    oklch(49.1% 0.173 287.9)

  9. Step 800

    800

    #4E3C97

    oklch(42.7% 0.143 287.9)

  10. Step 900

    900

    #413478

    oklch(37.7% 0.112 288.7)

  11. Step 950

    950 (this color)

    #2D274F

    oklch(30.1% 0.071 288.3)

Export this scale for Tailwind in the Tailwind colors tool

#2D274F 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)#182D500.034
Deuteranopia (no green cones)#182C4E0.034
Tritanopia (no blue cones)#242F370.059
Achromatopsia (no color)#2D2D2D0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D274F

    #2D274F

    oklch(30.1% 0.071 288.3)

  • #313000

    #313000

    oklch(30% 0.065 108.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D274F

    #2D274F

    oklch(30.1% 0.071 288.3)

  • #162E51

    #162E51

    oklch(30.2% 0.07 257.9)

  • #3D2145

    #3D2145

    oklch(30.1% 0.072 318.4)

Open the analogous palette in the generator

Split complementary

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

  • #2D274F

    #2D274F

    oklch(30.1% 0.071 288.3)

  • #3F2900

    #3F2900

    oklch(30% 0.063 77.5)

  • #1A3610

    #1A3610

    oklch(30.1% 0.071 138.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D274F

    #2D274F

    oklch(30.1% 0.071 288.3)

  • #4A2109

    #4A2109

    oklch(30.1% 0.071 47.6)

  • #003728

    #003728

    oklch(29.9% 0.06 168.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D274F

    #2D274F

    oklch(30.1% 0.071 288.3)

  • #4B1D20

    #4B1D20

    oklch(30% 0.07 18.3)

  • #313000

    #313000

    oklch(30% 0.065 108.5)

  • #003637

    #003637

    oklch(30.2% 0.051 196.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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