#271F43

Closest named color: Oxford Blue (#1B263B). oklch(26.9% 0.065 291.6), rgb(39, 31, 67).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (27%)
Chromamuted (0.065)
Temperaturein between
Nearest nameOxford Blue (#1B263B)
Black text1.36:1
White text15.40:1

Values

HEX#271F43
RGBrgb(39, 31, 67)
HSLhsl(253, 37%, 19%)
OKLCHoklch(26.9% 0.065 291.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 #271F43 15.40:1 AAA Lc -104.9 Preferred for body text
Black text on #271F43 1.36:1 Fails Lc 0.0 Not readable
#271F43 text on white 15.40:1 AAA Lc 102.2 Preferred for body text
#271F43 text on black 1.36: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

    #EAE8F8

    oklch(93.7% 0.022 291.7)

  3. Step 200

    200

    #D9D5F4

    oklch(88.6% 0.042 291.4)

  4. Step 300

    300

    #C1B8EF

    oklch(80.9% 0.077 292.1)

  5. Step 400

    400

    #A292E7

    oklch(70.8% 0.123 291.6)

  6. Step 500

    500

    #8C74E0

    oklch(63% 0.158 291.4)

  7. Step 600

    600

    #785ACE

    oklch(55.7% 0.172 291.8)

  8. Step 700

    700

    #6549B2

    oklch(49.1% 0.16 291.7)

  9. Step 800

    800

    #523D90

    oklch(42.7% 0.132 291.5)

  10. Step 900

    900

    #443573

    oklch(37.8% 0.103 291.9)

  11. Step 950

    950 (this color)

    #271F43

    oklch(26.9% 0.065 291.6)

Export this scale for Tailwind in the Tailwind colors tool

#271F43 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)#1225440.035
Deuteranopia (no green cones)#1324420.034
Tritanopia (no blue cones)#20262D0.054
Achromatopsia (no color)#2525250.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #271F43

    #271F43

    oklch(26.9% 0.065 291.6)

  • #272800

    #272800

    oklch(26.7% 0.059 111.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271F43

    #271F43

    oklch(26.9% 0.065 291.6)

  • #132546

    #132546

    oklch(26.9% 0.066 261.5)

  • #341A39

    #341A39

    oklch(26.8% 0.065 321)

Open the analogous palette in the generator

Split complementary

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

  • #271F43

    #271F43

    oklch(26.9% 0.065 291.6)

  • #342300

    #342300

    oklch(27% 0.056 81.4)

  • #112E0E

    #112E0E

    oklch(27% 0.065 141.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271F43

    #271F43

    oklch(26.9% 0.065 291.6)

  • #3E1B03

    #3E1B03

    oklch(26.8% 0.065 51.4)

  • #002E23

    #002E23

    oklch(26.8% 0.052 171.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271F43

    #271F43

    oklch(26.9% 0.065 291.6)

  • #401717

    #401717

    oklch(26.8% 0.064 22.4)

  • #272800

    #272800

    oklch(26.7% 0.059 111.2)

  • #002C2F

    #002C2F

    oklch(26.7% 0.045 201.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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