#27273A

Closest named color: Oxford Blue (#1B263B). oklch(28.2% 0.035 283.9), rgb(39, 39, 58).

Aa

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

About this color

#27273A is a dark, muted purple. In OKLCH its lightness is 28%, its chroma 0.035 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.020 away. White text reads best on it, at 14.60:1.

Hue familyPurples
Lightnessdark (28%)
Chromamuted (0.035)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.43:1
White text14.60:1

Values

HEX#27273A
RGBrgb(39, 39, 58)
HSLhsl(240, 20%, 19%)
OKLCHoklch(28.2% 0.035 283.9)

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 #27273A 14.60:1 AAA Lc -104.3 Preferred for body text
Black text on #27273A 1.43:1 Fails Lc 0.0 Not readable
#27273A text on white 14.60:1 AAA Lc 101.4 Preferred for body text
#27273A text on black 1.43: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

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D7D7E8

    oklch(88.4% 0.023 285.9)

  4. Step 300

    300

    #BDBEDB

    oklch(81% 0.041 283.9)

  5. Step 400

    400

    #9B9CC9

    oklch(70.8% 0.065 283.6)

  6. Step 500

    500

    #8383BB

    oklch(63.2% 0.084 283.7)

  7. Step 600

    600

    #6D6CA7

    oklch(55.7% 0.091 283.8)

  8. Step 700

    700

    #5B5A8F

    oklch(49.2% 0.084 283.7)

  9. Step 800

    800

    #4A4974

    oklch(42.6% 0.071 284)

  10. Step 900

    900

    #3E3E5E

    oklch(37.8% 0.054 283.5)

  11. Step 950

    950 (this color)

    #27273A

    oklch(28.2% 0.035 283.9)

Export this scale for Tailwind in the Tailwind colors tool

#27273A 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)#22293B0.010
Deuteranopia (no green cones)#21283A0.010
Tritanopia (no blue cones)#222A2E0.029
Achromatopsia (no color)#2929290.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #27273A

    #27273A

    oklch(28.2% 0.035 283.9)

  • #2C2A15

    #2C2A15

    oklch(28.1% 0.035 103.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27273A

    #27273A

    oklch(28.2% 0.035 283.9)

  • #1D2A3A

    #1D2A3A

    oklch(28.1% 0.035 254)

  • #302435

    #302435

    oklch(28.2% 0.035 315.8)

Open the analogous palette in the generator

Split complementary

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

  • #27273A

    #27273A

    oklch(28.2% 0.035 283.9)

  • #342715

    #342715

    oklch(28.3% 0.035 74.6)

  • #222D1B

    #222D1B

    oklch(28.1% 0.035 133.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27273A

    #27273A

    oklch(28.2% 0.035 283.9)

  • #38241B

    #38241B

    oklch(28.2% 0.035 45.1)

  • #182F25

    #182F25

    oklch(28.3% 0.035 164.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27273A

    #27273A

    oklch(28.2% 0.035 283.9)

  • #392224

    #392224

    oklch(28.2% 0.036 13.9)

  • #2C2A15

    #2C2A15

    oklch(28.1% 0.035 103.7)

  • #122F2E

    #122F2E

    oklch(28.3% 0.035 192.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27273A 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.