#2F0F30

Closest named color: Eggplant (#380835). oklch(23.6% 0.073 326.4), rgb(47, 15, 48).

Aa

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

About this color

#2F0F30 is a very dark, moderately saturated purple. In OKLCH its lightness is 24%, its chroma 0.073 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.025 away. White text reads best on it, at 17.04:1.

Hue familyPurples
Lightnessvery dark (24%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.23:1
White text17.04:1

Values

HEX#2F0F30
RGBrgb(47, 15, 48)
HSLhsl(298, 52%, 12%)
OKLCHoklch(23.6% 0.073 326.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 #2F0F30 17.04:1 AAA Lc -106.1 Preferred for body text
Black text on #2F0F30 1.23:1 Fails Lc 0.0 Not readable
#2F0F30 text on white 17.04:1 AAA Lc 103.7 Preferred for body text
#2F0F30 text on black 1.23: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

    #F3E4F3

    oklch(93.5% 0.026 325.8)

  3. Step 200

    200

    #EBCFEA

    oklch(88.6% 0.047 327.1)

  4. Step 300

    300

    #DFADDE

    oklch(80.8% 0.087 327)

  5. Step 400

    400

    #CD80CE

    oklch(70.7% 0.139 326.5)

  6. Step 500

    500

    #BE5DC1

    oklch(63.1% 0.176 326.3)

  7. Step 600

    600

    #A93EAD

    oklch(55.5% 0.192 326.3)

  8. Step 700

    700

    #912F95

    oklch(49.1% 0.179 326.2)

  9. Step 800

    800

    #762979

    oklch(42.8% 0.148 326.2)

  10. Step 900

    900

    #5F2761

    oklch(37.7% 0.114 326.2)

  11. Step 950

    950 (this color)

    #2F0F30

    oklch(23.6% 0.073 326.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F0F30 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)#0B19310.073
Deuteranopia (no green cones)#161D2F0.062
Tritanopia (no blue cones)#30131D0.042
Achromatopsia (no color)#1C1C1C0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F0F30

    #2F0F30

    oklch(23.6% 0.073 326.4)

  • #002607

    #002607

    oklch(23.4% 0.07 146.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F0F30

    #2F0F30

    oklch(23.6% 0.073 326.4)

  • #22153C

    #22153C

    oklch(23.6% 0.072 295.8)

  • #370B1F

    #370B1F

    oklch(23.5% 0.073 356.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F0F30

    #2F0F30

    oklch(23.6% 0.073 326.4)

  • #1D2100

    #1D2100

    oklch(23.5% 0.054 116.2)

  • #00251E

    #00251E

    oklch(23.6% 0.044 177)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F0F30

    #2F0F30

    oklch(23.6% 0.073 326.4)

  • #281C00

    #281C00

    oklch(23.5% 0.048 86.2)

  • #002328

    #002328

    oklch(23.4% 0.04 208.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F0F30

    #2F0F30

    oklch(23.6% 0.073 326.4)

  • #321600

    #321600

    oklch(23.7% 0.057 57.1)

  • #002607

    #002607

    oklch(23.4% 0.07 146.7)

  • #002133

    #002133

    oklch(23.5% 0.051 237.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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