#270E3D

Closest named color: Midnight Purple (#280137). oklch(23.2% 0.087 304.9), rgb(39, 14, 61).

Aa

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

About this color

#270E3D is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.087 and its hue 305°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.030 away. White text reads best on it, at 17.26:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.21:1
White text17.26:1

Values

HEX#270E3D
RGBrgb(39, 14, 61)
HSLhsl(272, 63%, 15%)
OKLCHoklch(23.2% 0.087 304.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 #270E3D 17.26:1 AAA Lc -106.2 Preferred for body text
Black text on #270E3D 1.21:1 Fails Lc 0.0 Not readable
#270E3D text on white 17.26:1 AAA Lc 103.8 Preferred for body text
#270E3D text on black 1.21: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

    #F7F3FD

    oklch(97% 0.014 304.1)

  2. Step 100

    100

    #EEE5FA

    oklch(93.5% 0.03 305.1)

  3. Step 200

    200

    #E2D0F8

    oklch(88.5% 0.057 305.6)

  4. Step 300

    300

    #D0B0F6

    oklch(80.9% 0.102 305.1)

  5. Step 400

    400

    #B983F2

    oklch(70.8% 0.164 305)

  6. Step 500

    500

    #A85EED

    oklch(63.2% 0.21 305)

  7. Step 600

    600

    #933DDB

    oklch(55.5% 0.228 304.7)

  8. Step 700

    700

    #7E2DBE

    oklch(49.1% 0.212 305)

  9. Step 800

    800

    #66289A

    oklch(42.7% 0.176 304.7)

  10. Step 900

    900

    #53277A

    oklch(37.7% 0.137 305.1)

  11. Step 950

    950 (this color)

    #270E3D

    oklch(23.2% 0.087 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#270E3D 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)#001A3E0.069
Deuteranopia (no green cones)#021B3C0.067
Tritanopia (no blue cones)#2318240.061
Achromatopsia (no color)#1B1B1B0.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #270E3D

    #270E3D

    oklch(23.2% 0.087 304.9)

  • #172200

    #172200

    oklch(23.3% 0.059 125.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #270E3D

    #270E3D

    oklch(23.2% 0.087 304.9)

  • #131645

    #131645

    oklch(23.2% 0.087 274.6)

  • #34072D

    #34072D

    oklch(23.2% 0.087 335.1)

Open the analogous palette in the generator

Split complementary

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

  • #270E3D

    #270E3D

    oklch(23.2% 0.087 304.9)

  • #241D00

    #241D00

    oklch(23.2% 0.048 96.3)

  • #002511

    #002511

    oklch(23.2% 0.057 155.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #270E3D

    #270E3D

    oklch(23.2% 0.087 304.9)

  • #2E1700

    #2E1700

    oklch(23.2% 0.052 64)

  • #002320

    #002320

    oklch(23.1% 0.04 186.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #270E3D

    #270E3D

    oklch(23.2% 0.087 304.9)

  • #3B0800

    #3B0800

    oklch(23.2% 0.081 35)

  • #172200

    #172200

    oklch(23.3% 0.059 125.4)

  • #002229

    #002229

    oklch(23.2% 0.041 214.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #270E3D 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.