#270B1F

Closest named color: Very Dark Purple (#2A0134). oklch(20.5% 0.056 340), rgb(39, 11, 31).

Aa

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

About this color

#270B1F is a very dark, muted purple. In OKLCH its lightness is 20%, its chroma 0.056 and its hue 340°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.051 away. White text reads best on it, at 18.19:1.

Hue familyPurples
Lightnessvery dark (20%)
Chromamuted (0.056)
Temperaturewarm
Nearest nameVery Dark Purple (#2A0134)
Black text1.15:1
White text18.19:1

Values

HEX#270B1F
RGBrgb(39, 11, 31)
HSLhsl(317, 56%, 10%)
OKLCHoklch(20.5% 0.056 340)

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 #270B1F 18.19:1 AAA Lc -106.8 Preferred for body text
Black text on #270B1F 1.15:1 Fails Lc 0.0 Not readable
#270B1F text on white 18.19:1 AAA Lc 104.7 Preferred for body text
#270B1F text on black 1.15: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

    #FAF3F7

    oklch(97.1% 0.009 341.8)

  2. Step 100

    100

    #F3E5EE

    oklch(93.6% 0.019 338.7)

  3. Step 200

    200

    #EBD0E1

    oklch(88.5% 0.037 339.8)

  4. Step 300

    300

    #DFB0CE

    oklch(80.8% 0.067 340.2)

  5. Step 400

    400

    #CD86B5

    oklch(70.7% 0.106 340.3)

  6. Step 500

    500

    #BE66A3

    oklch(63.1% 0.135 339.9)

  7. Step 600

    600

    #A94B8E

    oklch(55.5% 0.147 339.9)

  8. Step 700

    700

    #913C79

    oklch(49.2% 0.137 339.9)

  9. Step 800

    800

    #763262

    oklch(42.7% 0.113 340.2)

  10. Step 900

    900

    #5F2D50

    oklch(37.7% 0.087 339.9)

  11. Step 950

    950 (this color)

    #270B1F

    oklch(20.5% 0.056 340)

Export this scale for Tailwind in the Tailwind colors tool

#270B1F 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)#0C13200.060
Deuteranopia (no green cones)#14171E0.054
Tritanopia (no blue cones)#2A0C130.027
Achromatopsia (no color)#1515150.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #270B1F

    #270B1F

    oklch(20.5% 0.056 340)

  • #001D10

    #001D10

    oklch(20.4% 0.045 161.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #270B1F

    #270B1F

    oklch(20.5% 0.056 340)

  • #1F0E2A

    #1F0E2A

    oklch(20.4% 0.057 310.3)

  • #2B0A11

    #2B0A11

    oklch(20.5% 0.055 10.5)

Open the analogous palette in the generator

Split complementary

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

  • #270B1F

    #270B1F

    oklch(20.5% 0.056 340)

  • #0E1C00

    #0E1C00

    oklch(20.6% 0.056 130.6)

  • #001C1B

    #001C1B

    oklch(20.5% 0.035 191.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #270B1F

    #270B1F

    oklch(20.5% 0.056 340)

  • #1C1700

    #1C1700

    oklch(20.4% 0.042 98.7)

  • #001B23

    #001B23

    oklch(20.5% 0.037 220.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #270B1F

    #270B1F

    oklch(20.5% 0.056 340)

  • #241300

    #241300

    oklch(20.6% 0.045 69.9)

  • #001D10

    #001D10

    oklch(20.4% 0.045 161.2)

  • #01182F

    #01182F

    oklch(20.5% 0.055 249.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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