#272557

Closest named color: Marine (#042E60). oklch(29.7% 0.088 281.4), rgb(39, 37, 87).

Aa

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

About this color

#272557 is a dark, moderately saturated purple. In OKLCH its lightness is 30%, its chroma 0.088 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.044 away. White text reads best on it, at 14.10:1.

Hue familyPurples
Lightnessdark (30%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.48:1
White text14.10:1

Values

HEX#272557
RGBrgb(39, 37, 87)
HSLhsl(242, 40%, 24%)
OKLCHoklch(29.7% 0.088 281.4)

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 #272557 14.10:1 AAA Lc -103.6 Preferred for body text
Black text on #272557 1.48:1 Fails Lc 0.0 Not readable
#272557 text on white 14.10:1 AAA Lc 100.6 Preferred for body text
#272557 text on black 1.48: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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E6E8FE

    oklch(93.6% 0.03 281.7)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300

    #B5B9FF

    oklch(80.8% 0.099 281.4)

  5. Step 400

    400

    #9192FF

    oklch(70.7% 0.157 281.2)

  6. Step 500

    500

    #7A71FF

    oklch(63.1% 0.204 281.7)

  7. Step 600

    600

    #6551F3

    oklch(55.5% 0.231 281.4)

  8. Step 700

    700

    #5540D4

    oklch(49.1% 0.215 281.4)

  9. Step 800

    800

    #4536AB

    oklch(42.6% 0.178 281.6)

  10. Step 900

    900

    #393187

    oklch(37.6% 0.138 281.6)

  11. Step 950

    950 (this color)

    #272557

    oklch(29.7% 0.088 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#272557 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)#0A2D590.038
Deuteranopia (no green cones)#0529560.040
Tritanopia (no blue cones)#14303A0.075
Achromatopsia (no color)#2B2B2B0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #272557

    #272557

    oklch(29.7% 0.088 281.4)

  • #342E00

    #342E00

    oklch(29.8% 0.062 101.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #272557

    #272557

    oklch(29.7% 0.088 281.4)

  • #002E57

    #002E57

    oklch(29.8% 0.087 251.2)

  • #3B1D4C

    #3B1D4C

    oklch(29.6% 0.088 311.7)

Open the analogous palette in the generator

Split complementary

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

  • #272557

    #272557

    oklch(29.7% 0.088 281.4)

  • #402700

    #402700

    oklch(29.7% 0.063 72.6)

  • #1D3500

    #1D3500

    oklch(29.8% 0.082 131.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #272557

    #272557

    oklch(29.7% 0.088 281.4)

  • #4F1902

    #4F1902

    oklch(29.6% 0.088 41.2)

  • #003722

    #003722

    oklch(29.7% 0.066 161)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #272557

    #272557

    oklch(29.7% 0.088 281.4)

  • #501522

    #501522

    oklch(29.8% 0.088 11.2)

  • #342E00

    #342E00

    oklch(29.8% 0.062 101.6)

  • #003533

    #003533

    oklch(29.7% 0.051 190.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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