#271943

Closest named color: Dark Purple (#35063E). oklch(25.6% 0.076 295.9), rgb(39, 25, 67).

Aa

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

About this color

#271943 is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.076 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.049 away. White text reads best on it, at 16.07:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.076)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.30:1
White text16.07:1

Values

HEX#271943
RGBrgb(39, 25, 67)
HSLhsl(260, 46%, 18%)
OKLCHoklch(25.6% 0.076 295.9)

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 #271943 16.07:1 AAA Lc -105.4 Preferred for body text
Black text on #271943 1.30:1 Fails Lc 0.0 Not readable
#271943 text on white 16.07:1 AAA Lc 102.9 Preferred for body text
#271943 text on black 1.30: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DBD3F7

    oklch(88.5% 0.05 295.5)

  4. Step 300

    300

    #C5B5F5

    oklch(80.9% 0.091 295.8)

  5. Step 400

    400

    #A98CF0

    oklch(70.7% 0.145 295.8)

  6. Step 500

    500

    #956BEB

    oklch(63% 0.186 295.7)

  7. Step 600

    600

    #814FD9

    oklch(55.6% 0.201 295.8)

  8. Step 700

    700

    #6D3EBC

    oklch(49% 0.187 295.8)

  9. Step 800

    800

    #593598

    oklch(42.8% 0.154 295.9)

  10. Step 900

    900

    #492F79

    oklch(37.7% 0.121 296.3)

  11. Step 950

    950 (this color)

    #271943

    oklch(25.6% 0.076 295.9)

Export this scale for Tailwind in the Tailwind colors tool

#271943 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)#0621440.051
Deuteranopia (no green cones)#0A21420.048
Tritanopia (no blue cones)#20222B0.061
Achromatopsia (no color)#2121210.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #271943

    #271943

    oklch(25.6% 0.076 295.9)

  • #222600

    #222600

    oklch(25.6% 0.058 115.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271943

    #271943

    oklch(25.6% 0.076 295.9)

  • #112047

    #112047

    oklch(25.6% 0.076 265.5)

  • #351336

    #351336

    oklch(25.6% 0.076 326.4)

Open the analogous palette in the generator

Split complementary

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

  • #271943

    #271943

    oklch(25.6% 0.076 295.9)

  • #2E2100

    #2E2100

    oklch(25.6% 0.052 86.9)

  • #012C09

    #012C09

    oklch(25.6% 0.076 146.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271943

    #271943

    oklch(25.6% 0.076 295.9)

  • #391900

    #391900

    oklch(25.5% 0.063 55.5)

  • #002A22

    #002A22

    oklch(25.5% 0.047 176.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271943

    #271943

    oklch(25.6% 0.076 295.9)

  • #41100E

    #41100E

    oklch(25.7% 0.076 26.3)

  • #222600

    #222600

    oklch(25.6% 0.058 115.6)

  • #00292D

    #00292D

    oklch(25.6% 0.044 204.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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