#2D0C2D

Closest named color: Eggplant (#380835). oklch(22.6% 0.074 327.7), rgb(45, 12, 45).

Aa

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

About this color

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

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

Values

HEX#2D0C2D
RGBrgb(45, 12, 45)
HSLhsl(300, 58%, 11%)
OKLCHoklch(22.6% 0.074 327.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 #2D0C2D 17.47:1 AAA Lc -106.3 Preferred for body text
Black text on #2D0C2D 1.20:1 Fails Lc 0.0 Not readable
#2D0C2D text on white 17.47:1 AAA Lc 104.0 Preferred for body text
#2D0C2D 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F3

    oklch(93.6% 0.026 327.7)

  3. Step 200

    200

    #EBCEEA

    oklch(88.4% 0.049 327)

  4. Step 300

    300

    #E0ADDE

    oklch(80.9% 0.088 327.6)

  5. Step 400

    400

    #CE7FCD

    oklch(70.6% 0.14 327.4)

  6. Step 500

    500

    #C05BBF

    oklch(63% 0.178 327.8)

  7. Step 600

    600

    #AB3DAC

    oklch(55.6% 0.194 327.4)

  8. Step 700

    700

    #932D93

    oklch(49.1% 0.181 327.9)

  9. Step 800

    800

    #772878

    oklch(42.7% 0.149 327.3)

  10. Step 900

    900

    #612660

    oklch(37.8% 0.116 328.2)

  11. Step 950

    950 (this color)

    #2D0C2D

    oklch(22.6% 0.074 327.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D0C2D 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)#08172E0.076
Deuteranopia (no green cones)#141B2C0.064
Tritanopia (no blue cones)#2F101A0.042
Achromatopsia (no color)#1A1A1A0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D0C2D

    #2D0C2D

    oklch(22.6% 0.074 327.7)

  • #002408

    #002408

    oklch(22.7% 0.066 147.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D0C2D

    #2D0C2D

    oklch(22.6% 0.074 327.7)

  • #211239

    #211239

    oklch(22.7% 0.073 298.1)

  • #35081C

    #35081C

    oklch(22.6% 0.074 357.7)

Open the analogous palette in the generator

Split complementary

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

  • #2D0C2D

    #2D0C2D

    oklch(22.6% 0.074 327.7)

  • #1A1F00

    #1A1F00

    oklch(22.6% 0.053 118)

  • #00221C

    #00221C

    oklch(22.6% 0.041 178.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D0C2D

    #2D0C2D

    oklch(22.6% 0.074 327.7)

  • #251A00

    #251A00

    oklch(22.5% 0.046 87)

  • #002125

    #002125

    oklch(22.6% 0.039 206.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D0C2D

    #2D0C2D

    oklch(22.6% 0.074 327.7)

  • #2E1400

    #2E1400

    oklch(22.5% 0.054 57.6)

  • #002408

    #002408

    oklch(22.7% 0.066 147.8)

  • #001F30

    #001F30

    oklch(22.7% 0.049 236.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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