#330B40

Closest named color: Dark Purple (#35063E). oklch(24.9% 0.099 316.4), rgb(51, 11, 64).

Aa

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

About this color

#330B40 is a very dark, moderately saturated purple. In OKLCH its lightness is 25%, its chroma 0.099 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Purple (#35063E), ΔE 0.010 away. White text reads best on it, at 16.63:1.

Hue familyPurples
Lightnessvery dark (25%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameDark Purple (#35063E)
Black text1.26:1
White text16.63:1

Values

HEX#330B40
RGBrgb(51, 11, 64)
HSLhsl(285, 71%, 15%)
OKLCHoklch(24.9% 0.099 316.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 #330B40 16.63:1 AAA Lc -105.6 Preferred for body text
Black text on #330B40 1.26:1 Fails Lc 0.0 Not readable
#330B40 text on white 16.63:1 AAA Lc 103.0 Preferred for body text
#330B40 text on black 1.26: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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3FA

    oklch(93.5% 0.035 315.7)

  3. Step 200

    200

    #EBCCF7

    oklch(88.5% 0.067 316.5)

  4. Step 300

    300

    #DFA9F4

    oklch(81% 0.118 316.3)

  5. Step 400

    400

    #CE76EE

    oklch(70.8% 0.188 316.4)

  6. Step 500

    500

    #C048E7

    oklch(63.1% 0.24 316.6)

  7. Step 600

    600

    #AB16D5

    oklch(55.5% 0.261 316.4)

  8. Step 700

    700

    #9300B8

    oklch(49.2% 0.24 316.6)

  9. Step 800

    800

    #770B96

    oklch(42.6% 0.201 316.1)

  10. Step 900

    900

    #601977

    oklch(37.6% 0.156 316.2)

  11. Step 950

    950 (this color)

    #330B40

    oklch(24.9% 0.099 316.4)

Export this scale for Tailwind in the Tailwind colors tool

#330B40 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)#001C410.093
Deuteranopia (no green cones)#0B1F3F0.084
Tritanopia (no blue cones)#3216240.064
Achromatopsia (no color)#1E1E1E0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #330B40

    #330B40

    oklch(24.9% 0.099 316.4)

  • #0E2900

    #0E2900

    oklch(25% 0.075 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #330B40

    #330B40

    oklch(24.9% 0.099 316.4)

  • #20144D

    #20144D

    oklch(24.8% 0.099 286.3)

  • #3F032B

    #3F032B

    oklch(24.8% 0.099 345.9)

Open the analogous palette in the generator

Split complementary

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

  • #330B40

    #330B40

    oklch(24.9% 0.099 316.4)

  • #252300

    #252300

    oklch(25% 0.054 106.5)

  • #00291C

    #00291C

    oklch(24.9% 0.051 166.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #330B40

    #330B40

    oklch(24.9% 0.099 316.4)

  • #2F1D00

    #2F1D00

    oklch(24.8% 0.052 76.2)

  • #002728

    #002728

    oklch(24.7% 0.042 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #330B40

    #330B40

    oklch(24.9% 0.099 316.4)

  • #3B1400

    #3B1400

    oklch(24.9% 0.069 46.6)

  • #0E2900

    #0E2900

    oklch(25% 0.075 136.5)

  • #002633

    #002633

    oklch(25% 0.048 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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