#270B20

Closest named color: Very Dark Purple (#2A0134). oklch(20.5% 0.057 338.2), rgb(39, 11, 32).

Aa

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

About this color

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

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

Values

HEX#270B20
RGBrgb(39, 11, 32)
HSLhsl(315, 56%, 10%)
OKLCHoklch(20.5% 0.057 338.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 #270B20 18.18:1 AAA Lc -106.8 Preferred for body text
Black text on #270B20 1.15:1 Fails Lc 0.0 Not readable
#270B20 text on white 18.18:1 AAA Lc 104.6 Preferred for body text
#270B20 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

    #EBD0E2

    oklch(88.5% 0.038 338.1)

  4. Step 300

    300

    #DEB0D0

    oklch(80.8% 0.068 337.6)

  5. Step 400

    400

    #CD86B8

    oklch(70.8% 0.108 338.3)

  6. Step 500

    500

    #BE65A6

    oklch(63.1% 0.139 338.2)

  7. Step 600

    600

    #A94B91

    oklch(55.7% 0.15 338.3)

  8. Step 700

    700

    #913B7B

    oklch(49.1% 0.14 338.6)

  9. Step 800

    800

    #763264

    oklch(42.8% 0.115 338.8)

  10. Step 900

    900

    #5F2C52

    oklch(37.6% 0.091 337.9)

  11. Step 950

    950 (this color)

    #270B20

    oklch(20.5% 0.057 338.2)

Export this scale for Tailwind in the Tailwind colors tool

#270B20 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)#0C13210.060
Deuteranopia (no green cones)#14171F0.053
Tritanopia (no blue cones)#290C140.026
Achromatopsia (no color)#1515150.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #270B20

    #270B20

    oklch(20.5% 0.057 338.2)

  • #001E0F

    #001E0F

    oklch(20.7% 0.048 158.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #270B20

    #270B20

    oklch(20.5% 0.057 338.2)

  • #1F0F2B

    #1F0F2B

    oklch(20.7% 0.057 308.6)

  • #2C0912

    #2C0912

    oklch(20.5% 0.058 8.2)

Open the analogous palette in the generator

Split complementary

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

  • #270B20

    #270B20

    oklch(20.5% 0.057 338.2)

  • #101B00

    #101B00

    oklch(20.4% 0.053 127.5)

  • #001C1A

    #001C1A

    oklch(20.4% 0.035 188.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #270B20

    #270B20

    oklch(20.5% 0.057 338.2)

  • #1C1700

    #1C1700

    oklch(20.4% 0.042 98.7)

  • #001B22

    #001B22

    oklch(20.5% 0.037 217.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #270B20

    #270B20

    oklch(20.5% 0.057 338.2)

  • #241300

    #241300

    oklch(20.6% 0.045 69.9)

  • #001E0F

    #001E0F

    oklch(20.7% 0.048 158.4)

  • #00182F

    #00182F

    oklch(20.5% 0.056 248.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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