#270F2E

Closest named color: Very Dark Purple (#2A0134). oklch(22.1% 0.065 318.1), rgb(39, 15, 46).

Aa

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

About this color

#270F2E is a very dark, muted purple. In OKLCH its lightness is 22%, its chroma 0.065 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.035 away. White text reads best on it, at 17.58:1.

Hue familyPurples
Lightnessvery dark (22%)
Chromamuted (0.065)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.19:1
White text17.58:1

Values

HEX#270F2E
RGBrgb(39, 15, 46)
HSLhsl(286, 51%, 12%)
OKLCHoklch(22.1% 0.065 318.1)

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 #270F2E 17.58:1 AAA Lc -106.5 Preferred for body text
Black text on #270F2E 1.19:1 Fails Lc 0.0 Not readable
#270F2E text on white 17.58:1 AAA Lc 104.2 Preferred for body text
#270F2E text on black 1.19: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

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E5F4

    oklch(93.5% 0.023 317.1)

  3. Step 200

    200

    #E5D1EC

    oklch(88.5% 0.042 317.4)

  4. Step 300

    300

    #D6B1E1

    oklch(80.8% 0.077 318.4)

  5. Step 400

    400

    #C187D2

    oklch(70.7% 0.123 318.4)

  6. Step 500

    500

    #B067C6

    oklch(63.1% 0.157 318)

  7. Step 600

    600

    #9B4BB3

    oklch(55.5% 0.172 317.8)

  8. Step 700

    700

    #853C9A

    oklch(49.2% 0.159 318.1)

  9. Step 800

    800

    #6C327D

    oklch(42.7% 0.132 318)

  10. Step 900

    900

    #582D64

    oklch(37.8% 0.102 318.5)

  11. Step 950

    950 (this color)

    #270F2E

    oklch(22.1% 0.065 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#270F2E 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)#08172F0.060
Deuteranopia (no green cones)#101A2D0.054
Tritanopia (no blue cones)#27141C0.042
Achromatopsia (no color)#1919190.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #270F2E

    #270F2E

    oklch(22.1% 0.065 318.1)

  • #092101

    #092101

    oklch(22% 0.065 137.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #270F2E

    #270F2E

    oklch(22.1% 0.065 318.1)

  • #1A1437

    #1A1437

    oklch(22.1% 0.066 287.7)

  • #2F0B20

    #2F0B20

    oklch(22% 0.065 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #270F2E

    #270F2E

    oklch(22.1% 0.065 318.1)

  • #1D1C00

    #1D1C00

    oklch(22% 0.047 107.9)

  • #002117

    #002117

    oklch(22% 0.044 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #270F2E

    #270F2E

    oklch(22.1% 0.065 318.1)

  • #261800

    #261800

    oklch(22.1% 0.046 79.8)

  • #002021

    #002021

    oklch(22.1% 0.038 197.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #270F2E

    #270F2E

    oklch(22.1% 0.065 318.1)

  • #301000

    #301000

    oklch(22.1% 0.06 48.3)

  • #092101

    #092101

    oklch(22% 0.065 137.7)

  • #001E2B

    #001E2B

    oklch(22% 0.044 230.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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