#330C26

Closest named color: Eggplant (#380835). oklch(23.2% 0.072 343.3), rgb(51, 12, 38).

Aa

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

About this color

#330C26 is a very dark, moderately saturated purple. In OKLCH its lightness is 23%, its chroma 0.072 and its hue 343°. Its hue sits on the warm side of the wheel. The nearest named color is Eggplant (#380835), ΔE 0.032 away. White text reads best on it, at 17.19:1.

Hue familyPurples
Lightnessvery dark (23%)
Chromamoderately saturated (0.072)
Temperaturewarm
Nearest nameEggplant (#380835)
Black text1.22:1
White text17.19:1

Values

HEX#330C26
RGBrgb(51, 12, 38)
HSLhsl(320, 62%, 12%)
OKLCHoklch(23.2% 0.072 343.3)

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 #330C26 17.19:1 AAA Lc -106.1 Preferred for body text
Black text on #330C26 1.22:1 Fails Lc 0.0 Not readable
#330C26 text on white 17.19:1 AAA Lc 103.7 Preferred for body text
#330C26 text on black 1.22: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

    #FBF3F7

    oklch(97.1% 0.01 345.4)

  2. Step 100

    100

    #F7E4EE

    oklch(93.7% 0.024 344.4)

  3. Step 200

    200

    #F1CDE1

    oklch(88.5% 0.048 343.6)

  4. Step 300

    300

    #E8ABCF

    oklch(80.9% 0.085 343)

  5. Step 400

    400

    #DA7CB6

    oklch(70.6% 0.136 343.4)

  6. Step 500

    500

    #CE56A4

    oklch(63.1% 0.175 343.4)

  7. Step 600

    600

    #B9368F

    oklch(55.6% 0.19 343.4)

  8. Step 700

    700

    #9F277A

    oklch(49.1% 0.177 343.3)

  9. Step 800

    800

    #812363

    oklch(42.7% 0.146 343.3)

  10. Step 900

    900

    #682351

    oklch(37.7% 0.114 343.1)

  11. Step 950

    950 (this color)

    #330C26

    oklch(23.2% 0.072 343.3)

Export this scale for Tailwind in the Tailwind colors tool

#330C26 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)#0F17270.079
Deuteranopia (no green cones)#1B1E250.070
Tritanopia (no blue cones)#370C170.031
Achromatopsia (no color)#1B1B1B0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #330C26

    #330C26

    oklch(23.2% 0.072 343.3)

  • #002517

    #002517

    oklch(23.4% 0.05 163.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #330C26

    #330C26

    oklch(23.2% 0.072 343.3)

  • #291135

    #291135

    oklch(23.3% 0.072 313)

  • #380A13

    #380A13

    oklch(23.2% 0.072 13.6)

Open the analogous palette in the generator

Split complementary

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

  • #330C26

    #330C26

    oklch(23.2% 0.072 343.3)

  • #102400

    #102400

    oklch(23.4% 0.066 133.4)

  • #002323

    #002323

    oklch(23.2% 0.04 194.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #330C26

    #330C26

    oklch(23.2% 0.072 343.3)

  • #221E00

    #221E00

    oklch(23.2% 0.049 102.4)

  • #00222C

    #00222C

    oklch(23.3% 0.043 221.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #330C26

    #330C26

    oklch(23.2% 0.072 343.3)

  • #2B1900

    #2B1900

    oklch(23.2% 0.049 73.3)

  • #002517

    #002517

    oklch(23.4% 0.05 163.4)

  • #001D3E

    #001D3E

    oklch(23.2% 0.073 253.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #330C26 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.