#270421

Closest named color: Very Dark Purple (#2A0134). oklch(19.4% 0.073 335.6), rgb(39, 4, 33).

Aa

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

About this color

#270421 is a very dark, moderately saturated purple. In OKLCH its lightness is 19%, its chroma 0.073 and its hue 336°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Purple (#2A0134), ΔE 0.039 away. White text reads best on it, at 18.65:1.

Hue familyPurples
Lightnessvery dark (19%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameVery Dark Purple (#2A0134)
Black text1.12:1
White text18.65:1

Values

HEX#270421
RGBrgb(39, 4, 33)
HSLhsl(310, 81%, 8%)
OKLCHoklch(19.4% 0.073 335.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 #270421 18.65:1 AAA Lc -106.9 Preferred for body text
Black text on #270421 1.12:1 Fails Lc 0.0 Not readable
#270421 text on white 18.65:1 AAA Lc 104.8 Preferred for body text
#270421 text on black 1.12: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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4F0

    oklch(93.6% 0.024 336.1)

  3. Step 200

    200

    #EECEE6

    oklch(88.5% 0.048 334.8)

  4. Step 300

    300

    #E5ACD6

    oklch(81% 0.086 336.1)

  5. Step 400

    400

    #D57DC2

    oklch(70.7% 0.139 335.4)

  6. Step 500

    500

    #C858B2

    oklch(63.1% 0.177 335.7)

  7. Step 600

    600

    #B3399E

    oklch(55.6% 0.192 335.5)

  8. Step 700

    700

    #992A87

    oklch(49% 0.178 335.3)

  9. Step 800

    800

    #7D256D

    oklch(42.7% 0.147 336)

  10. Step 900

    900

    #652459

    oklch(37.7% 0.116 335.5)

  11. Step 950

    950 (this color)

    #270421

    oklch(19.4% 0.073 335.6)

Export this scale for Tailwind in the Tailwind colors tool

#270421 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)#040F220.080
Deuteranopia (no green cones)#1014200.067
Tritanopia (no blue cones)#2A06110.037
Achromatopsia (no color)#1313130.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #270421

    #270421

    oklch(19.4% 0.073 335.6)

  • #001B0B

    #001B0B

    oklch(19.5% 0.048 155.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #270421

    #270421

    oklch(19.4% 0.073 335.6)

  • #1D082E

    #1D082E

    oklch(19.4% 0.074 306)

  • #2D0210

    #2D0210

    oklch(19.5% 0.072 5.7)

Open the analogous palette in the generator

Split complementary

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

  • #270421

    #270421

    oklch(19.4% 0.073 335.6)

  • #0F1800

    #0F1800

    oklch(19.3% 0.049 125.8)

  • #001A17

    #001A17

    oklch(19.6% 0.035 184.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #270421

    #270421

    oklch(19.4% 0.073 335.6)

  • #1A1400

    #1A1400

    oklch(19.3% 0.04 95.2)

  • #00181E

    #00181E

    oklch(19.3% 0.034 215.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #270421

    #270421

    oklch(19.4% 0.073 335.6)

  • #221000

    #221000

    oklch(19.5% 0.044 65.1)

  • #001B0B

    #001B0B

    oklch(19.5% 0.048 155.3)

  • #001629

    #001629

    oklch(19.4% 0.049 245.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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