#271243

Closest named color: Dark Purple (#35063E). oklch(24.3% 0.088 299.4), rgb(39, 18, 67).

Aa

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

About this color

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

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

Values

HEX#271243
RGBrgb(39, 18, 67)
HSLhsl(266, 58%, 17%)
OKLCHoklch(24.3% 0.088 299.4)

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 #271243 16.74:1 AAA Lc -105.9 Preferred for body text
Black text on #271243 1.25:1 Fails Lc 0.0 Not readable
#271243 text on white 16.74:1 AAA Lc 103.4 Preferred for body text
#271243 text on black 1.25: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

    #F7F4FE

    oklch(97.2% 0.014 299.8)

  2. Step 100

    100

    #ECE6FC

    oklch(93.6% 0.03 298.3)

  3. Step 200

    200

    #DED1FB

    oklch(88.4% 0.059 299.3)

  4. Step 300

    300

    #CAB2FB

    oklch(81% 0.104 299.2)

  5. Step 400

    400

    #B185F9

    oklch(70.7% 0.168 299.6)

  6. Step 500

    500

    #9F61F5

    oklch(63.2% 0.213 299.6)

  7. Step 600

    600

    #8B40E4

    oklch(55.6% 0.232 299.5)

  8. Step 700

    700

    #7630C6

    oklch(49.1% 0.216 299.4)

  9. Step 800

    800

    #602AA0

    oklch(42.7% 0.179 299.6)

  10. Step 900

    900

    #4E297F

    oklch(37.8% 0.139 299.4)

  11. Step 950

    950 (this color)

    #271243

    oklch(24.3% 0.088 299.4)

Export this scale for Tailwind in the Tailwind colors tool

#271243 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)#001E450.063
Deuteranopia (no green cones)#001D420.064
Tritanopia (no blue cones)#211D280.067
Achromatopsia (no color)#1E1E1E0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #271243

    #271243

    oklch(24.3% 0.088 299.4)

  • #1D2400

    #1D2400

    oklch(24.5% 0.058 119.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #271243

    #271243

    oklch(24.3% 0.088 299.4)

  • #101A49

    #101A49

    oklch(24.2% 0.088 269.5)

  • #350B34

    #350B34

    oklch(24.3% 0.088 328.9)

Open the analogous palette in the generator

Split complementary

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

  • #271243

    #271243

    oklch(24.3% 0.088 299.4)

  • #291E00

    #291E00

    oklch(24.2% 0.049 89.1)

  • #00280C

    #00280C

    oklch(24.2% 0.068 149.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #271243

    #271243

    oklch(24.3% 0.088 299.4)

  • #331800

    #331800

    oklch(24.3% 0.057 59.8)

  • #002721

    #002721

    oklch(24.4% 0.044 179.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #271243

    #271243

    oklch(24.3% 0.088 299.4)

  • #410604

    #410604

    oklch(24.3% 0.089 28.8)

  • #1D2400

    #1D2400

    oklch(24.5% 0.058 119.9)

  • #00252B

    #00252B

    oklch(24.2% 0.042 210.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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