#2F0A31

Closest named color: Eggplant (#380835). oklch(22.9% 0.083 325.7), rgb(47, 10, 49).

Aa

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

About this color

#2F0A31 is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.083 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.022 away. White text reads best on it, at 17.37:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.20:1
White text17.37:1

Values

HEX#2F0A31
RGBrgb(47, 10, 49)
HSLhsl(297, 66%, 12%)
OKLCHoklch(22.9% 0.083 325.7)

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 #2F0A31 17.37:1 AAA Lc -106.2 Preferred for body text
Black text on #2F0A31 1.20:1 Fails Lc 0.0 Not readable
#2F0A31 text on white 17.37:1 AAA Lc 103.8 Preferred for body text
#2F0A31 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F4E4F4

    oklch(93.6% 0.027 325.8)

  3. Step 200

    200

    #EDCDED

    oklch(88.5% 0.055 326)

  4. Step 300

    300

    #E2ABE3

    oklch(81% 0.098 325.9)

  5. Step 400

    400

    #D17BD5

    oklch(70.7% 0.157 325.5)

  6. Step 500

    500

    #C454C9

    oklch(63.2% 0.2 325.9)

  7. Step 600

    600

    #AF31B6

    oklch(55.6% 0.218 325.7)

  8. Step 700

    700

    #96219C

    oklch(49.1% 0.202 325.9)

  9. Step 800

    800

    #7A1F7F

    oklch(42.7% 0.168 325.7)

  10. Step 900

    900

    #622166

    oklch(37.6% 0.13 325.4)

  11. Step 950

    950 (this color)

    #2F0A31

    oklch(22.9% 0.083 325.7)

Export this scale for Tailwind in the Tailwind colors tool

#2F0A31 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)#0417320.086
Deuteranopia (no green cones)#121C300.073
Tritanopia (no blue cones)#30101C0.047
Achromatopsia (no color)#1A1A1A0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F0A31

    #2F0A31

    oklch(22.9% 0.083 325.7)

  • #002505

    #002505

    oklch(23% 0.071 145.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F0A31

    #2F0A31

    oklch(22.9% 0.083 325.7)

  • #21113E

    #21113E

    oklch(22.9% 0.082 295.6)

  • #38051E

    #38051E

    oklch(22.9% 0.083 356)

Open the analogous palette in the generator

Split complementary

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

  • #2F0A31

    #2F0A31

    oklch(22.9% 0.083 325.7)

  • #1C1F00

    #1C1F00

    oklch(22.8% 0.052 114.8)

  • #00231C

    #00231C

    oklch(22.9% 0.043 176.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F0A31

    #2F0A31

    oklch(22.9% 0.083 325.7)

  • #271B00

    #271B00

    oklch(23.1% 0.047 85.6)

  • #002226

    #002226

    oklch(23% 0.039 206.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F0A31

    #2F0A31

    oklch(22.9% 0.083 325.7)

  • #301400

    #301400

    oklch(22.9% 0.056 55.4)

  • #002505

    #002505

    oklch(23% 0.071 145.6)

  • #002030

    #002030

    oklch(23% 0.048 234.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F0A31 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.