#2E274C

Closest named color: Space Cadet (#2B2D42). oklch(30% 0.066 290.6), rgb(46, 39, 76).

Aa

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

About this color

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

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

Values

HEX#2E274C
RGBrgb(46, 39, 76)
HSLhsl(251, 32%, 23%)
OKLCHoklch(30% 0.066 290.6)

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

    #E9E8F8

    oklch(93.6% 0.021 288.9)

  3. Step 200

    200

    #D8D5F4

    oklch(88.5% 0.042 289.9)

  4. Step 300

    300

    #C0B8F0

    oklch(80.8% 0.079 291.1)

  5. Step 400

    400

    #A192E8

    oklch(70.7% 0.124 290.9)

  6. Step 500

    500

    #8B74E1

    oklch(63% 0.159 290.8)

  7. Step 600

    600

    #765ACF

    oklch(55.5% 0.173 290.7)

  8. Step 700

    700

    #6349B3

    oklch(49% 0.161 290.5)

  9. Step 800

    800

    #513D91

    oklch(42.7% 0.133 290.6)

  10. Step 900

    900

    #433574

    oklch(37.8% 0.104 290.8)

  11. Step 950

    950 (this color)

    #2E274C

    oklch(30% 0.066 290.6)

Export this scale for Tailwind in the Tailwind colors tool

#2E274C 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)#1B2D4D0.033
Deuteranopia (no green cones)#1B2C4B0.032
Tritanopia (no blue cones)#262E350.055
Achromatopsia (no color)#2C2C2C0.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E274C

    #2E274C

    oklch(30% 0.066 290.6)

  • #303000

    #303000

    oklch(29.9% 0.065 109.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E274C

    #2E274C

    oklch(30% 0.066 290.6)

  • #1A2D4E

    #1A2D4E

    oklch(29.9% 0.065 260.8)

  • #3C2242

    #3C2242

    oklch(30% 0.065 319.9)

Open the analogous palette in the generator

Split complementary

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

  • #2E274C

    #2E274C

    oklch(30% 0.066 290.6)

  • #3E2A00

    #3E2A00

    oklch(30.1% 0.062 80.6)

  • #1A3615

    #1A3615

    oklch(30.1% 0.066 140.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E274C

    #2E274C

    oklch(30% 0.066 290.6)

  • #47230B

    #47230B

    oklch(30.1% 0.065 51.2)

  • #003729

    #003729

    oklch(30% 0.059 169.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E274C

    #2E274C

    oklch(30% 0.066 290.6)

  • #491E1F

    #491E1F

    oklch(29.8% 0.066 20.5)

  • #303000

    #303000

    oklch(29.9% 0.065 109.8)

  • #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 #2E274C, closest first.

Similar named colors

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

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