#271839

Closest named color: Oxford Blue (#1B263B). oklch(24.6% 0.063 303.1), rgb(39, 24, 57).

Aa

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

About this color

#271839 is a very dark, muted purple. In OKLCH its lightness is 25%, its chroma 0.063 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.047 away. White text reads best on it, at 16.45:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamuted (0.063)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.27:1
White text16.45:1

Values

HEX#271839
RGBrgb(39, 24, 57)
HSLhsl(267, 41%, 16%)
OKLCHoklch(24.6% 0.063 303.1)

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 #271839 16.45:1 AAA Lc -105.8 Preferred for body text
Black text on #271839 1.27:1 Fails Lc 0.0 Not readable
#271839 text on white 16.45:1 AAA Lc 103.3 Preferred for body text
#271839 text on black 1.27: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

    #F7F4FB

    oklch(97.1% 0.01 305.4)

  2. Step 100

    100

    #ECE7F6

    oklch(93.6% 0.021 301.1)

  3. Step 200

    200

    #DED3F0

    oklch(88.5% 0.041 302.8)

  4. Step 300

    300

    #CAB5E9

    oklch(80.8% 0.075 303.2)

  5. Step 400

    400

    #B08EDD

    oklch(70.8% 0.118 303.3)

  6. Step 500

    500

    #9D6FD4

    oklch(63.1% 0.152 303.3)

  7. Step 600

    600

    #8855C1

    oklch(55.6% 0.165 303.2)

  8. Step 700

    700

    #7345A7

    oklch(49.1% 0.153 302.8)

  9. Step 800

    800

    #5E3987

    oklch(42.7% 0.127 303.3)

  10. Step 900

    900

    #4D326C

    oklch(37.7% 0.099 303.5)

  11. Step 950

    950 (this color)

    #271839

    oklch(24.6% 0.063 303.1)

Export this scale for Tailwind in the Tailwind colors tool

#271839 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)#0E1F3A0.045
Deuteranopia (no green cones)#121F380.041
Tritanopia (no blue cones)#241E250.048
Achromatopsia (no color)#1F1F1F0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #271839

    #271839

    oklch(24.6% 0.063 303.1)

  • #1B2500

    #1B2500

    oklch(24.6% 0.061 123.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271839

    #271839

    oklch(24.6% 0.063 303.1)

  • #171D3E

    #171D3E

    oklch(24.5% 0.063 273.1)

  • #32142D

    #32142D

    oklch(24.7% 0.062 333.9)

Open the analogous palette in the generator

Split complementary

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

  • #271839

    #271839

    oklch(24.6% 0.063 303.1)

  • #292000

    #292000

    oklch(24.7% 0.051 93.6)

  • #002911

    #002911

    oklch(24.6% 0.064 152.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271839

    #271839

    oklch(24.6% 0.063 303.1)

  • #331A00

    #331A00

    oklch(24.7% 0.056 63.8)

  • #002723

    #002723

    oklch(24.5% 0.043 184.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271839

    #271839

    oklch(24.6% 0.063 303.1)

  • #39130B

    #39130B

    oklch(24.6% 0.063 33.5)

  • #1B2500

    #1B2500

    oklch(24.6% 0.061 123.5)

  • #00262D

    #00262D

    oklch(24.7% 0.043 212.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #271839 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.