#271031

Closest named color: Very Dark Purple (#2A0134). oklch(22.5% 0.067 314.5), rgb(39, 16, 49).

Aa

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

About this color

#271031 is a very dark, muted purple. In OKLCH its lightness is 23%, its chroma 0.067 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.036 away. White text reads best on it, at 17.43:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamuted (0.067)
Temperaturein between
Nearest nameVery Dark Purple (#2A0134)
Black text1.20:1
White text17.43:1

Values

HEX#271031
RGBrgb(39, 16, 49)
HSLhsl(282, 51%, 13%)
OKLCHoklch(22.5% 0.067 314.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 #271031 17.43:1 AAA Lc -106.4 Preferred for body text
Black text on #271031 1.20:1 Fails Lc 0.0 Not readable
#271031 text on white 17.43:1 AAA Lc 104.1 Preferred for body text
#271031 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

    #F0E6F5

    oklch(93.7% 0.023 314.7)

  3. Step 200

    200

    #E4D1EE

    oklch(88.5% 0.044 314.1)

  4. Step 300

    300

    #D4B2E5

    oklch(81% 0.079 314.3)

  5. Step 400

    400

    #BE87D7

    oklch(70.6% 0.128 314.8)

  6. Step 500

    500

    #AD67CC

    oklch(63.1% 0.162 314.6)

  7. Step 600

    600

    #984BB9

    oklch(55.5% 0.177 314.5)

  8. Step 700

    700

    #823CA0

    oklch(49.2% 0.164 314.3)

  9. Step 800

    800

    #6A3281

    oklch(42.7% 0.136 314.9)

  10. Step 900

    900

    #562D68

    oklch(37.7% 0.106 314.5)

  11. Step 950

    950 (this color)

    #271031

    oklch(22.5% 0.067 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#271031 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)#0719320.061
Deuteranopia (no green cones)#0F1A300.053
Tritanopia (no blue cones)#26161E0.046
Achromatopsia (no color)#1A1A1A0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #271031

    #271031

    oklch(22.5% 0.067 314.5)

  • #0D2200

    #0D2200

    oklch(22.5% 0.066 134.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271031

    #271031

    oklch(22.5% 0.067 314.5)

  • #191539

    #191539

    oklch(22.4% 0.067 284.6)

  • #300C23

    #300C23

    oklch(22.5% 0.067 344.5)

Open the analogous palette in the generator

Split complementary

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

  • #271031

    #271031

    oklch(22.5% 0.067 314.5)

  • #1F1D00

    #1F1D00

    oklch(22.6% 0.048 106)

  • #002316

    #002316

    oklch(22.7% 0.048 164.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271031

    #271031

    oklch(22.5% 0.067 314.5)

  • #291800

    #291800

    oklch(22.6% 0.048 74.2)

  • #002121

    #002121

    oklch(22.4% 0.038 194.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271031

    #271031

    oklch(22.5% 0.067 314.5)

  • #330F00

    #330F00

    oklch(22.5% 0.065 44.8)

  • #0D2200

    #0D2200

    oklch(22.5% 0.066 134.8)

  • #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 #271031, closest first.

Similar named colors

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

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