#2F1A33

Closest named color: Eggplant (#380835). oklch(25.7% 0.054 321), rgb(47, 26, 51).

Aa

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

About this color

#2F1A33 is a dark, muted purple. In OKLCH its lightness is 26%, its chroma 0.054 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.045 away. White text reads best on it, at 15.95:1.

Hue familyPurples
Lightnessdark (26%)
Chromamuted (0.054)
Temperaturein between
Nearest nameEggplant (#380835)
Black text1.31:1
White text15.95:1

Values

HEX#2F1A33
RGBrgb(47, 26, 51)
HSLhsl(290, 32%, 15%)
OKLCHoklch(25.7% 0.054 321)

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 #2F1A33 15.95:1 AAA Lc -105.4 Preferred for body text
Black text on #2F1A33 1.31:1 Fails Lc 0.0 Not readable
#2F1A33 text on white 15.95:1 AAA Lc 102.8 Preferred for body text
#2F1A33 text on black 1.31: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

    #F8F4F9

    oklch(97.2% 0.008 319.4)

  2. Step 100

    100

    #F0E6F1

    oklch(93.6% 0.018 323)

  3. Step 200

    200

    #E4D2E8

    oklch(88.5% 0.035 320.1)

  4. Step 300

    300

    #D4B4DA

    oklch(81% 0.063 321)

  5. Step 400

    400

    #BE8BC7

    oklch(70.7% 0.102 321.3)

  6. Step 500

    500

    #AD6DB9

    oklch(63.1% 0.131 321.1)

  7. Step 600

    600

    #9854A5

    oklch(55.7% 0.141 321)

  8. Step 700

    700

    #81448D

    oklch(49.1% 0.13 320.8)

  9. Step 800

    800

    #693873

    oklch(42.7% 0.109 320.6)

  10. Step 900

    900

    #56315D

    oklch(37.8% 0.085 321.1)

  11. Step 950

    950 (this color)

    #2F1A33

    oklch(25.7% 0.054 321)

Export this scale for Tailwind in the Tailwind colors tool

#2F1A33 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)#1720340.047
Deuteranopia (no green cones)#1C23320.045
Tritanopia (no blue cones)#2F1D240.033
Achromatopsia (no color)#2222220.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F1A33

    #2F1A33

    oklch(25.7% 0.054 321)

  • #142A10

    #142A10

    oklch(25.9% 0.054 140.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F1A33

    #2F1A33

    oklch(25.7% 0.054 321)

  • #241E3B

    #241E3B

    oklch(25.7% 0.054 291.7)

  • #361727

    #361727

    oklch(25.6% 0.055 349.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F1A33

    #2F1A33

    oklch(25.7% 0.054 321)

  • #252602

    #252602

    oklch(25.9% 0.054 111.2)

  • #002B20

    #002B20

    oklch(25.7% 0.05 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F1A33

    #2F1A33

    oklch(25.7% 0.054 321)

  • #302000

    #302000

    oklch(25.7% 0.053 81.3)

  • #00292C

    #00292C

    oklch(25.6% 0.044 202.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F1A33

    #2F1A33

    oklch(25.7% 0.054 321)

  • #371B08

    #371B08

    oklch(25.7% 0.053 52.2)

  • #142A10

    #142A10

    oklch(25.9% 0.054 140.6)

  • #002738

    #002738

    oklch(25.6% 0.053 232.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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