#271034

Closest named color: Very Dark Purple (#2A0134). oklch(22.7% 0.071 311.5), rgb(39, 16, 52).

Aa

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

About this color

#271034 is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.071 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.034 away. White text reads best on it, at 17.35:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.20:1
White text17.35:1

Values

HEX#271034
RGBrgb(39, 16, 52)
HSLhsl(278, 53%, 13%)
OKLCHoklch(22.7% 0.071 311.5)

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 #271034 17.35:1 AAA Lc -106.3 Preferred for body text
Black text on #271034 1.20:1 Fails Lc 0.0 Not readable
#271034 text on white 17.35:1 AAA Lc 104.0 Preferred for body text
#271034 text on black 1.20: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

    #F8F3FB

    oklch(97% 0.012 313.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E3D1F0

    oklch(88.5% 0.046 311.2)

  4. Step 300

    300

    #D3B1E9

    oklch(80.9% 0.085 311.9)

  5. Step 400

    400

    #BC87DE

    oklch(70.8% 0.135 311.3)

  6. Step 500

    500

    #AB65D4

    oklch(63% 0.173 311.5)

  7. Step 600

    600

    #9649C1

    oklch(55.5% 0.187 311.4)

  8. Step 700

    700

    #8039A7

    oklch(49% 0.175 311.3)

  9. Step 800

    800

    #683187

    oklch(42.7% 0.143 311.3)

  10. Step 900

    900

    #552C6C

    oklch(37.7% 0.112 311.8)

  11. Step 950

    950 (this color)

    #271034

    oklch(22.7% 0.071 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#271034 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)#0519350.062
Deuteranopia (no green cones)#0D1B330.056
Tritanopia (no blue cones)#2517200.049
Achromatopsia (no color)#1A1A1A0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #271034

    #271034

    oklch(22.7% 0.071 311.5)

  • #112200

    #112200

    oklch(22.8% 0.063 131.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271034

    #271034

    oklch(22.7% 0.071 311.5)

  • #18163C

    #18163C

    oklch(22.8% 0.071 281.5)

  • #310B26

    #310B26

    oklch(22.7% 0.072 341)

Open the analogous palette in the generator

Split complementary

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

  • #271034

    #271034

    oklch(22.7% 0.071 311.5)

  • #211D00

    #211D00

    oklch(22.8% 0.048 102.2)

  • #002315

    #002315

    oklch(22.6% 0.049 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271034

    #271034

    oklch(22.7% 0.071 311.5)

  • #2A1800

    #2A1800

    oklch(22.8% 0.049 72.5)

  • #002221

    #002221

    oklch(22.8% 0.039 191.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271034

    #271034

    oklch(22.7% 0.071 311.5)

  • #350D00

    #350D00

    oklch(22.6% 0.069 41.3)

  • #112200

    #112200

    oklch(22.8% 0.063 131.6)

  • #00202A

    #00202A

    oklch(22.6% 0.042 222.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #271034 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.