#272047

Closest named color: Oxford Blue (#1B263B). oklch(27.4% 0.07 289.2), rgb(39, 32, 71).

Aa

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

About this color

#272047 is a dark, moderately saturated purple. In OKLCH its lightness is 27%, its chroma 0.070 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.038 away. White text reads best on it, at 15.17:1.

Hue familyPurples
Lightnessdark (27%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.38:1
White text15.17:1

Values

HEX#272047
RGBrgb(39, 32, 71)
HSLhsl(251, 38%, 20%)
OKLCHoklch(27.4% 0.07 289.2)

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 #272047 15.17:1 AAA Lc -104.7 Preferred for body text
Black text on #272047 1.38:1 Fails Lc 0.0 Not readable
#272047 text on white 15.17:1 AAA Lc 102.0 Preferred for body text
#272047 text on black 1.38: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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D8D5F6

    oklch(88.6% 0.045 289.6)

  4. Step 300

    300

    #BEB8F3

    oklch(80.8% 0.083 289.1)

  5. Step 400

    400

    #9F91EE

    oklch(70.7% 0.134 289.4)

  6. Step 500

    500

    #8973E8

    oklch(63.1% 0.17 289.2)

  7. Step 600

    600

    #7458D6

    oklch(55.5% 0.185 289.2)

  8. Step 700

    700

    #6247BA

    oklch(49.1% 0.173 289.3)

  9. Step 800

    800

    #503B96

    oklch(42.6% 0.143 289.6)

  10. Step 900

    900

    #423478

    oklch(37.8% 0.112 289.4)

  11. Step 950

    950 (this color)

    #272047

    oklch(27.4% 0.07 289.2)

Export this scale for Tailwind in the Tailwind colors tool

#272047 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)#1027480.038
Deuteranopia (no green cones)#1125460.035
Tritanopia (no blue cones)#1E28300.058
Achromatopsia (no color)#2626260.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #272047

    #272047

    oklch(27.4% 0.07 289.2)

  • #2A2900

    #2A2900

    oklch(27.3% 0.059 108.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272047

    #272047

    oklch(27.4% 0.07 289.2)

  • #112749

    #112749

    oklch(27.5% 0.069 258.9)

  • #361A3D

    #361A3D

    oklch(27.4% 0.071 319.3)

Open the analogous palette in the generator

Split complementary

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

  • #272047

    #272047

    oklch(27.4% 0.07 289.2)

  • #362300

    #362300

    oklch(27.3% 0.057 78.4)

  • #132F0A

    #132F0A

    oklch(27.3% 0.07 139)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272047

    #272047

    oklch(27.4% 0.07 289.2)

  • #421B02

    #421B02

    oklch(27.5% 0.07 49.5)

  • #003023

    #003023

    oklch(27.5% 0.055 169.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272047

    #272047

    oklch(27.4% 0.07 289.2)

  • #431619

    #431619

    oklch(27.2% 0.07 19)

  • #2A2900

    #2A2900

    oklch(27.3% 0.059 108.3)

  • #002E30

    #002E30

    oklch(27.4% 0.047 199.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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