#270F43

Closest named color: Dark Purple (#35063E). oklch(23.8% 0.093 300.6), rgb(39, 15, 67).

Aa

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

About this color

#270F43 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.093 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.037 away. White text reads best on it, at 16.99:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.23:1
White text16.99:1

Values

HEX#270F43
RGBrgb(39, 15, 67)
HSLhsl(268, 63%, 16%)
OKLCHoklch(23.8% 0.093 300.6)

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 #270F43 16.99:1 AAA Lc -106.0 Preferred for body text
Black text on #270F43 1.23:1 Fails Lc 0.0 Not readable
#270F43 text on white 16.99:1 AAA Lc 103.6 Preferred for body text
#270F43 text on black 1.23: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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EDE5FD

    oklch(93.5% 0.033 300.9)

  3. Step 200

    200

    #DFD1FC

    oklch(88.6% 0.06 300)

  4. Step 300

    300

    #CCB0FD

    oklch(80.9% 0.11 300.7)

  5. Step 400

    400

    #B382FC

    oklch(70.6% 0.177 300.5)

  6. Step 500

    500

    #A25CF9

    oklch(63.1% 0.225 300.6)

  7. Step 600

    600

    #8E39E8

    oklch(55.6% 0.244 300.5)

  8. Step 700

    700

    #7928CA

    oklch(49.1% 0.228 300.4)

  9. Step 800

    800

    #6225A3

    oklch(42.7% 0.188 300.4)

  10. Step 900

    900

    #502682

    oklch(37.8% 0.147 300.4)

  11. Step 950

    950 (this color)

    #270F43

    oklch(23.8% 0.093 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#270F43 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)#001C450.066
Deuteranopia (no green cones)#001C420.067
Tritanopia (no blue cones)#211B270.069
Achromatopsia (no color)#1C1C1C0.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #270F43

    #270F43

    oklch(23.8% 0.093 300.6)

  • #1B2300

    #1B2300

    oklch(24% 0.058 121.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #270F43

    #270F43

    oklch(23.8% 0.093 300.6)

  • #10184A

    #10184A

    oklch(23.9% 0.093 270.7)

  • #350733

    #350733

    oklch(23.8% 0.093 329.9)

Open the analogous palette in the generator

Split complementary

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

  • #270F43

    #270F43

    oklch(23.8% 0.093 300.6)

  • #281E00

    #281E00

    oklch(24% 0.049 90.9)

  • #00270D

    #00270D

    oklch(23.8% 0.065 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #270F43

    #270F43

    oklch(23.8% 0.093 300.6)

  • #311700

    #311700

    oklch(23.7% 0.056 60.2)

  • #002520

    #002520

    oklch(23.7% 0.043 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #270F43

    #270F43

    oklch(23.8% 0.093 300.6)

  • #410300

    #410300

    oklch(23.9% 0.093 31)

  • #1B2300

    #1B2300

    oklch(24% 0.058 121.5)

  • #00242A

    #00242A

    oklch(23.9% 0.041 211)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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