#270A2A

Closest named color: Very Dark Purple (#2A0134). oklch(21% 0.07 323.8), rgb(39, 10, 42).

Aa

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

About this color

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

Hue familyPurples
Lightnessvery dark (21%)
Chromamuted (0.070)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.16:1
White text18.05:1

Values

HEX#270A2A
RGBrgb(39, 10, 42)
HSLhsl(294, 62%, 10%)
OKLCHoklch(21% 0.07 323.8)

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 #270A2A 18.05:1 AAA Lc -106.7 Preferred for body text
Black text on #270A2A 1.16:1 Fails Lc 0.0 Not readable
#270A2A text on white 18.05:1 AAA Lc 104.5 Preferred for body text
#270A2A text on black 1.16: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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E9CFEB

    oklch(88.4% 0.047 323.8)

  4. Step 300

    300

    #DCAFDF

    oklch(81% 0.082 324.3)

  5. Step 400

    400

    #C983CF

    oklch(70.8% 0.132 324.1)

  6. Step 500

    500

    #B960C2

    oklch(63% 0.169 323.8)

  7. Step 600

    600

    #A543AF

    oklch(55.6% 0.185 323.9)

  8. Step 700

    700

    #8D3496

    oklch(49.1% 0.171 323.9)

  9. Step 800

    800

    #732C7A

    oklch(42.7% 0.142 324)

  10. Step 900

    900

    #5D2962

    oklch(37.7% 0.11 324)

  11. Step 950

    950 (this color)

    #270A2A

    oklch(21% 0.07 323.8)

Export this scale for Tailwind in the Tailwind colors tool

#270A2A 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)#05142B0.070
Deuteranopia (no green cones)#0F17290.060
Tritanopia (no blue cones)#280F180.042
Achromatopsia (no color)#1616160.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #270A2A

    #270A2A

    oklch(21% 0.07 323.8)

  • #002002

    #002002

    oklch(21.1% 0.068 144.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #270A2A

    #270A2A

    oklch(21% 0.07 323.8)

  • #1B0F35

    #1B0F35

    oklch(21% 0.071 293.9)

  • #2F061B

    #2F061B

    oklch(21.1% 0.071 353.3)

Open the analogous palette in the generator

Split complementary

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

  • #270A2A

    #270A2A

    oklch(21% 0.07 323.8)

  • #181A00

    #181A00

    oklch(20.9% 0.047 113.6)

  • #001E17

    #001E17

    oklch(21% 0.04 174.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #270A2A

    #270A2A

    oklch(21% 0.07 323.8)

  • #221600

    #221600

    oklch(21% 0.043 82.5)

  • #001D20

    #001D20

    oklch(21% 0.036 204.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #270A2A

    #270A2A

    oklch(21% 0.07 323.8)

  • #2A1000

    #2A1000

    oklch(21% 0.053 53.9)

  • #002002

    #002002

    oklch(21.1% 0.068 144.1)

  • #001B29

    #001B29

    oklch(20.9% 0.044 234)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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