#271942

Closest named color: Oxford Blue (#1B263B). oklch(25.5% 0.075 296.5), rgb(39, 25, 66).

Aa

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

About this color

#271942 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.075 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.048 away. White text reads best on it, at 16.10:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.30:1
White text16.10:1

Values

HEX#271942
RGBrgb(39, 25, 66)
HSLhsl(260, 45%, 18%)
OKLCHoklch(25.5% 0.075 296.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 #271942 16.10:1 AAA Lc -105.5 Preferred for body text
Black text on #271942 1.30:1 Fails Lc 0.0 Not readable
#271942 text on white 16.10:1 AAA Lc 102.9 Preferred for body text
#271942 text on black 1.30: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DCD3F7

    oklch(88.5% 0.05 296.8)

  4. Step 300

    300

    #C6B5F4

    oklch(80.9% 0.089 296.7)

  5. Step 400

    400

    #AA8CEE

    oklch(70.7% 0.142 296.7)

  6. Step 500

    500

    #966CE8

    oklch(63.1% 0.181 296.5)

  7. Step 600

    600

    #8250D6

    oklch(55.7% 0.196 296.7)

  8. Step 700

    700

    #6E3FBA

    oklch(49.1% 0.184 296.6)

  9. Step 800

    800

    #593596

    oklch(42.6% 0.152 296.5)

  10. Step 900

    900

    #493078

    oklch(37.8% 0.118 296.3)

  11. Step 950

    950 (this color)

    #271942

    oklch(25.5% 0.075 296.5)

Export this scale for Tailwind in the Tailwind colors tool

#271942 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)#0721430.050
Deuteranopia (no green cones)#0B20410.047
Tritanopia (no blue cones)#21212A0.058
Achromatopsia (no color)#2121210.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #271942

    #271942

    oklch(25.5% 0.075 296.5)

  • #212600

    #212600

    oklch(25.5% 0.059 117)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271942

    #271942

    oklch(25.5% 0.075 296.5)

  • #122046

    #122046

    oklch(25.5% 0.074 266.1)

  • #351336

    #351336

    oklch(25.6% 0.076 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #271942

    #271942

    oklch(25.5% 0.075 296.5)

  • #2E2100

    #2E2100

    oklch(25.6% 0.052 86.9)

  • #012C0A

    #012C0A

    oklch(25.6% 0.075 146.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271942

    #271942

    oklch(25.5% 0.075 296.5)

  • #391900

    #391900

    oklch(25.5% 0.063 55.5)

  • #002A22

    #002A22

    oklch(25.5% 0.047 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271942

    #271942

    oklch(25.5% 0.075 296.5)

  • #40100E

    #40100E

    oklch(25.5% 0.075 26.3)

  • #212600

    #212600

    oklch(25.5% 0.059 117)

  • #00292D

    #00292D

    oklch(25.6% 0.044 204.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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