#271E3D

Closest named color: Oxford Blue (#1B263B). oklch(26.2% 0.057 295.6), rgb(39, 30, 61).

Aa

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

About this color

#271E3D is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.057 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.032 away. White text reads best on it, at 15.67:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.057)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.33:1
White text15.67:1

Values

HEX#271E3D
RGBrgb(39, 30, 61)
HSLhsl(257, 34%, 18%)
OKLCHoklch(26.2% 0.057 295.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 #271E3D 15.67:1 AAA Lc -105.2 Preferred for body text
Black text on #271E3D 1.33:1 Fails Lc 0.0 Not readable
#271E3D text on white 15.67:1 AAA Lc 102.6 Preferred for body text
#271E3D text on black 1.33: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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #EAE7F6

    oklch(93.5% 0.02 295.2)

  3. Step 200

    200

    #DBD5F0

    oklch(88.6% 0.037 295.8)

  4. Step 300

    300

    #C4B8E8

    oklch(80.9% 0.068 296.3)

  5. Step 400

    400

    #A692DD

    oklch(70.6% 0.109 295.7)

  6. Step 500

    500

    #9176D3

    oklch(63.1% 0.138 295.6)

  7. Step 600

    600

    #7C5DC0

    oklch(55.6% 0.15 295.6)

  8. Step 700

    700

    #694CA6

    oklch(49.2% 0.14 295.7)

  9. Step 800

    800

    #553F87

    oklch(42.8% 0.116 295.1)

  10. Step 900

    900

    #46366C

    oklch(37.7% 0.091 295.4)

  11. Step 950

    950 (this color)

    #271E3D

    oklch(26.2% 0.057 295.6)

Export this scale for Tailwind in the Tailwind colors tool

#271E3D 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)#14233E0.033
Deuteranopia (no green cones)#16233C0.032
Tritanopia (no blue cones)#22242A0.047
Achromatopsia (no color)#2323230.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #271E3D

    #271E3D

    oklch(26.2% 0.057 295.6)

  • #242802

    #242802

    oklch(26.4% 0.057 115.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271E3D

    #271E3D

    oklch(26.2% 0.057 295.6)

  • #172340

    #172340

    oklch(26.2% 0.057 265.7)

  • #321A33

    #321A33

    oklch(26.2% 0.056 325.6)

Open the analogous palette in the generator

Split complementary

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

  • #271E3D

    #271E3D

    oklch(26.2% 0.057 295.6)

  • #302200

    #302200

    oklch(26.2% 0.054 85.7)

  • #102C12

    #102C12

    oklch(26.3% 0.058 145.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271E3D

    #271E3D

    oklch(26.2% 0.057 295.6)

  • #391C05

    #391C05

    oklch(26.2% 0.057 55.6)

  • #002C23

    #002C23

    oklch(26.2% 0.049 175)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271E3D

    #271E3D

    oklch(26.2% 0.057 295.6)

  • #3C1816

    #3C1816

    oklch(26.2% 0.057 25)

  • #242802

    #242802

    oklch(26.4% 0.057 115.5)

  • #002B2F

    #002B2F

    oklch(26.4% 0.045 204.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #271E3D 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.